alter table engine=memory ERROR 1114
In this Document
|
Symptoms |
|
Cause |
|
Solution |
|
References |
APPLIES TO:
MySQL Server - Version 5.6 and laterInformation in this document applies to any platform.
SYMPTOMS
When creating, modifying or altering the table engine to MEMORY, you get this error even if max_heap_table_size can host the data:
CAUSE
The MEMORY engine can allocate more memory than its InnoDB or MyISAM equivalent.
If the problematic table contains long varchar, the MEMORY engine will allocate fixed length strings so it can take a lot of space in memory, even more when the utf8 or utf8mb4 character set is used.
SOLUTION
Increase max_heap_table to an even larger value.
Consider using InnoDB with a large buffer pool, so that in practice, the data is in memory and can be accessed concurrently unlike MEMORY table data. There is very little reason to use the MEMORY engine nowadays.
REFERENCES
http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_max_heap_table_sizehttp://dev.mysql.com/doc/refman/5.6/en/memory-storage-engine.html
QQ 273002188 歡迎一起學習
QQ 群 236941212
oracle,mysql,PG 相互交流
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25099483/viewspace-2113514/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ERROR 1114 (HY000) The table '' is fullError
- ERROR 1114 (HY000): The table 'test1' is full 的解決Error
- Alter table for ORACLEOracle
- alter table move 和 alter table shrink space的區別
- MySQL ERROR 1031 (HY000) at line 33: Table storage engine forMySqlError
- MYSQL TABLE CHANGE STORAGE ENGINEMySql
- mysql的ALTER TABLE命令MySql
- oracle alter table詳解Oracle
- alter table using indexIndex
- v$lock之alter table drop column與alter table set unused column區別系列五
- alter table語法增補(一)
- ALTER TABLE MOVE | SHRINK SPACE區別
- ALTER TABLE MOVE和SHRINK SPACE區別
- ALTER SYSTEM 中 SCOPE=SPFILE/MEMORY/BOTH 的區別:
- An out of memory error has occurred.Error
- SNMP TABLE ERROR : Requested table is empty or does not existError
- alter table move 與shrink space的區別
- alter table move跟shrink space的區別
- Got error 28 from storage engine 解決方法GoError
- alter table nologging /*+APPEND PARALLEL(n)*/APPParallel
- Oracle 11g alter table move與shrink spaceOracle
- alter table move跟shrink space的區別(轉)
- ALTER TABLE causes auto_increment resulting key 'PRIMARY'REM
- 表、索引遷移表空間alter table move索引
- alter table列管理的一些區別
- oracle 中 ALTER TABLE ADD default 的明確Oracle
- oracle 10g__alter table shrink space compactOracle 10g
- oracle10g_alter table_測試3Oracle
- alter table table_name move ; 在自身表空間move是如何操作的?
- HPUX Error 23 File table overflowUXError
- MySQL oak-online-alter-table工具使用初探MySql
- alter table modify constraint_disable_enable_novalidateAI
- 資料庫審計(create/alter/drop table、user、tablespace)資料庫
- note the ORA-27102: out of memory errorError
- 【故障-ORACLE】‘ALTER SYSTEM SET service_names='' SCOPE=MEMORY SID=’解釋Oracle
- MySQL-ALTER TABLE命令學習[20180503]MySql
- 測試alter table storage及dbms_space_admin包
- mysql裡alter table 重定義主鍵的步驟:MySql