WordPress.org

Ready to get started?Download WordPress

Forums

how to clear the database (3 posts)

  1. popf
    Member
    Posted 8 years ago #

    I dont need a big database , so i want to clear some of table .

    any suggestion about the tables which i can clear ? such as log / history ....

    thanks !

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Here are the ones you NEVER touch.

    wp_users
    wp_usermeta
    wp_posts
    wp_postmeta
    wp_post2cat
    wp_options
    wp_links
    wp_linkcategories
    wp_comments
    wp_categories

    Any others you should 'empty'. That keeps things good in case they are used but frees up space.
    How to empty tables:
    http://www.tamba2.org.uk/wordpress/empty-drop/

    Backup your database before doing anything

    The risk here is yours.

  3. popf
    Member
    Posted 8 years ago #

    Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Topic