Help on Shrink IBDATA1 file

This is a discussion on Help on Shrink IBDATA1 file within the MySQL Database forums, part of the Database Forums category; How can I shrink the file IBDATA1 on MYSQL directory? I use windows 2003. Thanks a lot. Roberto...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-03-2006
Roberto Rasto
 
Posts: n/a
Default Help on Shrink IBDATA1 file

How can I shrink the file IBDATA1 on MYSQL directory?
I use windows 2003.

Thanks a lot.

Roberto


Reply With Quote
  #2 (permalink)  
Old 04-03-2006
Bill Karwin
 
Posts: n/a
Default Re: Help on Shrink IBDATA1 file

Roberto Rasto wrote:
> How can I shrink the file IBDATA1 on MYSQL directory?
> I use windows 2003.


This is a common complaint about MySQL.
The following is the only way to shrink the file:

1. Back up all databases that use InnoDB tables.
2. Drop all InnoDB tables.
3. Remove the IBDATA1 file manually.
4. Restore all InnoDB tables from your backups. This recreates the
IBDATA1 file and fills it.

This is very inconvenient, and it has been logged as a bug, but there is
no other solution at this time.

See discussion at http://bugs.mysql.com/bug.php?id=1341

Regards,
Bill K.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0