.mdf 相当于 mysql (TOAD)
.mdf equivalent for mysql (TOAD)
'SQL Server Database Primary Data File (.mdf)' 等价于 mysql。
- 我正在使用 'Toad for mysql'(7.7 版)工具
假设你使用的是MyISAM
引擎应该是*.myd
扩展文件对应数据文件,*.frm
对应table格式文件。
Regardless of the storage engine you choose, every MySQL table you
create is represented on disk by a .frm
file that describes the
table's format (that is, the table definition). The file bears the
same name as the table, with an .frm extension. The .frm format is the
same on all platforms, but in the description of the .frm format that
follows, the examples come from tables created under the Linux
operating system.
因为 MySQL 带有可扩展的 table 引擎模型,所以这个问题没有直接的答案,因为每个 table 引擎都有不同的文件格式。
唯一独立于 table 引擎的文件类型是 table 定义文件 (*.frm)。
实际数据和索引由不同的 table 引擎以不同的方式存储。即使在单个 table 引擎中,也可能有不同的数据存储方式(例如,在 innodb 中,数据可以存储在大型 tablespace 文件中,或者每个 table 可能有自己的文件).您必须查看每个存储引擎自己的文档,了解它如何存储数据。
大部分元数据存储在 mysql 系统数据库中,这是一个 myisam 数据库。其他元数据模式(information_schema、performance、sys)由 MySQL 即时构建为临时内存 tables(您可以使用 show create table
命令进行检查)。
部分
'SQL Server Database Primary Data File (.mdf)' 等价于 mysql。
- 我正在使用 'Toad for mysql'(7.7 版)工具
假设你使用的是MyISAM
引擎应该是*.myd
扩展文件对应数据文件,*.frm
对应table格式文件。
Regardless of the storage engine you choose, every MySQL table you create is represented on disk by a
.frm
file that describes the table's format (that is, the table definition). The file bears the same name as the table, with an .frm extension. The .frm format is the same on all platforms, but in the description of the .frm format that follows, the examples come from tables created under the Linux operating system.
因为 MySQL 带有可扩展的 table 引擎模型,所以这个问题没有直接的答案,因为每个 table 引擎都有不同的文件格式。
唯一独立于 table 引擎的文件类型是 table 定义文件 (*.frm)。
实际数据和索引由不同的 table 引擎以不同的方式存储。即使在单个 table 引擎中,也可能有不同的数据存储方式(例如,在 innodb 中,数据可以存储在大型 tablespace 文件中,或者每个 table 可能有自己的文件).您必须查看每个存储引擎自己的文档,了解它如何存储数据。
大部分元数据存储在 mysql 系统数据库中,这是一个 myisam 数据库。其他元数据模式(information_schema、performance、sys)由 MySQL 即时构建为临时内存 tables(您可以使用 show create table
命令进行检查)。
部分