| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- create class if not exists /test();
- create class if not exists /test/buckettsdb (
-
- host varchar,
-
- bk2 bucket {
- "type" : "tsdb",
- "param" : ["iparam1","iparam2","fparam1","fparam2","sparam1","vparam1"],
- "ptype" : ["i","i","f","f","s","s"],
- "unit" : ["%","m","ms","ns","",""],
- "precision":[0,0,3,4,0,0],
- "ttl" : 365,
- "crc" : ["iparam1", "sparam1"]
- } 'full',
- keys(host),
- indexes(host)
-
- ) with key=manu, nickname='buckettsdb'
- ;
- create class if not exists /test/buckettsdb64 (
-
- host varchar,
-
- bk64 bucket {
- "type" : "tsdb",
- "crc64" : true,
- "param" : ["iparam1","iparam2","fparam1","fparam2","sparam1","vparam1"],
- "ptype" : ["i","i","f","f","s","s"],
- "unit" : ["%","m","ms","ns","",""],
- "precision":[0,0,3,4,0,0],
- "ttl" : 365,
- "crc" : ["iparam1", "sparam1"]
- } 'full',
- keys(host),
- indexes(host)
-
- ) with key=manu, nickname='buckettsdb64'
- ;
|