| 1 |
plugin_register sharding |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Logs_20150203 TABLE_NO_KEY |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Logs_20150203 timestamp COLUMN_SCALAR Time |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
table_create Times_20150203 TABLE_PAT_KEY Time |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp |
| 10 |
[[0,0.0,0.0],true] |
| 11 |
table_create Logs_20150204 TABLE_NO_KEY |
| 12 |
[[0,0.0,0.0],true] |
| 13 |
column_create Logs_20150204 timestamp COLUMN_SCALAR Time |
| 14 |
[[0,0.0,0.0],true] |
| 15 |
table_create Times_20150204 TABLE_PAT_KEY Time |
| 16 |
[[0,0.0,0.0],true] |
| 17 |
column_create Times_20150204 timestamp_index COLUMN_INDEX Logs_20150204 timestamp |
| 18 |
[[0,0.0,0.0],true] |
| 19 |
table_create Logs_20150205 TABLE_NO_KEY |
| 20 |
[[0,0.0,0.0],true] |
| 21 |
column_create Logs_20150205 timestamp COLUMN_SCALAR Time |
| 22 |
[[0,0.0,0.0],true] |
| 23 |
table_create Times_20150205 TABLE_PAT_KEY Time |
| 24 |
[[0,0.0,0.0],true] |
| 25 |
column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp |
| 26 |
[[0,0.0,0.0],true] |
| 27 |
load --table Logs_20150203 |
| 28 |
[ |
| 29 |
{"timestamp": "2015-02-03 12:49:00"}, |
| 30 |
{"timestamp": "2015-02-03 23:59:59"} |
| 31 |
] |
| 32 |
[[0,0.0,0.0],2] |
| 33 |
load --table Logs_20150204 |
| 34 |
[ |
| 35 |
{"timestamp": "2015-02-04 00:00:00"}, |
| 36 |
{"timestamp": "2015-02-04 13:49:00"}, |
| 37 |
{"timestamp": "2015-02-04 13:50:00"} |
| 38 |
] |
| 39 |
[[0,0.0,0.0],3] |
| 40 |
load --table Logs_20150205 |
| 41 |
[ |
| 42 |
{"timestamp": "2015-02-05 13:49:00"}, |
| 43 |
{"timestamp": "2015-02-05 13:50:00"}, |
| 44 |
{"timestamp": "2015-02-05 13:51:00"}, |
| 45 |
{"timestamp": "2015-02-05 13:52:00"} |
| 46 |
] |
| 47 |
[[0,0.0,0.0],4] |
| 48 |
logical_table_remove Logs timestamp |
| 49 |
[[0,0.0,0.0],true] |
| 50 |
dump |
| 51 |
plugin_register sharding |
| 52 |
|
| 53 |
table_create Times_20150203 TABLE_PAT_KEY Time |
| 54 |
|
| 55 |
table_create Times_20150204 TABLE_PAT_KEY Time |
| 56 |
|
| 57 |
table_create Times_20150205 TABLE_PAT_KEY Time |
| 58 |
|
| 59 |
load --table Times_20150203 |
| 60 |
[ |
| 61 |
["_key"], |
| 62 |
[1422935340.0], |
| 63 |
[1422975599.0] |
| 64 |
] |
| 65 |
|
| 66 |
load --table Times_20150204 |
| 67 |
[ |
| 68 |
["_key"], |
| 69 |
[1422975600.0], |
| 70 |
[1423025340.0], |
| 71 |
[1423025400.0] |
| 72 |
] |
| 73 |
|
| 74 |
load --table Times_20150205 |
| 75 |
[ |
| 76 |
["_key"], |
| 77 |
[1423111740.0], |
| 78 |
[1423111800.0], |
| 79 |
[1423111860.0], |
| 80 |
[1423111920.0] |
| 81 |
] |