So you're running MySQL With
innodb_file_per_table option but your ibdata1
file which holds main (or system) tablespace have grown
dramatically from its starting 10MB size.
What could be the reason of this growth and what you can do about
it ?
There are few things which are always stored in main tablespace - these are system tables, also known as data dictionary - table and index definitions and related stuff, double write buffer, insert buffer which temporary stores records to be inserted in the index tree and undo segment holding previous versions of changed rows.
The system tables size depends on the number and complexity of the tables you have in the system. If you have hundreds of thousands of tables it may consume gigabytes of space but for most installations we're speaking about tens of megabytes or less. Double Write Buffer is fixed size (2MB = 128 of 16KB pages) and so will not affect growth of …
[Read more]