zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

MySQL Variables default_tmp_storage_engine 数据库 参数变量解释及正确配置使用

mysql数据库配置变量 使用 解释 参数 正确
2023-06-13 09:11:25 时间
本站中文解释

default_tmp_storage_engine 参数用于设置Mysql请求临时表和内存表的默认存储引擎, 可以设置为MyISAM, Memory和InnoDB三种类型的引擎, 其中,MyISAM是最常用的, 可以用于存储大量的非关系数据.

设置default_tmp_storage_engine的方法如下:

1. 用MySQL命令行登录(如 mysql -u root -p );

2. 使用 set 命令设置参数, 即 SET GLOBAL default_tmp_storage_engine = MyISAM" ;

3. 使用 show variables like default_tmp_storage_engine" 命令检查变量值是否被设置成功。

官方英文解释 default_tmp_storage_engine


default_storage_engine system
variable. Also see the discussion of that variable regarding
possible values.

If you disable the default storage engine at server startup,
you must set the default engine for both permanent and
TEMPORARY tables to a different engine or
the server cannot start.


我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题

本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 MySQL Variables default_tmp_storage_engine 数据库 参数变量解释及正确配置使用