Bits and pieces of John Dalton from all over your internet. - tagged with mysql http://johndalton.info/feed en-us http://blogs.law.harvard.edu/tech/rss Sweetcron john@johndalton.info How to debug InnoDB lock waits http://johndalton.info/items/view/9652/how-to-debug-innodb-lock-waits

This article shows you how to use a little-known InnoDB feature to find out what is holding the lock for which an InnoDB transaction is waiting. I then show you how to use an undocumented feature to make this even easier with innotop.

]]>
Mon, 23 Jan 2012 16:15:00 -0600 http://johndalton.info/items/view/9652/how-to-debug-innodb-lock-waits
How well does your table fit in innodb buffer pool? http://johndalton.info/items/view/8443/how-well-does-your-table-fit-in-innodb-buffer-pool ]]> Sun, 18 Sep 2011 06:32:00 -0500 http://johndalton.info/items/view/8443/how-well-does-your-table-fit-in-innodb-buffer-pool How well does your table fit in innodb buffer pool? http://johndalton.info/items/view/8343/how-well-does-your-table-fit-in-innodb-buffer-pool ]]> Fri, 16 Sep 2011 00:29:00 -0500 http://johndalton.info/items/view/8343/how-well-does-your-table-fit-in-innodb-buffer-pool Sample datasets for benchmarking and testing http://johndalton.info/items/view/8444/sample-datasets-for-benchmarking-and-testing ]]> Tue, 13 Sep 2011 09:55:00 -0500 http://johndalton.info/items/view/8444/sample-datasets-for-benchmarking-and-testing Sample datasets for benchmarking and testing http://johndalton.info/items/view/8258/sample-datasets-for-benchmarking-and-testing

This post contains links to a few different real-world datasets that can be used for populating databases for testing. The comments are good too, and include links to several more datasets.

]]>
Sun, 11 Sep 2011 23:17:00 -0500 http://johndalton.info/items/view/8258/sample-datasets-for-benchmarking-and-testing
Performance Tuning flowchart for MySQL http://johndalton.info/items/view/3884/performance-tuning-flowchart-for-mysql

Not presented as a flowchart, but that's what it feels like to me. A great step-by-step breakdown of tuning MySQL (including consideration of architecture, application and OS.)

]]>
Tue, 21 Sep 2010 05:39:00 -0500 http://johndalton.info/items/view/3884/performance-tuning-flowchart-for-mysql
Getting out of MySQL Character Set Hell http://johndalton.info/items/view/2771/getting-out-of-mysql-character-set-hell

Excellent detailed analysis of problems caused by mixing character set encodings within a table, and what to do about it.

"Since I wasn’t able to find any other authoritative source on this on the internet (and in fact, most of the other sources I’ve seen have said you really don’t want to be in this situation– while offering little help as to what to do about it if you’re already there), I thought writing a public document on the subject might help some other systems administrators out there who do find themselves unexpectedly in the middle of MySQL Character Set Hell."

]]>
Thu, 29 Apr 2010 00:29:00 -0500 http://johndalton.info/items/view/2771/getting-out-of-mysql-character-set-hell
PROCEDURE ANALYSE | MySQL Performance Blog http://johndalton.info/items/view/189/procedure-analyse-mysql-performance-blog

Built-in MySQL procedure for analysing field values and determining the most optimal column type (possibly)

]]>
Thu, 26 Mar 2009 23:28:00 -0500 http://johndalton.info/items/view/189/procedure-analyse-mysql-performance-blog
MySQLTuner http://johndalton.info/items/view/154/mysqltuner

Cool script, and coolest domain name/installation method in the world.

]]>
Mon, 23 Mar 2009 21:20:00 -0500 http://johndalton.info/items/view/154/mysqltuner
How FriendFeed uses MySQL to store schema-less data - Bret Taylor's blog http://johndalton.info/items/view/48/how-friendfeed-uses-mysql-to-store-schema-less-data-bret-taylors-blog

Interesting article about MySQL scalability problems.

]]>
Fri, 27 Feb 2009 06:45:00 -0600 http://johndalton.info/items/view/48/how-friendfeed-uses-mysql-to-store-schema-less-data-bret-taylors-blog
mysqlsla :: Parse, filter and sort MySQL slow, general and binary logs http://johndalton.info/items/view/57/mysqlsla-parse-filter-and-sort-mysql-slow-general-and-binary-logs ]]> Wed, 10 Dec 2008 19:40:00 -0600 http://johndalton.info/items/view/57/mysqlsla-parse-filter-and-sort-mysql-slow-general-and-binary-logs An alternative to the MySQL Query Analyzer at Xaprb http://johndalton.info/items/view/58/an-alternative-to-the-mysql-query-analyzer-at-xaprb

Article suggesting that percona patched MySQL builds combined with mysqlsla are a better option than the MySQL Query Analyzer (proprietary, only available with a MySQL Enterprise subscription).

Mysql query analyzer uses mysql proxy underneath, which is a great thing in its own right.

]]>
Wed, 10 Dec 2008 19:28:00 -0600 http://johndalton.info/items/view/58/an-alternative-to-the-mysql-query-analyzer-at-xaprb
32408df3sf