If you are new to my blog, please let me first welcome you. If you've been here before and enjoy reading "Dr. Mike's Steak Dinner," please consider subscribing to our atom or rss feed as well as linking to us in your blogroll. Thanks. :)

You can also see when I've updated by following me on Twitter. Please add the Dr_Mike account to your list.

Optimize MySQL

| | Comments (0) | TrackBacks (0)

For the longest time, I've had issues with trying to optimize the huge MySQL datatables that exist over at daria.be. With over 6,000 tables, pulling up the database in something like phpMyAdmin wasn't working too well. Took about 20 minutes just to load it up.

My host found a script on line that goes though table by table and optimizes it if needbe. It runs through all of the databases accessable by the MySQL user so it whould work on multidatabase installs of WPMu as well.

The code for the most part comes from here with some modifications made by myself to allow for the WPMu system. Instructions are included within the php file.

Download it from here. Should work on non-WPMu setups as well. Anything with large numbers of MySQL data tables.

0 TrackBacks

Listed below are links to blogs that reference this entry: Optimize MySQL.

TrackBack URL for this entry: http://drmikessteakdinner.com/cgi-bin/mt/mt-tb.cgi/407

Leave a comment

Please feel free to leave a comment. Please note that we do have a comment policy and we do ask that you respect it.

November 2008

Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

About this Archive

This page is a archive of recent entries in the Fanfiction.net category.

Fanfiction is the previous category.

Featured Desktop is the next category.

Find recent content on the main index or look in the archives to find all content.