Database | Amazon RDS for MySQL Flashcards

1
Q

Which versions of MySQL does Amazon RDS support?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

Amazon RDS for MySQL currently supports MySQL Community Edition versions 5.5, 5.6 and 5.7. Information about supported minor versions is available in the Amazon RDS User Guide.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does Amazon RDS distinguish between “major” and “minor” version releases?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

In the context of MySQL, version numbers are organized as follows:

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Does Amazon RDS provide guidelines for upgrading engine versions or deprecation of engine versions that are currently supported?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

Yes. Please refer to the Amazon RDS FAQs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What storage engines does Amazon RDS for MySQL support?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

The Point-In-Time-Restore and Snapshot Restore features of Amazon RDS for MySQL require a crash-recoverable storage engine and are supported for InnoDB storage engine only. While MySQL supports multiple storage engines with varying capabilities, not all of them are optimized for crash recovery and data durability. For example, MyISAM storage engine does not support reliable crash recovery and may result in lost or corrupt data when MySQL is restarted after a crash, preventing Point-In-Time-Restore or Snapshot restore from working as intended. However, if you still choose to use MyISAM with Amazon RDS, following these steps may be helpful in certain scenarios for DB snapshot restore functionality.

Federated Storage Engine is currently not supported by Amazon RDS for MySQL.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What privileges are granted to the master user for an RDS MySQL DB instance?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

When you create a new DB instance, the default master user that you use gets certain privileges. See Master User Account Privileges in the Amazon RDS User Guide for a list of the privileges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which versions of Amazon RDS for MySQL supports Read Replicas?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

DB Instances with MySQL version 5.5 or newer support creation of Read Replicas. Cross-region Read Replicas are supported on MySQL 5.6 and later. Automatic backups are supported only for Amazon RDS Read Replicas running MySQL 5.6 and later.

Automatic backups must be and remain enabled on the source DB Instance for Read Replica operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which storage engines are supported for use with Amazon RDS for MySQL Read Replicas?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

Amazon RDS for MySQL Read Replicas require a transactional storage engine and are only supported for the InnoDB storage engine. Non-transactional MySQL storage engines such as MyISAM might prevent Read Replicas from working as intended. However, if you still choose to use MyISAM with Read Replicas, we advise you to watch the Amazon CloudWatch “Replica Lag” metric (available via the AWS Management Console or Amazon CloudWatch APIs) carefully and recreate the Read Replica should it fall behind due to replication errors. The same considerations apply to the use of temporary tables and any other non-transactional engines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Can I configure the replication between my source Amazon RDS for MySQL DB Instance and a Read Replica to use row-based replication?

Amazon RDS for MySQL

Amazon RDS for MySQL | Database

A

You can set the binary logging format to row-based, for MySQL version 5.6 and later. By default, replication is set to mixed-format (which includes both row-based and statement-based replication) which should meet the requirements of most use cases. The MySQL documentation offers more information about the difference between mixed-format and row-based replication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly