WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Database Size doesn't deacrease after Plugins deletion (3 posts)

  1. Shakhawat
    Member
    Posted 4 years ago #

    I installed several plugins in my WordPress blog to do some test run.

    After using several days of that plugins, I un-installed those plugins and deleted them from my WordPress. I saw that the database size didn't decrease and I looked into my database using phpMyAdmin.
    But, there are hundreds of record there which was created by previously installed plugins. But It supposed to remove those records after deleting any plugins!

    I think it's WordPress's major problem that- Un-installing any plugins doesn't really delete them from there Database records.

    Is there any idea to wipe the records out!?

  2. MichaelH
    Member
    Posted 4 years ago #

    That's not really the fault of WordPress, but rather the author of the plugin.

    It is incumbent on a plugin author to remove data in options and other tables when a plugin is deactivated. Some plugin authors (e.g. Lester 'Gamerz' Chan) do a good job of providing that feature. Other plugin authors don't bother...

    But look at:
    http://wordpress.org/extend/plugins/clean-options/

  3. Shakhawat
    Member
    Posted 4 years ago #

    Thanks for the link, I used it and removed 40% of my unnecessary table records. But the thing is, it doesn't decrease table size but records!

    Before-
    328 Records, Size 764KB table size(prefix_options)

    After-
    199 Records, Size 764KB table size(prefix_options)

    I guess, from next version WordPress will able to detect unnecessary table/records and delete it.

    Oh' and really sorry for blaming WordPress!

Topic Closed

This topic has been closed to new replies.

About this Topic