mysql engine and the physical file

VERSION the SELECT ();
Show the GLOBAL the VARIABLES like 'the PARTITION%%'; - check the partitions

show GLOBAL VARIABLES like '% datadir% '; - see the physical file location
datadir D: \ mysql-5.7.23- winx64 \ data \

Physical File Description:
using InnoDB engine table corresponding to physical file structure
.frm file: save metadata about each table, including the definition of the table structure, and the like;
.ibd documents: InnoDB engine opens a separate table space (in the my.ini configuration innodb_file_per_table = 1) and index file storing the table data generated.
.ibdata File: shared storage space using .ibdata table file, all tables use a common file ibdata
uses three physical file table corresponding to the engine will MyISAM:
. (. 1) * frm-- table definition, description file structure.
(2) * MYD -. " D" data file, the data file is a table.
(3) * MYI -. " I" index information file, the data file is a table of data in any index tree.

Guess you like

Origin www.cnblogs.com/sung1024/p/11511822.html