| 1 |
plugin_register sharding |
| 2 |
[[0,0.0,0.0],true] |
| 3 |
table_create Logs_20150709 TABLE_NO_KEY |
| 4 |
[[0,0.0,0.0],true] |
| 5 |
column_create Logs_20150709 timestamp COLUMN_SCALAR Time |
| 6 |
[[0,0.0,0.0],true] |
| 7 |
table_create Times_20150709 TABLE_PAT_KEY Time |
| 8 |
[[0,0.0,0.0],true] |
| 9 |
column_create Times_20150709 timestamp_index COLUMN_INDEX Logs_20150709 timestamp |
| 10 |
[[0,0.0,0.0],true] |
| 11 |
load --table Logs_20150709 |
| 12 |
[ |
| 13 |
{"timestamp": "2015-07-09 20:00:00"} |
| 14 |
] |
| 15 |
[[0,0.0,0.0],1] |
| 16 |
log_level --level debug |
| 17 |
[[0,0.0,0.0],true] |
| 18 |
logical_count Logs timestamp --min "2015/07/09 00:00:00" --max "2015/07/09 12:00:00" |
| 19 |
[[0,0.0,0.0],0] |
| 20 |
#|d| [logical_count][range-index] <Logs_20150709>: range index is available |
| 21 |
log_level --level notice |
| 22 |
[[0,0.0,0.0],true] |