- .frm - The primary table-related file that is used to define the table's format. All table types have an associated .frm file.
- .MYD - The file that stores the data contained in several table types.
- .MYI - An index file used by several table types.
- .MRG - A special type of file that is used to list the name of merged tables.
Engine = { BDB | MEMORY | ISAM | INNODB | MERGE | MYISAM }
For example,
CREATE TABLE AuthorBios
{
AthoID SMALLINT UNSIGNED NOT NULL,
YearBBorn YEAR NOT NULL,
CityBorn VARCHAR(40) NOT NULL DEFAULT 'Unknown'
}Engine=INNODB;
Table Type Files used
BDB .frm,.MYD,.MYI
MEMORY .frm
InnoDB .frm
ISAM .frm,.MYD,.MYI
MERGE .frm,.MRG
MyISAM .frm,.MYD,.MYI
No comments:
Post a Comment
Thanks for your valuable comments.