Unix Technical Forum

Re: Saving space disk (innodb)

This is a discussion on Re: Saving space disk (innodb) within the MySQL General forum forums, part of the MySQL category; --> Hi, Tiago Cruz wrote: > Hello guys, > > I have one monster database running on MySQL 4.0.17, using ...


Go Back   Unix Technical Forum > Database Server Software > MySQL > MySQL General forum

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:01 AM
Baron Schwartz
 
Posts: n/a
Default Re: Saving space disk (innodb)

Hi,

Tiago Cruz wrote:
> Hello guys,
>
> I have one monster database running on MySQL 4.0.17, using InnoDB:
>
> 270GB Oct 10 14:35 ibdata1
>
>
> I've deleted a lot of register of then, and I've expected that the size
> can be decreased if 50% (135 GB) but the ibdata was the same value than
> before "clean"...
>
> How can I force to save this space?


You must dump your data to files, shut down MySQL, delete your current
InnoDB tablespace and log files, reconfigure the server, restart MySQL
and let InnoDB create new (empty) files. Then reload the data.

You should probably save your current data and tablespace files until
you are sure you complete this successfully.

It's an annoying procedure but there is no other way.

Baron
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com