Questions tagged [aws]

Amazon Web Services.

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

Same query taking different execution times on equivalent RDS instances

The train table has around 60million records all of which have their updated_at timestamp in the year 2021. The schema of the table is as below. Table "public.train" ...
0
votes
0answers
7 views

Does it make sense to separate records in a document DB (e.g. DynamoDB) for better query performance?

I've recently started working with DynamoDB, and most of my experience is in traditional data warehousing (e.g. sql server). One common pattern which I saw when working with SQL server was that we ...
0
votes
1answer
8 views

how to mongorestore mongoDB 4.2 to documentDB 4.0?

I need to do mongorestore from my mongodb 4.2 to DocumenDb 4.0 compatible i got the command from aws which is this mongorestore --ssl --host="abc.aws.com:27017" --username=user --password=...
1
vote
0answers
42 views

SQL Always on Availability Groups Direct Seeding

Setting up a new SQL cluster and HA using SQL Availability Groups. SQL 2019 STD 2 Node Multi Subnet Basic AG Primary Node AWS Secondary Node VMWare on premise I am using the newer Automatic Seeding ...
2
votes
1answer
16 views

QuasarDB cluster stuck in IOWAIT on AWS EC2 instances

I am experiencing a system freeze in IOWAIT on my QuasarDB cluster. I am continuously ingesting data at 10 GBit/s using the QuasarDB batch API. After a couple of hours, I have all the qdb threads in ...
0
votes
0answers
10 views

Querying for multiple values when an error message is present in AWS Timestream

