Next gen app providers (and perhaps more specifically, database architects) are clamoring for database technologies that just work. At least, that’s the message we got from one of our newest customers: Mozilla. Earlier this month, we caught up with Sheeri Cabral, database architect at Mozilla and and overall MySQL rock star, to get the down-and-dirty on why [...] Read More
Time flies and MySQL Connect is only 10 days away!
You can check out the full program here as well as in the September edition of the MySQL newsletter.
Mat recently blogged about the MySQL Cluster sessions you’ll have the opportunity to attend, and below are those focused on InnoDB. Remember you can plan your schedule with …
[Read more]The principal source of information for InnoDB diagnostics is the output of SHOW ENGINE INNODB STATUS but there are some sections that are not very useful. For example, LATEST DETECTED DEADLOCK only shows, as the name implies, the latest error detected. If you have 100 deadlocks per minute you will be able to see only the latest one and that is not very helpful when you are debugging your application code. Continuing my series of blog posts about Percona Toolkit, in this case I’m going to talk about pt-deadlock-logger.
pt-deadlock-logger
The tool is very simple and useful. It monitors the output of SHOW ENGINE INNODB STATUS and log the new deadlocks to a file or to a table that we can later review. Let’s see how it works with an example.
…
[Read more]High availability is about more than just making sure that applications can get to your data, even if there is a failure:
How about when you are upgrading your database schema What if you need to add memory to a database server or reconfigure/restart MySQL If your apps want to read data from a MySQL slave, how can you be sure they are not reading stale data without re-coding your apps What
There has been some interesting discussion on-line recently about how to handle database (meaning MySQL, but really it applies to other systems too) failover. The discussion that I’ve followed so far, in order, is:
- GitHub’s report on their automated failover and downtime issues
- Baron’s follow-up to that, Is automated failover the root of all evil? which generated a bit of discussion in the comments
- Peter’s follow-up to both, The Math of Automated Failover which heads in the direction I was going when I realized I might want to toss my 2 cents into the mix …
When I sent a proposal for session "Managing and Troubleshooting MySQL for Oracle
DBAs" to MySQL Connect conference org committee it had not
any mention of Oracle in its name, but later I was asked to
provide more details for former Oracle DBAs who want to use
MySQL. I was fast and I said "yes".
So my original aim to teach people to troubleshoot MySQL changed
to teaching of how different is MySQL from Oracle in
troubleshooting aspects. Although both RDBMs have very much in
common they are definitely very different. So what I am going to
speak about this time is nuances of how MySQL stores data, how it
manages locks, why its high availability solutions: MySQL Cluster
and Replication have same names as Oracle's, but work differently
and more. And, of …
There are number of people recently blogging about MySQL automated failover, based on production incident which GitHub disclosed.
Here is my take on it. When we look at systems providing high availability we can identify 2 cases of system breaking down. First is when the system itself has a bug or limitations which does not allow it to take the right decision. Second is the configuration issue – which can be hardware configuration such as redundant network paths, STONITH, as well as things like various timeouts to know the difference between just transient errors or performance problem and real problem.
To be truly …
[Read more]Almost every business process or decision includes a WHERE!
Like IP addresses encode the destination of a domain name, with a geographic information system (GIS) you can encode and analyze the location data allowing you to reveal relationships, patterns, and trends.
Weather Decision Technologies
Show embedded map in full-screen mode
The world of GIS is confusing. Here is my understanding of how the peaces go together and how you can get started.
We describe locations on the earth in terms of Latitude and Longitude. LatLng(35.22248, -97.44135). There’s a third, Altitude. GIS describes more then LatLng “point data”, it can also describe …
[Read more]
I was asked from a few people about my opinion of the Github's
recent service outage. As a creator of MHA, I have lots of MySQL failover
experiences.
Here are my points about failover design. Most of them duplicate
with Robert's points.
- "Too Many Connections" is not a reason to start automated
failover
- Do not repeat failover
I know some unsuccessful failover stories that "1. failover
happens because master is unreachable (getting too many
connections errors) due to heavy loads 2. failover happens again
because the new master is unreachable due to heavy loads 3.
failover happens again....". On database servers, newly …
Managing Multiple MySQL Servers From One phpMyAdmin Installation (Using SSL Encryption)
This tutorial explains how you can manage multiple MySQL servers from one phpMyAdmin installation. For security reasons, communication between phpMyAdmin and any remote MySQL server is using SSL encryption (this is not necessary for a local MySQL server since communication between phpMyAdmin and MySQL is not leaving the server). phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL.