网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

MySQL临时文件大小设置

the size limit of individual files is determined by the operating system. File size can be more than 4GB on operating systems that support large files. Use of raw disk partitions for global temporary tablespace data files is not supported.
说明:临时表空间的临时文件的大小是由操作系统决定的,文件大小是可以超过4G的,只有操作系统支持就可以了。通常我们用的操作系统都是CentOS或者RHEL 64位的。不支持裸设备。

The autoextend and max attributes can be used only for the data file specified last in the innodb_temp_data_file_path setting. For example:
画重点:要设置innodb_temp_data_file_path,可以是一个临时文件也可以是多个,一定要设置autoextend自动扩展,同时也有设置一个最大值,根据业务系统数据量大小,可以设置几G。工作中遇到过的问题,没有设置max最大值,结果导致磁盘空间满了,业务停了,当然是业务做调整导致的。

[MySQLd]
innodb_temp_data_file_path=ibtmp1:50M;ibtmp2:12M:autoextend:max:500MB

本文题目:MySQL临时文件大小设置
URL地址:http://bjjierui.cn/article/pgcddc.html

其他资讯