I am using AWS Timestream so the DB structure is a bit different than normal but effectively it fairly similar to a normal structure. What I need to do: When an error message of a certain type (Ie ...
0
votes
0answers
10 views

AWS RDS Database not in a VPC, no SSL

If an AWS EC2 Server is connecting to an AWS RDS Database, but the database + server are not part of a VPC, and there is no SSL setup on the database... Does that mean the data is being sent over HTTP ...
0
votes
1answer
15 views

Keeping postgres connection behind load balancer alive during long-running query (vacuum)

Background: I have a postgres instance behind a load balancer (AWS Classic Load Balancer). I want to access the database from another cluster through the load balancer and run queries. I cannot change ...
1
vote
0answers
22 views

Seeding new data daily in an ever changing database

I've been working with a data team that imports data from suppliers daily into a MySQL DB. The data from the supplier needs to be worked on by them and formatted properly before we can use it in ...
-2
votes
2answers
59 views

Cost of reading and sorting 10GB table at cloud providers [closed]

Say I have a 10 GB table and I need to read it and then sort it by some column. How much does such an operation cost at cloud providers, say AWS or Azure if the pricing is variable? I just need a very ...
-1
votes
1answer
44 views

How to checkdb automatically in AWS RDS?

I'm pretty new to Amazon AWS and RDS. I have migrated my SQL Database to RDS and I have it up and running. I'm now looking to automate maintenance tasks. Anyone with experience with RDS can help me ...
0
votes
1answer
8 views

Can I create another database on AWS read replica?

I am creating an MariaDB instance using AWS RDS I will also be creating a read replica of the DBinstance, what I also need is to host another DB on the replica, is it possible?
0
votes
0answers
7 views

Is an AWS RDS postgres snapshot read consistent - the same as a consistent export in oracle? What happens to transactions in play?

When a snapshot is requested, do all transactions in play get held open (not committed) during the duration of the snapshot creation - only writing the previously committed data to the snapshot?
2
votes
2answers
196 views

MySQL - Can I have quick queries in a table with 200 million rows?

THE PROBLEM I have following trivial SELECT statement: select * from `web_notifications` where `user_id` = 123456 order by `created_at` limit 500; The query is pretty simple (no join statements, no ...
0
votes
1answer
26 views

RDS Postgres chicken-and-egg problem altering roles

I just created an RDS Postgres instance, the user postgres (and it's master password), and connected via psql as user postgres. Then I ran the script generated from the current system using pg_dumpall ...
1
vote
1answer
16 views

What are the risks of upgrading DB major version in replica and then promoting it as master?

Recently AWS decided to force update all MariaDB RDS under 10.3, my RDS is in MariaDB 10.1. We are trying to minimize the downtime and any risk of data out of sync. Our plan is to create a replica and ...
0
votes
0answers
19 views

restoring sinnge PostgreSQL DB on RDS- AWS

AWS doesn’t make it quite simple to restore just one DB on a RDS. I came up with below plans for DR and would like to know your feedback. • Our current RDS-T has D1, D2, D3 and D4 postgresql ...
0
votes
0answers
21 views

What could cause a slow DB connection between AWS and Azure?

Currently we are running with a piece of middleware and our SQL server in AWS. We are looking to move to Azure SQL managed instance. But I am experiencing severely increased insert times when using ...
0
votes
1answer
22 views

How to enable Cloud Watch logs for AWS DMS task?

I am creating AWS DMS task for migrating data from GCP SQL server to AWS Aurora MySQL. How can I attach log group which I created? I could able to enable cloud watch logs for the task but when I click ...
0
votes
1answer
67 views

How to ensure backups are successfully persisted to S3 when using Ola Hallengren solution on AWS EC2 Instances

Improving Existing Backup Approach By Using Ola Hallengren Backup Solution Deploying a new backup approach to eliminate dependency on a vendor tool (Cloudberry) that I've leveraged before. In my ...
0
votes
1answer
38 views

My Galera Cluster does not connect across AWS regions

I am building a MariaDB Galera Cluster, on AWS, EC2. Using MariaDB 10.5 and Galera 4. I have two nodes in the California region, named galera_ca and galera_ca2, and a third node in Oregon name ...
0
votes
0answers
19 views

Design and implement role based access control in DynamoDB

I am learning DynamoDB and trying to implement role-based access control in DynamoDB. Access control is a huge part of the application. ERD looks something like this: A little explanation: Groups ...
0
votes
1answer
33 views

AWS Aurora Mysql different instance types for writer/reader

I have a db.r5.large for the master/writer. I want to add some readers. Do they need to be the same instance type as the master? Or can i add for example 3x db.t3.medium ?
0
votes
1answer
89 views

How to setup continuous DB replication from on-prem MS SQL server to PostgreSQL on AWS RDS without reconfiguring source machine?

I am looking for a way to set up continuous data replication between an on-prem Microsoft SQL Server to AWS RDS PostgreSQL. The source table is updated once every 24 hours. The challenge here is that ...
0
votes
0answers
64 views

How to backup a postgresql db to export on AWS lightsail

I want to take a backup from my postgresql db which I use for my Django project. I'm using ubuntu 18.04 and want to import it in AWS lightsail. I read pgadmin docs on how to take a backup with a ...
0
votes
0answers
20 views

Unable to connect to AWS RDS Instance

This is the connectivity info: And this is the configuration: Public connection is allowed, vpc acl inbound: What am I missing? Edit: when I try to connect I get an error as if the endpoint is ...
1
vote
0answers
599 views

DBeaver connection via SSH tunnel

Using DBeaver, I'm trying to connect to my AWS ec2 instance where I've installed a MariaDB database. I've created a new connection as: Connection: AWS / Maria DB Server Host: localhost (because I'm ...
0
votes
2answers
151 views

SQL Server RDS Database Restore from S3 stuck in Restore Mode

Summary: We are doing a restore of a SQL Server database from S3 on an RDS Instance. And all though the job will say the restore is complete when we go to access the database it's stuck in "...
0
votes
0answers
19 views

Can Redshift process CTE / with chains without making interim tables?

If you are careful about structuring a CTE chain, is Redshift capable of analyzing it and determining that interim results are being used in a linear fashion? If so, it could drop any interim tables ...
0
votes
0answers
21 views

SQL Server HA Design (FCI) - Windows Storage Replication - Test-SRTopology - Physical Memory Error - AWS EC2

I'm trying to set up AlwaysOn Failover Cluster Instance (Not Availability Groups) on 2 VMs(each on different AWS Availability Zone) in AWS-EC2 instances. To make this happen, I've to set up Windows ...
0
votes
0answers
53 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 ...
2
votes
1answer
348 views

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
18 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
22 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
90 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
34 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
38 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
20 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
40 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
22 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
781 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
332 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
122 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
168 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
8 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
196 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
1answer
67 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 ...
1
vote
0answers
95 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
75 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
2 3 4 5
9