MySQL replication performance is a topic that requires no special
introduction. Replication was never designed to be extremely fast
and there isn't a single MySQL DBA who wouldn't learn it the hard
way.
Today, with the improvements introduced in MySQL 5.7, as well as
a complete re-implementation done by Amazon Aurora, it seems like
we can finally see the light at the end of this very long
tunnel.
Let's take both products for a spin and see how they behave.
Introduction Before we get busy with the benchmarks, let's
quickly explain why MySQL 5.7 and Amazon Aurora are so special. I
wouldn't spend a weekend testing them if they weren't, right?
MySQL MySQL 5.7 finally uses multi-threaded slave (MTS)
implementation that makes sense. Long story short: instead of
doing poor man's multithreading that requires you to split your
data into multiple schemas (and doesn't guarantee consistency for
cross-schema modifications), it can simply replay …
Amazon EBS volumes come with a very cool feature called "lazy
loading". In a nutshell: if a volume is created from an existing
snapshot, it can become available almost immediately without
waiting for all data to be restored. This allows for extremely
fast provisioning of large data sets as long as you don't
explicitly require the entire data set to be present before you
start using it.
When an EBS volume is restored from snapshot, its blocks are
fetched from Amazon S3. It happens either lazily in the
background or explicitly on demand (think of a pagefault-like
mechanism) and of course, fetching pieces of data from Amazon S3
is going to be one-two orders of magnitude slower than reading
blocks directly from a volume.
In this short article, I will try to give you an idea of how this
may impact the crash recovery time of your MySQL databases. Why
talk about this? Depending on the workload and data set layout,
crash recovery of a MySQL …
MariaDB Connector/J has evolved a lot during the year. In this post I will talk about the failover capabilities in the connector and give some guidance on how to use them in some certain cases. One other important new feature that I’ll cover in a later article is the fact that MariaDB Connector/J can do […]
The post MariaDB Connector/J failover support – case Amazon Aurora appeared first on MariaDB.org.
AWS CloudFormation now supports Amazon Aurora!
Announcement: https://forums.aws.amazon.com/ann.jspa?annID=3286
Documentation:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html
Amazon Aurora is a MySQL-compatible, relational database engine that combines the speed and availability of high-end commercial databases with the simplicity and cost-effectiveness of open source databases. https://aws.amazon.com/rds/aurora/
AWS CloudFormation gives developers and systems administrators an easy way to create and manage a collection of related AWS resources, provisioning and updating them in an orderly and …
[Read more]