MySql data file

1. Each database of MySql is stored in a folder with the same name as the database. By default, it exists in C:\Documents and Settings\All Users\Application Data\MySQL\MySQL Server 5.6\data

2. File type:

(1) .frm file: The framework structure for storing data tables. The file name is the same as the table name. Each table corresponds to a frm file with the same name. It has nothing to do with the operating system and storage engine. That is, no matter what operating system MySQL is running on, use Any storage engine has this file

(2) .ibd file: Single table table space file. Each table uses one table space file to store table data and indexes. 

(3) Transaction log files: ib_logfile1, ib_logfile2, record bin-log, undo-log, redo-log

Guess you like

Origin blog.csdn.net/rogerxue12345/article/details/107912647