ERROR 1114 The table is full

时间:2015-11-12 11:09:16

标签: mysql

I have a MEMORY table with 17 000 rows. All works well if it is under this, but over 17 000 rows I have the following error:

ERROR 1114 (HY000): The table is full

While InnoDB is good, what is a good my.cnf configuration to resolve this? I have 2 To disk space.

[mysqld]

key_buffer              = 1000M
max_allowed_packet      = 16M
thread_stack            = 192K
thread_cache_size       = 10
myisam-recover         = BACKUP
max_connections        = 1000
#table_cache            = 64
thread_concurrency     = 12

query_cache_limit       = 20M
query_cache_size        = 220M

innodb_buffer_pool_size = 15G
innodb_thread_concurrency = 12

I am using the MEMORY engine for fast transactions.

1 个答案:

答案 0 :(得分:2)

Try to execute the below query:

mysql> SHOW GLOBAL VARIABLES LIKE 'innodb_data_file_path';
+-----------------------+------------------------+
| Variable_name         | Value                  |
+-----------------------+------------------------+
| innodb_data_file_path | ibdata1:10M:autoextend |
+-----------------------+------------------------+

You need to provide a value for autoextend to fix this.