Questions tagged [aws]

Amazon Web Services.

Filter by
Sorted by
Tagged with
0
votes
0answers
4 views

Deploying schema changes to AWS RDS hosted Databases

With a database hosted in AWS's RDS, the database is only accessible externally if publicly accessible is set to true and the relevant ingress rules are configured to allow connection from a known ...
1
vote
1answer
21 views

AWS MySQL RDS: Swap Usage but high Freeable memory

We have an AWS RDS with a MySQL database. Buffer Pool size is only 144GB out of the total available 244GB RAM. However, even at such a low RAM config, we see Swap Usage happening. Does anyone have any ...
0
votes
0answers
12 views

SQL Server Always On in EC2\AWS - Add new replicas how to?

Can someone please answer on this. we have 2 node WFC with AG group + listener listed to secondary IPs in AWS. one replica in AZ1, another in AZ2. Now due to perf issues the users added two more nodes....
0
votes
0answers
20 views

Mismatched Identifiers in query for columns with same name but different casing

AWS has a service called Config that allows you to use SQL-like syntax to query your resources. For whatever reason, they changed a field that used to be called dnsname to dNSName when going from v1 ...
-1
votes
1answer
34 views

Problem with mysql/data folder is too big and took the whole place

for the first time I am faced with such a problem that has puzzled everyone. I have all hosting busy (AWS lightsail) 78GB and after a few analyzes I realized that 90% of the memory is occupied in the ...
0
votes
1answer
20 views

Percona xtradb cluster 5.7 solution on AWS and on premise. Not all nodes are connected to

We have 3 nodes cluster. 2 in virginia and 1 in ohio. The cluster is working fine we do not have any issues. But nothing pop out when we started doing extensive monitoring using datadog. It shows that ...
0
votes
0answers
29 views

SQL Server Availability Groups and CDC

I have a simple SQL Server 2014 Availability Group, one database on a two-node cluster. We need to use CDC to move data to another environment, in my case AWS. This is a super-critical OLTP very large ...
0
votes
0answers
6 views

Getting (InvalidInputException) when calling the UpdateRelationalDatabaseParameters operation through the awscli

I am trying to increase the value of max_connections of my MySQL DB on my Lightsail account. To do so, I am connecting through ssh using the awscli. Unfortunately, I receive an error when I type the ...
0
votes
0answers
20 views

Why does my Amazon RDS Postgres server CTE Scan takes much longer than on my local docker postgres server

I just got put on a project to move the local database to AWS RDS. The Queries work great on the local database, but they are extremely slow on amazon RDS. The execution plan is slightly different as ...
-2
votes
1answer
19 views

What are good options for cloud storage of audit data? (written continuously, rarely queried) [closed]

Cross-post from StackOverflow as I expect it may get closed there because S.O is so nitpicky... https://stackoverflow.com/questions/63432484/what-are-good-options-for-cloud-storage-of-audit-data-...
0
votes
1answer
35 views

Why are my postgres logical replication workers crashing after syncing a certain amount of data?

I am trying to setup a logical replication between two postgresql 12 DBs run in Docker containers on AWS ECS. I gave the task 2 vCPU and 6 GB of ram so quite luxurious for a DB with ~1e7 rows in two ...
0
votes
0answers
18 views

Does CREATE INDEX on Aurora MySQL 5.6 block INSERT / UPDATE?

I want to add a secondary index to a table on AWS Aurora MySQL engine 5.6.10a in production. The MySQL doc says for an index create like this: CREATE INDEX name ON table (col_list); The table remains ...
1
vote
0answers
24 views

Is it bad practice to leave the master database at a lower compatibility level after an in-place upgrade? [duplicate]

Based on this documentation, Microsoft intentionally leaves the master database at the previous compatibility level after an in-place upgrade. I recently performed an in-place upgrade from 2012 to ...
3
votes
0answers
62 views

RDS MSSQL in-place upgrade how to update master db compatibility level when rdsa account is db owner

Background My workplace infrastructure team ran a typical in-place upgrade of an RDS MSSQL instance to update the version from 2012 to 2017. After the upgrade, while logged in as the "master ...
0
votes
0answers
17 views

Password validation in AWS RDS Postgres database

Is there way we can check/set password validation for PostgreSQL RDS database? like in MySQL we have password validation plugin. How long password should be/password expiration date etc. I have ...
0
votes
0answers
7 views

Scalling Down AWS RDS

I have a instance in my AWS RDS running SQL Server, setting up with 16 TB (this is the maximum accepted by AWS), I'd like to change this size to 2TB. Have anyone some idea how can I do it? AWS console ...
0
votes
0answers
38 views

Replication external Master to RDS Slave: Connection issue

