TDengine/tools/taos-tools/case/keep.json
2024-12-23 16:01:39 +08:00

74 lines
3 KiB
JSON

{
"filetype": "insert",
"cfgdir": "/etc/taos",
"host": "127.0.0.1",
"port": 6030,
"user": "root",
"password": "taosdata",
"num_of_records_per_req": 100,
"thread_count": 10,
"create_table_thread_count": 5,
"result_file": "./case_keep.txt",
"confirm_parameter_prompt": "no",
"check_sql": "no",
"continue_if_fail": "yes",
"databases": [
{
"dbinfo": {
"name": "keep_db",
"drop": "yes",
"vgroups": 4,
"replica": 3,
"precision": "ms",
"keep": "1d",
"duration":"1h"
},
"super_tables": [
{
"name": "meters",
"child_table_exists": "no",
"childtable_count": 100,
"insert_rows": 100000000000,
"childtable_prefix": "d",
"insert_mode": "taosc",
"insert_interval": 1000,
"timestamp_step": 1000,
"start_timestamp":"now",
"random_write_future": "yes",
"generate_row_rule": 2,
"columns": [
{ "type": "bool", "name": "bc"},
{ "type": "float", "name": "fc", "max": 1, "min": 0 },
{ "type": "double", "name": "dc", "max": 1, "min": 0 },
{ "type": "tinyint", "name": "ti", "max": 100, "min": 0 },
{ "type": "smallint", "name": "si", "max": 100, "min": 0 },
{ "type": "int", "name": "ic", "max": 100, "min": 0 },
{ "type": "bigint", "name": "bi", "max": 100, "min": 0 },
{ "type": "utinyint", "name": "uti", "max": 100, "min": 0 },
{ "type": "usmallint", "name": "usi", "max": 100, "min": 0 },
{ "type": "uint", "name": "ui", "max": 100, "min": 0 },
{ "type": "ubigint", "name": "ubi", "max": 100, "min": 0 },
{ "type": "binary", "name": "bin", "len": 32},
{ "type": "nchar", "name": "nch", "len": 64}
],
"tags": [
{
"type": "tinyint",
"name": "groupid",
"max": 10,
"min": 1
},
{
"name": "location",
"type": "binary",
"len": 16,
"values": ["San Francisco", "Los Angles", "San Diego",
"San Jose", "Palo Alto", "Campbell", "Mountain View",
"Sunnyvale", "Santa Clara", "Cupertino"]
}
]
}
]
}
]
}