By popular request, here’s the PDF of the slides of this talk as presented in January 2011 in brisbane; it’s fairly self-explanatory. Note that it’s not really extensive “tuning”, it just fixes up a few things that are usually “wrong” in default installs, creating a more sane baseline. If you want to get to optimal [...]
Filed under: Conferences by arjen on Thursday, June 16, 2011 | Social tagging: drupal > DrupalDownUnder > mariadb > mysql > slides > tuning
No Comments »
Some of you already know since you helped us move, we recently shifted Open Query’s main office to Fifth Avenue, next door to Elizabeth’s. The new place is comfortable, I really like it so far. Anna is also happy with her new admin space and cat Figaro has found an empty spot on a bookshelf [...]
Filed under: Uncategorized by arjen on Friday, April 1, 2011 | Social tagging: mariadb > mysql
No Comments »
As a big fan of new technology, we try to keep up to date with what’s happening in the industry. As such, I decided to start using drizzle on my development machine since they announced GA this week. First exercise: import a file dumped from a MySQL server I don’t have access to into drizzle. [...]
Filed under: Software and tools by Walter Heck on Thursday, March 17, 2011 | Social tagging: drizzle > mysql
3 Comments »
The following quirky dynamic SQL will scan each index of each table so that they’re loaded into the key_buffer (MyISAM) or innodb_buffer_pool (InnoDB). If you also use the PBXT engine which does have a row cache but no clustered primary key, you could also incorporate some full table scans. To make mysqld execute this on [...]
Filed under: Uncategorized by arjen on Wednesday, December 1, 2010 | Social tagging: cache > failover > init-file > mariadb > master > mysql > preload > replication > slave
2 Comments »
A catchy headline, and I believe more accurate than Oracle Puts the Squeeze on SMBs with MySQL Price Hike (Network World) and MySQL price hikes reveal depth of Oracle’s wallet love [MySQL Jacking up MySQL Prices] (The Register). Slightly more realistic is Oracle kills low-priced MySQL support (again The Register). First, let’s review what Oracle [...]
Filed under: Uncategorized by arjen on Friday, November 5, 2010 | Social tagging: enterprise > enterprise basic > enterprise silver > gpl > mariadb > mysql > oracle > service > support > upstarta
6 Comments »
Open Query now has its own @openquery account on Twitter and Identi.ca so you can conveniently follow us there for announcements and tips – and also ask us questions! All OQ engineers can post/reply. The OQ site front page also tracks this feed. Previously I was posting from my personal @arjenlentz account with #openquery hashtag, [...]
Filed under: Uncategorized by arjen on Friday, August 27, 2010 | Social tagging: feed > follow > identica > mariadb > mysql > Open Query > twitter
No Comments »
You take a look at someone’s MySQL (or MariaDB) data directory, and see mysql foo bar -> foo What’s the issue? Identify pattern. What does it mean? Consequences. Is there any way it can be safe and useful/usable? Describe. Good luck!
Filed under: Good practice / Bad practice by arjen on Monday, August 2, 2010 | Social tagging: database > datadir > mariadb > mysql > symbolic link > symlink
3 Comments »
This blag was originally posted at http://cafuego.net/2010/05/26/fast-paging-real-world Some time ago I attended the “Optimisation by Design” course from Open Query¹. In it, Arjen teaches how writing better queries and schemas can make your database access much faster (and more reliable). One such way of optimising things is by adding appropriate query hints or flags. These hints [...]
Filed under: Uncategorized by cafuego on Monday, May 31, 2010 | Social tagging: COUNT > drupal > InnoDB > mysql > SQL_CALC_FOUND_ROWS
6 Comments »
So this is about a SELECT COUNT(*) FROM tblname without a WHERE clause. MyISAM has an optimisation for that since it maintains a rowcount for each table. InnoDB and PBXT can’t do that (at least not easily) because of their multi-versioned nature… different transactions may see a different number of rows for the table table! [...]
Filed under: Good practice / Bad practice by arjen on Thursday, May 27, 2010 | Social tagging: COUNT > index scan > InnoDB > mariadb > MyISAM > mysql > pbxt > reporting
4 Comments »
With Paul McCullagh’s PBXT storage engine getting integrated into MariaDB 5.1, it’s never been easier to it out. So we have, on a slave off one of our own production systems which gets lots of inserts from our Zabbix monitoring system. That’s possibly an ideal usage profile, since PBXT is a log based engine (simplistically [...]
Filed under: Software and tools by arjen on Thursday, May 27, 2010 | Social tagging: InnoDB > mariadb > mysql > pbxt > storage engine > XA
1 Comment »