Non-clustered index portion of after MYSQL5.1.16 data can be saved to disk.
Let me sum up. update at any time.
First what do experiments, these had to run SQL statements on the SQL node.
1. Create LOGFILE GROUP
2, create a table space
3, applied to the engine NDBCLUSTER table
4, we take a look at the files on the NDBD node.
Before and after comparison:
Extra is the file we just created.
5, there is a very very important tips on manual,
--initial initialization time does not clear logfile group, and tablespace. You must be manually deleted.
Let me sum up. update at any time.
First what do experiments, these had to run SQL statements on the SQL node.
1. Create LOGFILE GROUP
mysql> create logfile group lg_1
|
2, create a table space
mysql> create tablespace ts_1
|
3, applied to the engine NDBCLUSTER table
mysql> alter table t11 tablespace ts_1 storage disk;
|
4, we take a look at the files on the NDBD node.
Before and after comparison:
[root@localhost ndb_5_fs]# ls
|
Extra is the file we just created.
5, there is a very very important tips on manual,
--initial initialization time does not clear logfile group, and tablespace. You must be manually deleted.
Important
Starting the cluster with the
--initial
option does
not remove Disk Data files. You must remove these manually prior to performing an initial restart of the cluster.
This article comes from " God, let there or be square! " Blog, reproduced please contact the author!
Reproduced in: https: //my.oschina.net/u/585111/blog/219505