MySQL The table ‘/mysqldata/mysqltmp/#sql482e_2f6f60_3b‘ is full!
遇到报错:
[ERROR] [MY-013132] [Server] The table '/mysqldata/mysqltmp/#sql482e_2f6f60_3b' is full!
[ERROR] [MY-013132] [Server] The table '/mysqldata/mysqltmp/#sql482e_2f6f7a_1e' is full!
[ERROR] [MY-013132] [Server] The table '/mysqldata/mysqltmp/#sql482e_2ff345_65' is full!
[ERROR] [MY-013132] [Server] The table '/mysqldata/mysqltmp/#sql482e_30929b_119' is full!
[ERROR] [MY-013132] [Server] The table '/mysqldata/mysqltmp/#sql482e_313165_119' is full!
[ERROR] [MY-013132] [Server] The table '/mysqldata/mysqltmp/#sql482e_31ac7d_6fd' is full!
检查数据库参数:
show variables like '%_temp%';
+-----------------------------+-----------------------+
| Variable_name | Value |
+-----------------------------+-----------------------+
| avoid_temporal_upgrade | OFF |
| innodb_temp_data_file_path | ibtmp1:12M:autoextend |
| innodb_temp_tablespaces_dir | ./#innodb_temp/ |
| show_old_temporals | OFF |
+-----------------------------+-----------------------+
show variables like '%tmp%';
+---------------------------------+---------------------+
| Variable_name | Value |
+---------------------------------+---------------------+
| default_tmp_storage_engine | InnoDB |
| innodb_tmpdir | |
| internal_tmp_mem_storage_engine | TempTable |
| slave_load_tmpdir | /mysqldata/mysqltmp |
| tmp_table_size | 8388608 |
| tmpdir | /mysqldata/mysqltmp |
+---------------------------------+---------------------+
分析点一:执行的sql是 insert......select.....,会产生内部临时表;
分析点二:数据库版本8.0.24,so 查查是否有bug;参考bug:【https://forums.percona.com/t/mysql-8-0-the-table-tmp-sql1-f519f-7-is-full/10767】
New MySQL 8 temporary engine TempTable have shown various bugs and regressions in the early versions of MySQL 8. What you can try doing is setting: set global internal_tmp_mem_storage_engine=Memory;
解决办法:
set global internal_tmp_mem_storage_engine=Memory;
PS: Internal Temporary Table Use in MySQL --------再学习
【https://dev.mysql.com/doc/refman/8.0/en/internal-temporary-tables.html】
MySQL The table ‘/mysqldata/mysqltmp/#sql482e_2f6f60_3b‘ is full!相关推荐
- Mysql的“Table ‘mysql.servers‘ doesn‘t exist”的解决方法
Mysql的"Table 'mysql.servers' doesn't exist"的解决方法 参考文章: (1)Mysql的"Table 'mysql.servers ...
- MYSQL查看 table 表状态常用的命令
1.不必说,肯定是最常用的 desc(describe) 举例:mysql>desc t1; 2.show table status 这个感觉用起来语法很长啊, 举例:mysql>show ...
- mysql pool not open_安装 MariaDb 时报错:Could not open mysql.plugin table
安装 MariaDb 时报错 2015-12-10 10:52:31 13f4 InnoDB: Warning: Using innodb_additional_mem_pool_size is DE ...
- mysql 修改表结构提示 MySQL said: Table is read only
以下是我遇到的问题,在我的数据库表里面添加字段的时候提示:MySQL said: Table is read only 百度了一下,找到以下方法,但是行不通: 1.找到mysql 数据库目录,并修改权 ...
- php mysql修改命令_PHP编程:mysql alter table命令修改表结构实例详解
<PHP编程:mysql alter table命令修改表结构实例详解>要点: 本文介绍了PHP编程:mysql alter table命令修改表结构实例详解,希望对您有用.如果有疑问,可 ...
- mysql create table 语法详解
create table 可以分成三类 一.一般create table 语句: 1 语法 create [temporary] table [if not exists] tbl_name(crea ...
- mysql global temporary table_【转】MySQL Temporary Table相关问题的探究
本文转载自:http://itindex.net/detail/10901-mysql-temporary-table 问题的引入 让我们先来观察几条非常简单的MySQL语句: mysql> c ...
- mysql+create+table+index_mysql------基础及常见SQL技巧
基础 1.1 mysql表复制 复制表结构+复制表数据 mysql>create table t3 like t1; mysql>insert into t3 select * from ...
- mysql alter table if_MySQL中的alter table命令的基本使用方法及提速优化
一.基本用法 1. 增加列 ?1alter table tbl_nameadd col_name type 例如, 给pet的表增加一列 weight, ?1mysql>alter table ...
最新文章
- 被Python「苦虐」的日子太惨了!
- CAPSNET:具有自我注意路由的胶囊网络
- 教程:12、文件存储结构
- java网络编程之TCP通讯
- 用lambda构建ORM查询语句
- OC中文件读取类(NSFileHandle)介绍和常用使用方法
- PYTHON之路(八)
- 产品经理的高薪会持续嘛?
- Linux完全删除用户
- nodejs生成动态网页
- v-if与v-show
- iOS后台如何保持socket长连接和数据传输
- kafka下载注意事项
- SaaS公司投资分析时,MRR比ARR指标更有用 | 投资人说
- js:使用angular的http获取json数据
- 快速配置Tomcat,解决Tomcat卡住不动
- linux远程服务器环境_如何使用Linux为孩子设置远程学校环境
- 传智播客_急先锋_html、css、js_郝强勇老师
- 2011年6月9日中国互联网公司市值排名
- 什么是8口poe交换机?8口poe交换机有哪些特点?