I am running the command ALTER TABLE beijing_xiaohongmen TABLESPACE ts_1 STORAGE DISK ENGINE NDBCLUSTER;
where ts_1 has two .dat file with 1024M each and table beijing_xiaohongmen
is an innodb table.
However, I meet ERROR 1114 (HY000): The table '#sql-4d3e_a' is full
. By the way, command ALTER TABLE beijing_xiaohongmen ENGINE NDBCLUSTER;
performs perfectly, which means I have enough DataMemory
and IndexMemory
. I've checked my disk and RAM as well. They both have enough space.
Here is my setting:
some configurations in config.ini:
[ndbd default]
# Options affecting ndbd processes on all data nodes:
NoOfReplicas=1 # Number of fragment replicas
DataMemory=2048M # How much memory to allocate for data storage
IndexMemory = 2048M # How much memory to allocate for index storage
MaxNoOfExecutionThreads = 8
# NoOfFragmentLogFiles = 1125
and my.conf
[mysqld]
# Options for mysqld process:
ndbcluster # run NDB storage engine
datadir=/usr1/DBData/mysql_cluster/mysqld/
socket=/tmp/mysql.sock
user=mysql
max_heap_table_size = 1024M
tmp_table_size = 2048M
[mysql_cluster]
# Options for NDB Cluster processes:
ndb-connectstring=x.xxx.x.xxx # location of management server
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Does anyone can help? Thanks a lot!