(Peter Zaitsev) One of the big “Selling Points” of MySQL is support for Multiple Storage engines, and from the glance view it is indeed great to provide users with same top level SQL interface allowing them to store their data many different way. As nice as it sounds the in theory this benefit comes
Tag: Open Source
On hot backups
(Domas Mituzas) Few years ago I was looking at crash recovery code, and realized that InnoDB has removed all the comments from the code, related to replay of transaction log. Judging by high quality of comments in the remaining codebase, I realized that it was all done to obscure any efforts to buil
MAX and MIN on a composite index
(Quassnoi) Ivo Radev asks: I am trying to make a very simple query.
Debugging problems with row based replication
(Justin Swanhart) MySQL 5.1 introduces row based binary logging. In fact, the default binary logging format in GA versions of MySQL 5.1 is ‘MIXED’ STATEMENT*; The binlog_format variable can still be changed per sessions which means it is possible that some of your binary log entries will be writ
Two quick performance tips with MySQL 5.1 partitions
(Giuseppe Maxia) While I was researching for my partitions tutorial, I came across two hidden problems, which may happen often, but are somehow difficult to detect and even more difficult to fix, unless you know what’s going on, and why. I presented both cases during my tutorial, but there were no p
Checking for a live database connection considered harmful
(Baron Schwartz) It is very common for me to look at a customer’s database and notice a lot of overhead from checking whether a database connection is active before sending a query to it. This comes from the following design pattern, written in pseudo-code:
MySQL Stored procedure to Generate-Extract Insert Statement
(Kedar) A lot of places I saw people asking for ways to generate Insert statements.
How many rows in a view ?
(Gary Myers) It depends on the order of the tables in the FROM clause….sometimes.
MySQL Open Source Backup and Recovery Alternative: Xtrabackup
(Chris Schneider) MySQL database administrators are always looking for a solid backup and recovery tool that will suit all their needs. Xtrabackup, created by Percona, is the open source alternative to the commercial Innodb Hot Backup tool. This article explains a good methodology for testing and ve
MySQL: The maximum value of an integer
(Roland Bouman) Did you ever have the need to find the maximum value of an integer in MySQL? Yeah, me neither. Anyway, some people seem to need this, and this is what I came up with:
