MySQL Forums
Forum List  »  InnoDB

Re: Why is the ibdata1 file much bigger than all databases?
Posted by: Kathy Mazur Worden
Date: February 26, 2008 03:14PM

The ibdata1 file doesn't automatically reduce in size. To reduce it manually you'll need to:
1. backup the db
2. either drop the db or convert each table to MyISAM
3. stop the server
4. delete ibdata1 and the innodb log files
5. restart the server to automatically re-create a clean ibdata1 file and innodb logs
6. either restore the backup or convert the tables back to innodb

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Why is the ibdata1 file much bigger than all databases?
6288
February 26, 2008 03:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.