| 1 |
#@on-error omit |
| 2 |
plugin_register sharding |
| 3 |
#@on-error default |
| 4 |
|
| 5 |
table_create NotRelated_20150204 TABLE_NO_KEY |
| 6 |
|
| 7 |
table_create Logs_20150204 TABLE_NO_KEY |
| 8 |
column_create Logs_20150204 timestamp COLUMN_SCALAR Time |
| 9 |
|
| 10 |
table_create Bookmarks TABLE_HASH_KEY ShortText |
| 11 |
column_create Bookmarks log_20150204 COLUMN_SCALAR Logs_20150204 |
| 12 |
|
| 13 |
#@disable-logging |
| 14 |
thread_limit 1 |
| 15 |
database_unmap |
| 16 |
#@enable-logging |
| 17 |
|
| 18 |
logical_table_remove \ |
| 19 |
--logical_table Logs \ |
| 20 |
--shard_key timestamp \ |
| 21 |
--dependent yes |
| 22 |
|
| 23 |
dump |