MySql ibdata1 compact space

Hello I have a problem with mysql.

Using the tables of type INNODB, mysql it has created the archives
(ibdata1) whose dimensions exceed the 3G.

I have cancelled all the database but the occupied space is remained
the same one. How I can make in order to compattare this space?

Thanks
bemodica [ Fr, 26 Mai 2006 11:08 ] [ ID #1330713 ]

Re: MySql ibdata1 compact space

bemodica [at] esact.it wrote:
> Hello I have a problem with mysql.
>
> Using the tables of type INNODB, mysql it has created the archives
> (ibdata1) whose dimensions exceed the 3G.
>
> I have cancelled all the database but the occupied space is remained
> the same one. How I can make in order to compattare this space?

If you've dropped all the InnoDB tables, you can stop the MySQL Server,
manually delete ibdata1 and the InnoDB log files, and then restart MySQL
Server. MySQL Server will recreate a smaller ibdata1 file when it restarts.

If you have any InnoDB tables you want to keep, you must back them up
first with mysqldump, drop them, and restore them afterward.

See http://bugs.mysql.com/bug.php?id=1287

Regards,
Bill K.
Bill Karwin [ Fr, 26 Mai 2006 18:07 ] [ ID #1330726 ]

Re: MySql ibdata1 compact space

Thanks for the answer
bemodica [ Mo, 29 Mai 2006 18:17 ] [ ID #1333430 ]
Datenbanken » mailing.database.mysql » MySql ibdata1 compact space

Vorheriges Thema: How to set mysqld.log size?
Nächstes Thema: Installing MySql