This is time to say bye to year 2008. And count up remaining in Dasvidaniya Style. Long road to go yet, just checked my Phpmyadmin for regular backup after a long time. the Backup was around 31 MB !! Confused ?? I was too. Most of memory was consumed by Statpress plugin and few other plugins that i used some months back.
Deletion of those plug-in, doesn’t delete there tables from database, so the garbage was still there. just cleaned those old tables. saved my lots of memory.
Heres a little SQL trick I found from Devils Workshop , to clean up the revised versions of the post we publishes. Little change in the SQL Command from me as given SQL command was giving error.
DELETE FROM `wp_posts`WHERE `post_type` LIKE ‘revision’;
Now my Database is just 1.5 MB, Good to hear (Not only for my server but also for speed of blog access.)
i did the same thing few days ago
Abhi I need some help about managing the db of my site 😛 and will contact you via mail .
I’ll be moving to a new server after the holidays and this will be of great help as I am backing up my database. Thanks for sharing Abi. Merry Christmas and a Happy New Year!
I really thank you ,to help me sort out my database problem !!!!
keep ^^ buddy
Happy new Year, Abhishek. 🙂
I came to your blog via dollarshower and find the articles really interesting. Hope to follow your blog in this new year.
Yeh, its amazing how much junk some plugins put into the database. My database is not as large as yours, but I have cleaned it out a couple of times now.
But now with the post revisions of these latest version, it has the potential to get really large.
Glad to hear you were able to take out the trash!! 🙂
Thanks for the tip. I did this before. I have to do it again to remove all revision posts.
btw, Wishing you a very happy new year!
Nice title for the post 🙂
Wish you a great year ahead.
Nice reading man……..