Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

Amazon Aurora RDS - invalid undo record

Context Aurora RDS, MySQL 8.0.mysql_aurora.3.05.2 Problem The writer instance is constantly cycling. In the AWS RDS console, under Logs & events for the writer, I see Attempting to restart the ...
Tyler Sebastian's user avatar
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
0 votes
1 answer
436 views

Creating a multi-region active-passive DR plan for Aurora MySQL?

I'm trying to create a disaster recovery plan for a cost efficient, maintainable and with little down for Aurora MySQL. I want two read/write databases in two different regions, they can be separate ...
CKT's user avatar
  • 101
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
3 votes
2 answers
4k views

What's the advantage of sharding in AWS Aurora?

AWS' RDS docs on multi-master Aurora state the following: In an Aurora multi-master cluster, each shard is managed by a specific DB instance, and a DB instance can be responsible for multiple shards. ...
rinogo's user avatar
  • 447
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
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
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
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
2 votes
4 answers
2k views

Migrating MySQL 8.0.20 database to AWS Aurora

I originally posted this question on stack overflow as I did not know this service existed and someone suggested I may get a better answer here. I was trying to use the AWS RDS Proxy service and ...
WK123's user avatar
  • 121
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
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