|
|
|
|
|
by amaccuish
2514 days ago
|
|
False. > But it does not seperate table data into one file per table That's because if you didn't have it set when creating the database, it won't move data to the new fs layout when you set the setting on, without an OPTIMIZE. If you had it on from the beginning, table data is per file. I literally just did an ls on my /va/lib/mysql and there's a folder per database, in which there are 2 files per table (.frm and .ibd). When innodb_file_per_table is on, and the database has been OPTIMIZEd, only the following is stored in ibdata1 [0]: - data dictionary aka metadata of InnoDB tables - change buffer - doublewrite buffer - undo logs [0] https://www.percona.com/blog/2013/08/20/why-is-the-ibdata1-f... |
|
Just look at the very page you linked to. It's a totally confusing concept that befuddles users and causes questions "we often receive", starts "panic", can "unfortunately" not easily be analyzed and you might need to "kill threads" and initiate "rollbacks" to fix the problems it brings.
MyISAM got that right. One dir per database.