(Rob Gravelle) Although there is no direct support for dynamic declaration of column and table names in MySQL stored procedures, by utilizing user variables and prepared statements we can achieve the same result. In the MySQL Input Parameters Add Flexibility to Crosstab Stored Procedures article, we
Tag: Open Source
Fixing MySQL group commit (part 3)
(Kristian Nielsen) This is the third and final article in a series about group commit in MySQL. The first article discussed the background: group commit in MySQL does not work when the binary log is enabled. The second article explained the part of the InnoDB code that is responsible for the problem
Import fixed width data into PostgreSQL with just PSQL
(Leo Hsu and Regina Obe) Fixed width data is probably the most annoying data to import because you need some mechanism to break the columns at the column boundaries. A lot of people bring this kind of data into a tool such as OpenOffice, Excel or MS Access, massage it into a delimeted format and the
Fixing MySQL group commit (part 2)
(Kristian Nielsen) This is the second in a series of three articles about ideas for implementing full support for group commit in MariaDB. The first article discussed the background: group commit in MySQL does not work when the binary log is enabled.
How fast is FLUSH TABLES WITH READ LOCK?
(Baron Schwartz) A week or so ago at the MySQL conference, I visited one of the backup vendors in the Expo Hall. I started to chat with them about their MySQL backup product. One of the representatives told me that their backup product uses FLUSH TABLES WITH READ LOCK, which he admitted takes a glob
Fixing MySQL group commit (part 1)
(Kristian Nielsen) This is the first in a series of three articles about ideas for implementing full support for group commit in MariaDB (for the other parts see the second and third articles). Group commit is an important optimisation for databases that helps mitigate the latency of physically writ
Database schema under version control
(Shlomi Noach) How many organization use version control for development? Probably almost every single one.
Choosing the right data type makes a big difference
(Venu Anuganti) Today evening one of my friend asked me in the IM to look into one of his production server where a query was taking ~11 seconds to run on 20 million row table, even though the query is using the right index and the plan as shown below:
Restoring XML-formatted MySQL dumps
(Roland Bouman) The mysqldump program can be used to make logical database backups. Although the vast majority of people use it to create SQL dumps, it is possible to dump both schema structure and data in XML format. There are a few bugs (#52792, #52793) in this feature, but these are not the topic
Tuning your Cluster with ndbinfo (7.1) part 1 of X
(Johan Andersson) The new ndbinfo interface in 7.1 is really useful to assist in tuning MySQL Cluster. Here is an example (more will follow):
