(Andrew Morgan) MySQL Fabric is a new framework that adds High Availability (HA) and/or scaling-out for MySQL.
Tag: Open Source
Capture MySQL Foreign Keys
(Michael McLaughlin) Shantanu asked a follow-up question on my Cleanup a MySQL Schema post from last month. He wanted to know if there was a way to capture foreign keys before removing them. The answer is yes, but how you do it depends on whether the primary key is based on a surrogate key using an
Importing XML Data into MySQL Tables Using a Stored Procedure
(Rob Gravelle) In theory, it would seem that a stored procedure would be the perfect vehicle for importing XML data from a file. In practice, there are several mitigating factors to doing so. For starters, the LOAD XML INFILE and LOAD DATA INFILE statements have not been permitted to run within a S
Tools and tips for analysis of MySQL’s Slow Query Log
(Muhammad Irfan) MySQL has a nice feature, slow query log, which allows you to log all queries that exceed a predefined about of time to execute. Peter Zaitsev first wrote about this back in 2006 – there have been a few other posts here on the MySQL Performance Blog since then (check this and this,
ps_helper and its migration to sys
(Mark Leith) MySQL’s Performance Schema is an incredibly rich and versatile instrumentation engine, but apparently, with great power, comes increased complexity for the user to understand up front.
Configuring MySQL to use minimal memory
(Morgan Tocker) I’ve been experimenting with MySQL Fabric – the official tool in development to provide HA and sharding. Part of this experimentation has meant that I have been running 7 copies of the MySQL Server on my laptop at once, which can consume a lot of memory 🙂
The early MySQL Fabric sharding support for PHP
(Ulf Wendel) The MySQL Fabric framework brings two major features: automatic client- and server-side failover and sharding. The manual hints, you need a “Fabric aware driver” for this but it does not list one for PHP. First, you don’t necessarily need new drivers!
Tiny happy features in MySQL
(Noel Herrick) I love it when software gives you elegant ways of solving your problem. Programming language designers make me feel like they care when they take the time to include succinct, powerful expressions. I’ve recently discovered some in new things in MySQL, as well as a few rediscoveries. T
Many-table joins in MySQL 5.6
(Stephane Combaudon) I recently worked on an uncommon slow query: less than 100 rows were read and returned, the whole dataset was fitting in memory but the query took several seconds to run. Long story short: the query was a join involving 21 tables, running on MySQL 5.1. But by default MySQL 5.1 i
The ‘once and for all’ SHOW SLAVE STATUS log files & positions explained
(Shlomi Noach) True, GTID is upon us whether via MySQL 5.6 or Tungsten Replicator (and wasn’t it in Google Patches since 2009?).
