(Ronald Bradford) This seems quite a trivial question, but developers don’t often know what a MySQL storage engine is and how to determine what storage engine is used for a table.
Tag: Open Source
On user variables evaluation order
(Shlomi Noach) There is something very unclear about what is defined and is undefined with regard to the order by which user variables are evaluated, even within the MySQL documentation itself.
Monitoring MySQL – The error log
(Ronald Bradford) It is important that you monitor the MySQL error log. There are a few different options available for defining the details of the log. If not specified the default is [datadir]/[hostname].err. This is not an ideal location for 2 reasons.
MySQL: Another Ranking trick
(Roland Bouman) I just read SQL: Ranking without self join, in which Shlomi Noach shares a nice MySQL-specific trick based on user-defined variables to compute rankings.
Partitioning with non integer values using triggers
(Giuseppe Maxia) Looking at Bug#47310, which is a feature request that I hear frequently when I talk about partitions, I wrote a comment, suggesting triggers to work around the limitation.
A fun use of SUBSTRING_INDEX and friends in MySQL
(Baron Schwartz) I used to develop with MySQL, and those were the golden days. These days I don’t write queries so much. But yesterday I needed to answer this question: are there any issues in our issue-tracking system that meet the following criteria?
Queries Active vs Transactions Active
(Peter Zaitsev) What is wrong here (the part of SHOW INNODB STATUS):
Explain this
(Ronald Bradford) The EXPLAIN command is an important tool to review how a SQL query is executed and in this example includes what indexes are used.
Statistics of InnoDB tables and indexes available in xtrabackup
(Vadim) If you ever wondered how big is that or another index in InnoDB … you had to calculate it yourself by multiplying size of row (which I should add is harder in the case of a VARCHAR – since you need to estimate average length) on count of records. And it still would be quite inaccurate as s
SQL: Ranking without self join
(Shlomi Noach) The common way of solving the classic SQL problem of ranking, involves a self join. I wish to present a different solution, which only iterates the table once, and provides the same output.
