gpt4 book ai didi

MySQL:MyISAM 有表空间吗?

转载 作者:行者123 更新时间:2023-11-29 14:45:47 25 4
gpt4 key购买 nike

我可以使用在 MySQL 5.1.30 上运行的 MyISAM 表创建表空间吗?

最佳答案

表空间(在 MySQL 5.1 中)仅支持 NDB 和 NDBCLUSTER,参见 http://dev.mysql.com/doc/refman/5.1/en/create-tablespace.html :

The ENGINE parameter determines the storage engine which uses this tablespace, with engine_name being the name of the storage engine. In MySQL 5.1, engine_name must be one of the values NDB or NDBCLUSTER.

但是你可以告诉MySQL MyISAM 使用哪个数据目录和索引目录,参见。 http://dev.mysql.com/doc/refman/5.1/en/create-table.html :

By using DATA DIRECTORY='directory' or INDEX DIRECTORY='directory' you can specify where the MyISAM storage engine should put a table's data file and index file. The directory must be the full path name to the directory, not a relative path.

关于MySQL:MyISAM 有表空间吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6981776/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com