I am trying to set up replication between my external database (master) to an AWS RDS database (slave). Both are MySQL 5.6. Please don't mark this as a duplicate. I know others have asked a similar ...
0
votes
0answers
17 views

Snowflake/S3 Pipeline: ETL architecture Questions

I am trying to build a pipeline which is sending data from Snowflake to S3 and then from S3 back into Snowflake (after running it through a production ML model on Sagemaker). I am new to Data ...
0
votes
0answers
10 views

How to modify the block size of my S3 parquet files that are being queried in Athena?

I read that adjusting the block size of the parquet files being queried with Athena can affect and possibly improve the performance of the queries. My parquet files for my database are currently ...
1
vote
1answer
51 views

AWS iops vs disk iops?

Recently devops guy from our company told me that our local mysql stage environment are much faster than aws, because local disk has 10k iops, but our aws rds has only 500 iops. As far as I ...
1
vote
0answers
17 views

Storing Analytic Data for Multi-Tenet SaaS with AWS Aurora [closed]

I have an app that a user can upload an excel sheet of analytics data to S3. I am wanting to trigger a Lambda function on upload to do some data processing and then write the analytics to a client's ...
-1
votes
1answer
37 views

What value to set for MAX and MIN memory of SQL Server hosted on Bare Metal [duplicate]

Within AWS, Many of our Database servers are being migrated from EC2 Instance to Bare Metal. (Correct me, If I am wrong) In Bare metal, there are two memory limits available for the VM hosted on Bare ...
0
votes
1answer
32 views

AWS RDS MySQL some time get slow performance when update table1 set field='any word' where primarykey=1234

Normally when update table1 set field='any word' where primarykey=1234 take 1sec. or less but sometimes random take much more time possible 500sec. or more. I was set very well and never see high CPU,...
0
votes
1answer
27 views

Storage problem with MYSQL read replica

I have one master RDS instance of 50 GB storage and created a read replica of the master DB with the same configuration. I use this read replica only for SELECT operations nothing else. But suddenly ...
0
votes
0answers
29 views

Unable to connect to postgresql EC2 instance from VPN

I have an EC2 instance of timescaledb running on AWS. For security purposes, my team members and I are using OpenVPN so that we have access to it and the same IP address has been defined in the ...
0
votes
1answer
26 views

High write IOPS on MySQL instance

I posted this first in the aws forums before i learned that there's a stackoverflow for DBs but i would ask this here as well. We recently took over management of a wordpress site using a MySQL DB ...
0
votes
0answers
57 views

MySQL 5.6 - Can I disable SSL for a single user

Server version: 5.6.21-70.1-log Linux SSL Keys ssl-ca=/etc/mysql-ssl/ca-cert.pem ssl-cert=/etc/mysql-ssl/server-cert.pem ssl-key=/etc/mysql-ssl/server-key.pem skip-name-resolve skip-external-locking ...
0
votes
1answer
106 views

What is the difference between Aurora Mysql 5.7.x and Aurora 2.x.x

I have an RDS instance with Aurora Mysql 5.7.12 and I noticed that there are other versions of Aurora Mysql 5.7, but I don't understand what is the difference between them. Some of the version ...
0
votes
0answers
4 views

In AWS how to migrate “Microsoft Windows Server 2016” instance to “Microsoft Windows Server 2016 with SQL Server 2017 Standard” AMI

Currently I have "Microsoft Windows Server 2016" instance running in AWS where I have installed evaluation version of SQL server 2017. Now I want to move this server along with SQL database to "...
0
votes
0answers
17 views

AWS RDS Fine Grained Access Control using IAM Authentication

Is it possible to limit a users access to specific 'databases' within an RDS DB cluster using IAM authentication? Looking at this documentation I can't see any obvious Conditions that would allow ...
0
votes
1answer
116 views

Mongo slow startup after upgrade to 4.2.5

I have upgraded the MongoDB replica set, which consists of 3 members, from 4.0.11 to 4.2.5. After upgrading, startup lasts about 5 minutes. Before upgrading it was instant. It is related to ...
1
vote
1answer
34 views

Speed up AWS PostgreSQL insertion via Python script

I have 120,000 csv inside my AWS EC2 instance, each containing 120,000 rows. I can't insert each of them as is into my AWS RDS postgresql DB, that will be 120,000^2 = 14,400,000,000 records. Each csv ...
1
vote
1answer
821 views

AWS RDS responds with (Got an error reading communication packets). Works locally

I've been on this issue for a couple of days now, I will cover things I've tried at the end. So I'm running a NodeJS server from a GitHub repo using netlify-lamda. I am connecting to an Amazon RDS (...
0
votes
0answers
19 views

