
create class if not exists /test() with namespace="test"
;

create class if not exists /test/memdbexpired (
    class varchar,
    date varchar,
    perf bucket {
                "type"   :  "promdb",
                "ttl"    :   2,
                "dict"	 :	 true,
                "version":	 1,
                "slot"	 :   5
            },
    tags set<varchar>,
    vtime timestamp,

    keys(name)

) with ttl=366 day, expire=20 seconds, core=memory, autosearch=true, version=false, key=manu, alias='memdbexpired'
;


