- December 5, 2007 5:14 PM
手順は、次の3段階
- ログファイルグループを作る
- テーブルスペースを作る
- テーブルを作る
mysql> create logfile group lg_1 add undofile 'undo_1.dat' engine ndb;
Query OK, 0 rows affected (41.14 sec)mysql> create tablespace ts_1 add datafile 'data_1.dat' use logfile group lg_1 engine ndb;
Query OK, 0 rows affected (38.22 sec)mysql> create table t2(a int primary key auto_increment, b int) tablespace ts_1 storage disk engine ndb;
Query OK, 0 rows affected (0.77 sec)
ログファイルグループおよびテーブルスペースはデータノードごとに管理される。