Amazon RDS for MySQL FAQs
General
Open allWhich versions of MySQL does Amazon RDS support?
How does Amazon RDS distinguish between "major" and "minor" version releases?
MySQL version = X.Y.Z
X = Major version, Y = Release level, Z = Version number within release series.
From the Amazon RDS standpoint, a version change would be considered major if either major version or release level is being changed. Example: going from 5.6.X -> 5.7.X.
A version change would be considered minor if the version number within the release is being changed. Example: going from 5.6.27 -> 5.6.29.
Does Amazon RDS provide guidelines for upgrading engine versions or deprecation of engine versions that are currently supported?
What storage engines does Amazon RDS for MySQL (Preview) support?
What privileges are granted to the primary user for an RDS for MySQL DB instance?
Which storage engines are supported for use with RDS for MySQL Read Replicas?
Can I configure the replication between my source RDS for MySQL DB Instance and a Read Replica to use row-based replication?
Amazon Blue/Green Deployments FAQs
Open allWhat versions do Amazon RDS Blue/Green Deployments support?
What Regions do Amazon RDS Blue/Green Deployments support?
What kind of changes can I make with Amazon RDS Blue/Green Deployments?
When should I use Amazon RDS Blue/Green Deployments?
What is the cost of using Amazon RDS Blue/Green Deployments?
For example: You have an RDS for MySQL 5.7 database running on two r5.2xlarge db.instances, a primary database instance and a read replica, in us-east-1 AWS Region with a Multi-AZ (MAZ) configuration. Each of the r5.2xlarge db.instance is configured for 20 GiB General Purpose Amazon Elastic Block Store (Amazon EBS). You create a clone of the blue instance topology using Amazon RDS Blue/Green Deployments, run it for 15 days (360 hours), and then delete the blue instances after a successful switchover. The blue instances cost $1,387 for 15 days at an on-demand rate of $1.926/hr (Instance + EBS cost). The total cost to you for using Blue/Green Deployments for those 15 days is $2,774, which is 2x the cost of running blue instances for that time period.
What kind of changes can I make with Amazon RDS Blue/Green Deployments?
What is the "blue environment" in Amazon RDS Blue/Green Deployments? What is the "green environment"?
How do switchovers work with Amazon RDS Blue/Green Deployments?
Can I use Blue/Green Deployments when I have a blue environment as a subscriber/publisher for a self-managed logical replica?
After Amazon RDS Blue/Green Deployments switches over, what happens to my old production environment?
What do Amazon RDS Blue/Green Deployments switchover guardrails check for?
Do Amazon RDS Blue/Green Deployments support Amazon RDS Proxy, cross-Region read replicas, or cascaded read replicas?
Can I use Amazon RDS Blue/Green Deployments to rollback changes?
Amazon RDS Optimized Writes FAQs
Open allHow does Amazon RDS Optimized Writes write data files differently than MySQL?
Which RDS for MySQL database versions support Amazon RDS Optimized Writes?
Which database instance types support Amazon RDS Optimized Writes? In what Regions are they available?
Amazon RDS Optimized Writes are available in db.r6i and db.r5b instances. They are available in all Regions where these instances are available.
When should I use Amazon RDS Optimized Writes?
All RDS for MySQL users should implement Amazon RDS Optimized Writes for up to 2x improved write transaction throughput. Applications with write-heavy workloads, such as digital payments, financial trading, and online gaming applications will find this feature especially helpful.
Are Amazon RDS Optimized Writes supported on Amazon Aurora MySQL-Compatible Edition?
Can customers convert their existing Amazon RDS databases to use Amazon RDS Optimized Writes?
How much are Amazon RDS Optimized Writes?
Amazon RDS Optimized Reads FAQs
Open allHow does Amazon RDS Optimized Reads speed up query performance?
Workloads that use temporary objects in MySQL for query processing benefit from Amazon RDS Optimized Reads. Optimized Reads place temporary objects on the database instance's NVMe-based instance storage, instead of the Amazon EBS volume. This helps to speed up complex query processing by up to 50%.
Which RDS for MySQL database versions support Amazon RDS Optimized Reads?
Which database instance types support Amazon RDS Optimized Reads? In what Regions is it available?
When should I use Amazon RDS Optimized Reads?
Can customers convert their existing Amazon RDS databases to use Amazon RDS Optimized Reads?
Zero-ETL integration with Amazon Redshift FAQs
Open allWhen should I use the Amazon RDS for MySQL zero-ETL integration with Amazon Redshift?
What versions of RDS for MySQL and which AWS Regions support zero-ETL integration?
What benefits do zero-ETL integrations provide?
What is the cost of using RDS for MySQL zero-ETL integration with Amazon Redshift?
You pay for RDS for MySQL and Amazon Redshift resources used to create and process the change data created as part of a zero-ETL integration. These resources include Amazon RDS snapshot export costs to seed and resynchronize your Amazon Redshift data warehouses, change data capture (CDC) data transfer costs for ongoing replication of data changes from source to target, regular RDS I/O and storage used to process change data, and regular Amazon Redshift storage and compute costs for the replicated data. For more information, see the RDS for MySQL pricing page.
For example: You have an RDS for MySQL 8.0.32 database and an Amazon Redshift data warehouse running in the US East (N. Virginia) Region. This RDS for MySQL DB instance currently uses 50 GB of General Purpose SSD (gp3) storage capacity that includes provisioned baseline IOPS, has automated backups enabled, and has MySQL binary logging turned on.
When you create a zero-ETL integration with Amazon Redshift for your RDS for MySQL DB instance, a snapshot of the data (50 GB) is created and exported to seed an Amazon Redshift data warehouse. The next day, you change the primary key of a table in your RDS for MySQL DB instance, which results in a resynchronization of the snapshot export to Amazon Redshift. Over the course of 30 days, the database processes 5 GB of data changes.
In this example, the cost to use RDS for MySQL zero-ETL integration with Amazon Redshift in US East (N. Virginia) in the 30 days is 50 GB x ($0.10/GB) initial export plus 50 GB x ($0.10/GB) resynchronization costs plus 5 GB x ($2.00/GB) CDC data transfer, for a total of $20.00. In addition to these costs for the zero-ETL integration, you are responsible for charges from the normal use of Amazon RDS and Amazon Redshift to process the replicated data, such as I/O, storage, and compute costs.
Can I use an Amazon RDS Read Replica to create an RDS for MySQL zero-ETL integration with Amazon Redshift?
Does zero-ETL integration support AWS CloudFormation?
How does zero-ETL integration handle transactions? Are they atomically committed when replicated?
Here are some key points about the atomicity of transactions with this integration:
- Only committed transactions in RDS for MySQL are replicated to Amazon Redshift. Uncommitted or rolled-back transactions are not applied.
- The integration uses a two-phase commit process to atomically apply each transaction to Amazon Redshift. Either all data changes in the transaction are applied or if an error occurs none are applied.
- Transaction consistency is maintained between the source and target. After replication, the data for a given transaction will be consistent in both RDS for MySQL and Amazon Redshift.
- Schema changes through DDL or DML are also atomically applied to maintain integrity.
- The atomic application of transactions ensures no partial transactions or inconsistent data states can occur between the databases.
In what order are the changes I make on RDS for MySQL replicated in Amazon Redshift?
How are schema changes handled with zero-ETL integration?
Here are some key points on how schema changes are handled:
- DDL statements like CREATE TABLE, ALTER TABLE, DROP TABLE, and so on are automatically replicated from RDS for MySQL to Amazon Redshift.
- The integration makes the necessary checks and adjustments in Amazon Redshift tables for replicated schema changes. For example, adding a column in RDS for MySQL will add the column in Amazon Redshift.
- The replication and schema sync automatically happen in near real-time with minimal lag between source and target databases.
- Schema consistency is maintained even as DML changes occur in parallel to DDL changes.