(Patrick Galbraith) The information schema in MySQL is a great tool for obtaining just about any type of meta-data about your MySQL server. It is a schema consisting of views that provide just about any information you would want to know about your MySQL installation. For instance, you can find out
Tag: Open Source
How to force PostgreSQL to use a pre-calculated value
(Leo Hsu and Regina Obe) This question is one that has come up a number of times in PostGIS newsgroups worded in many different ways. The situation is that if you use a function a number of times not changing the arguments that go into the function, PostgreSQL still insists on recalculating the valu
InnoDB lock timeout before query execution
(Arjen Lentz) I found this yesterday while tracking down a locking issue for a client. They had a connection time out on a lock, but before it times out, SHOW PROCESSLIST had the status ‘statistics’ so it wasn’t actually executing the query yet. So, what was it doing and why did it time out there?
How to decrease InnoDB shutdown times
(Baron Schwartz) Sometimes a MySQL server running InnoDB takes a long time to shut down. The usual culprit is flushing dirty pages from the buffer pool. These are pages that have been modified in memory, but not on disk.
Developing Database Applications Using MySQL Connector/C++
(Giri Mandalika) This tutorial will show you the essential steps to build and install MySQL Connector/C++ driver, with simple examples to connect, insert, and retrieve data from a MySQL database. Because the focus is on database connectivity from a C++ application, this document assumes that some ki
Don’t forget the spatial extensions
(Anders Karlsson) MySQL does have spatial extensions, and I plan to do some more writing on these in the near future. This is the first blogpost on the subject. The spatial extensions in MySQL looks like what they do in most other databases in terms of overall functionality, but the current implemen
Multi-source replication with MySQL Cluster
(Johan Andersson) With MySQL Cluster it is possible to aggregate data from many MySQL Servers using Replication. Here is how.
The depth of an index: primer
(Shlomi Noach) InnoDB and MyISAM use B+ and B trees for indexes (InnoDB also has internal hash index).
What wrong with SQL_MODE?
(Anders Karlsson) Let me tell you what I think is wrong, oh so wrong, with SQL_MODE. And there has been numerous debates and ideas around this for a long time, and many comments on how this really should work. So I assume that you are now all waiting for my very opinionated opinion. And the problem
Master-master replication and crash recovery
(Mark Callaghan) The slave SQL thread executes binlog events from the relay log to keep a slave in sync with the master. Prior to row-based replication, binlog events were SQL statements. The slave SQL thread records its state in the relay-log.info file. The state includes the file offset of the nex
