1

We are using MySQL 5.2 version all InnoDB tables.

I have observed that ibdata1 file got increased very unusually like occupied 500 GB in 2 days.

In last 6 months, it had taken only 6 GB though there were no inserts at all. I also deleted the ibdata1, ib_logfile0 and ib_logfile1 and restarted mysql.

It worked fine. but again after 6 months same issue, and the ibdata1 got increased to 550 GB. There are no errors found in error log file.

I would like to know what may be the reason in general ?

RolandoMySQLDBA
  • 182,700
  • 33
  • 317
  • 520
chows
  • 13
  • 2
  • Please have a look at http://dba.stackexchange.com/questions/8982/is-there-any-best-way-to-reduce-the-size-of-ibdata-in-mysql – Abdul Manaf Apr 22 '13 at 10:52
  • Please run SELECT VERSION();. 2) Do you have innodb_file_per_table enabled (Please run SHOW VARAIBLES LIKE 'innodb_file_per_table';.
  • – RolandoMySQLDBA Apr 22 '13 at 11:25
  • INNODB_FILE_PER_TABLE IS NOT ENABLED.. – chows Apr 22 '13 at 11:47
  • Please goto the link in my answer from Oct 29, 2010 and carry out all the steps in it. – RolandoMySQLDBA Apr 22 '13 at 11:52