MYSQL query working fine in AWS RDS instances with 1 vCPU but hangs if running in instances with 2 vCPU or more

I have this following SQL query below executed in a Lambda function. The Lambda function connected to AWS RDS running MySQL 5.7.22. When this query is executed against an instance type db.t2.small ...
0
votes
1answer
25 views

Error when restoring Postgres Database on RDS

I am following this to restore an externally backed up Postgres DB onto my RDS instance - https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL.Procedural.Importing.html However, when I ...
0
votes
0answers
14 views

Redash metadata DB migrate

I am using Redash v5.0.0 and PostgreSQL for metadata in an EC2 instance. I can create Redash v8.x container on ECS and PostgreSQL on RDS, however how can I migrate metadata in EC2 for Redash v5 to RDS ...
0
votes
0answers
14 views

Error while doing the AWS Community-AMI installation of MariaDB ColumnStore 1.1.3

On AWS I've used a CentOS based community AMI for mariadb-columnstore-1.1.3. I've created 1 UM (User Module) and 3 PMs (Performance Module viz PM1, PM2 and PM3) spot instances and assigned ...
0
votes
2answers
92 views

PostgreSQL slow query log entries contain no query details, only duration

I have a PostgreSQL RDS instance hosted in AWS. I have set the log_min_duration_statement setting to 1 second. When checking my log for slow queries I found the following six entries which don't ...
0
votes
0answers
15 views

Correct inbound rules for PostgreSQl on RDS and EBS instance

I'm very new to AWS and its security policies. I've two similar projects which contain a postgreSQl database on RDS and an EC2 instance of node js each. The problem is every now and then the PGadmin(...
0
votes
0answers
53 views

Moving SyBase to AWS Database as a Service

We have several existing Sybase ASE and IQ v16 installation on-premise that are not accessible via the internet. These databases have stored procedures. What's the best way to migrate these databases ...
0
votes
1answer
482 views

I get this error: 8/40 PLS-00364: loop index variable 'I' use is invalid

When I execute this stored procedure: create or replace procedure "delete-archive" is begin for i in (select * from table(RDSADMIN.RDS_FILE_UTIL.LISTDIR('DATA_PUMP_DIR')) where FILENAME like '...
0
votes
1answer
31 views

Add AWS EC2 instance to existing Availability Group

I currently have an AG with 2 replicas both running SQL Server 2016. These are both located on premise. I was looking to add a third node using a AWS EC2 instance and asynchronous replication. ...
0
votes
0answers
16 views

Error Creating File DSN for MS SQL on AWS

I have a contained MS SQL database on Amazon AWS and it has contained users. Using SSMS, I can connect to the contained database by using the contained user's credentials. I'm trying to create a ...
0
votes
1answer
35 views

Is it possible to spin up a free development / test instance of an AWS Redshift server to run test queries on?

I have a traditional MS SQL Server background and am interested in looking into AWS Redshift. Microsoft offers a free download of their development version installer of SQL Server, and I was wondering ...
0
votes
0answers
246 views

AWS DocumentDB vs MongoDB performance issue

I am helping to support a Node.js application which uses MongoDB on an EC2 instance as the back end. The database is about 14 GB and the largest table has a little over 15 million documents. To test, ...
0
votes
0answers
475 views

Access or modify tnsnames.ora on AWS Oracle RDS

I have an Oracle RDS instance running on AWS and I need to access the tnsnames.ora file and check its configuration since I am getting this error Caused by: oracle.net.ns.NetException: Listener ...
0
votes
1answer
25 views

Prevent failure in conditional insert in mysql database

The infrastructure of our system looks like this. An AWS lambda function receives requests such as (accountId, .....). It creates an entry in the MySQL database using a newly generated UUID as caseId....
0
votes
0answers
13 views

What can I do to diagnose where data inaccuracies in my ElasticSearch stack on AWS are coming from?

Context I'm running an ElasticSearch stack on AWS. Data flows as follows: Web client (user's browser) AWS API endpoint AWS Firehose AWS Kinesis AWS Lambda (transforms the data) AWS ElasticSearch My ...
1
vote
1answer
49 views

SQL Server linked server from on premises to SQL Server instance on Windows in Amazon EC2

I am trying to create a SQL Server linked server from on premises to SQL Server instance on Windows in Amazon EC2 (2 different domains) and getting: Login timeout expired. I am using sa account ...
1
vote
0answers
13 views

How to calcuate current IOPS consumed in AWS

We have a SQL Server hosted on AWS using EC2 and EBS. SQL Files are hosted on EBS. EBS vol type is GP2 and drive IOPS is 480. At an instance of time Write Througput in AWS is showing is 725 and Read ...

1
2 3 4 5
8