Skip to main content

All Questions

Tagged with
20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
1k views

AWS Aurora Database Corruption

I'm running Aurora Postgres and noticed that metric Maximum Used Transaction IDs is increasing a lot. Trying to manually vacuum the tables that's was not automatically vacuumed lead me to the ...
regisxp's user avatar
  • 131
2 votes
0 answers
619 views

Why is this DELETE causing my Aurora MySQL 5.7 instance to crash?

I have a large table (2.3TB of data, 1.9TB index, 33 billion rows). A user recently executed a DELETE statement (32k rows) against the table, which caused the server to eat up all memory and then fail ...
Swechsler's user avatar
  • 143
1 vote
0 answers
237 views

Aurora RDS - difference between ConnectionAttempts and DatabaseConnections

So I have read this a few times about these two metrics: ConnectionAttempts and DatabaseConnections. Based on the above, is RDS rejecting lots of connections? Here are the graphs of these two metrics. ...
Abs's user avatar
  • 11
1 vote
0 answers
170 views

Ways to reduce latency in importing data from csv files into MySQL Workbench when connected to an RDS MySQL db Instance

This question is a follow-up to this question I asked on Stack Overflow yesterday after answering my own question by creating a Aurora MySQL db Instance and establishing a connection between it and ...
Marlen's user avatar
  • 227
1 vote
0 answers
97 views

How to encrypt a production unencrypted RDS Aurora MySQL 8 cluster

I have a running RDS Aurora MySQL 8.0.23 cluster running in production. The database is unencrypted and I need to enable encryption for it. As far as I understand, this is not possible to do directly. ...
revy's user avatar
  • 111
1 vote
0 answers
146 views

Assign privileges to a postgres user

I am working on creating a postgres user and assign certain privileges to the user. These are privileges to execute certain functions with the end goal of being able to replicate data or change-data-...
Abhi's user avatar
  • 111
1 vote
0 answers
952 views

Does the "max vCPU" limit only apply to the "CPU" wait state?

In the Average Active Sessions chart of Performance Insights for Aurora MySQL 8, there is a horizontal Max vCPU (at 16, in my case). Now I wonder if this limit applies only to the CPU wait state (...
Evgeniy Berezovsky's user avatar
1 vote
2 answers
610 views

Automating MySQL replication using snapshots on AWS RDS (or Linux)

I'm currently working on a BASH script to build a new Aurora cluster based on the latest snapshot of an existing cluster, then set up MySQL replication from the old one to the new. In the past I've ...
Swechsler's user avatar
  • 143
1 vote
1 answer
712 views

How to clear AWS RDS Aurora MySQL local storage?

I got a warning message about running out of AWS RDS local storage. The free storage capacity for DB Instance: {MY INSTANCE NAME} is low at 2% of the provisioned storage [Provisioned Storage: 157.36 ...
BingbongKim's user avatar
1 vote
0 answers
2k views

AWS Lambda to RDS PostgreSQL connection

Hello fellow AWS contributors, I’m currently working on a project to set up an example of connecting a Lambda function to our PostgreSQL database hosted on RDS. I tested my Python + SQL code locally (...
Allen Yang's user avatar
1 vote
0 answers
329 views

Does AWS Aurora MySQL not support encrypted binary log replication with RDS MySQL master?

Trying to setup replication between an RDS MySQL (5.6) master with an Aurora MySQL (also 5.6) replica cluster in the same region via binary log replication for a work project. However, this doesn't ...
OceanMountains's user avatar
1 vote
1 answer
1k views

mysql/aurora not immediately seeing results of committed transactions

In a system running against an AWS aurora-mysql database, the following (obviously extremely simplified) code runs. It's a highly concurrent system, multiple threads, multiple connections to db. The ...
Inukshuk's user avatar
  • 111
1 vote
0 answers
766 views

Predicting AWS RDS MySQL Instance Performance

I have a small MySQL db running on AWS RDS t2.small instance. So far, the CPU usage has been very predictable based on the traffic from my app. Example: 1000 concurrent users = 15% CPU 2000 ...
WayBehind's user avatar
  • 111
0 votes
0 answers
46 views

How can I find what's eating so much space in Postgres in AWS RDS Aurora?

Essentially when I run SELECT pg_size_pretty(SUM(pg_total_relation_size(relid))) as total_size, pg_size_pretty(SUM(pg_indexes_size(relid))) as index_size, pg_size_pretty(SUM(pg_relation_size(...
Christian Saiki's user avatar
0 votes
0 answers
117 views

database "template0" is not currently accepting connections

i got the following error database "template0" is not currently accepting connections How to vaccum it? Thanks UPDATE i got the following yesterday postgres=> select * from public.test; ...
BAE's user avatar
  • 259
0 votes
1 answer
675 views

Index maintenance on pg_catalog tables in AWS RDS

I have had some bad historical usage on my Aurora PostgreSQL instance. Namely, connections that create a lot of temporary objects and some very long running transactions (which limits autovacuum). Now ...
Paul Draper's user avatar
0 votes
0 answers
102 views

Is it possible to use check_user_proxy on AWS RDS?

My top-level goal is to enable two-user (zero-downtime) secret rotation for RDS users. To recap/summarize the approach, you always have two accounts in your DB that have equivalent access. You switch ...
Campadrenalin's user avatar
0 votes
1 answer
175 views

Why is there a writable instance inside a secondary region for MySQL AWS Aurora Replica?

I have created two Aurora MySQL clusters with two nodes in two regions using terraform. The secondary region is set up to replicate from primary region using binlog. This seems to be set up correctly, ...
Almad's user avatar
  • 101
0 votes
1 answer
1k views

Why a query takes too long in statistics thread state in AWS Aurora MySQL?

The following query execution too long in statistics state and I couldn't figure out why. DB engine - 5.7.mysql_aurora.2.07.2 DB Size - db.r5.4xlarge Sample Query Profile output +----------------------...
Vithulan's user avatar
  • 101
0 votes
0 answers
384 views

High constant CPU on Aurora/RDS

I've noticed recently that our resting CPU on our Aurora RDS cluster appears to be about 80%. I'm unsure when this started, as we don't have alarms/metrics in place (something I plan to rectify now). ...
Andrew White's user avatar