| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218 |
- /**
- scope(file)
- timeout(3m)
- **/
- ;
- create class if not exists /test() with namespace="test"
- ;
-
- create class if not exists /test/bucketpromdb (
-
- host varchar,
-
- prom bucket {
- "type" : "promdb",
- "ttl" : 2,
- "dict" : true,
- "version": 1,
- "slot" : 5
- } 'prom',
-
- pprom bucket {
- "type" : "promdb",
- "ttl" : 2,
- "dict" : true,
- "version": 1,
- "slot" : 5
- } 'pprom',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdb'
- ;
- create class if not exists /test/bucketpromdbmp (
-
- host varchar,
- ip varchar,
-
- prommp bucket {
- "type" : "promdb",
- "ttl" : 2,
- "dict" : true,
- "version": 1,
- "slot" : 5,
- "pattern": "{\"partition\":[15]}"
-
- } 'prommp',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdbmp', partition=(ip)
- ;
- create class if not exists /test/bucketpromdbdelay (
-
- host varchar,
-
- promdelay bucket {
- "type" : "promdb",
- "ttl" : 2,
- "slot" : 5,
- "collect": 10
- } 'delay',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdbdelay'
- ;
- create class if not exists /test/bucketpromdbsync (
-
- host varchar,
-
- prom_sync bucket {
- "type" : "promdb",
- "syncdc": true,
- "ttl" : 2,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdbsync'
- ;
- create class if not exists /test/bucketsplit (
-
- host varchar,
-
- prom_split bucket {
- "type" : "promdb",
- "ttl" : 2,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketsplit'
- ;
- create class if not exists /test/promdb_string (
-
- host varchar,
-
- prom_str bucket {
- "type" : "promdb",
- "ttl" : 2,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='promdb_string'
- ;
- create class if not exists /test/promdb_string2 (
-
- host varchar,
-
- prom_str2 bucket {
- "cache" : false,
- "type" : "promdb",
- "ttl" : 2,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='promdb_string2'
- ;
- create class if not exists /test/bucketpromdb2 (
-
- host varchar,
-
- prom2 bucket {
- "type" : "promdb",
- "single": true,
- "ttl" : 2,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdb2'
- ;
- create class if not exists /test/bucketpromdb3 (
-
- host varchar,
-
- prom3 bucket {
- "type" : "promdb",
- "single": true,
- "share" : true,
- "ttl" : 2,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdb3'
- ;
- create class if not exists /test/bucketpromdb4 (
-
- host varchar,
-
- prom4 bucket {
- "type" : "promdb",
- "share" : true,
- "ttl" : 2,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdb4'
- ;
- create class if not exists /test/bucketpromdbnocache (
-
- host varchar,
-
- prom_nocache bucket {
- "type" : "promdb",
- "cache" : false,
- "ttl" : 1,
- "slot" : 5
- } 'full',
- keys(host),
- indexes(host)
- ) with key=manu, nickname='bucketpromdbnocache'
- ;
- create class if not exists /test/bucketpromdb/subpromdb () with nickname ='subpromdb' ;
- create class if not exists /test/bucketpromdb/subpromdb2 () with nickname ='subpromdb2' ;
- create class if not exists /test/bucketpromdb2/subpromdbs() with nickname ='subpromdbs' ;
- create class if not exists /test/bucketpromdb2/subpromdbss() with nickname ='subpromdbss' ;
- create class if not exists /test/bucketpromdb2/subpromdbsss() with nickname ='subpromdbsss' ;
|