manyVgroups.json 2.4 KB
Newer Older
1 2 3
{
    "filetype": "insert",
    "cfgdir": "/etc/taos/",
4
    "host": "127.0.0.1",
5 6 7 8 9 10 11 12
    "port": 6030,
    "user": "root",
    "password": "taosdata",
    "thread_count": 8,
    "thread_count_create_tbl": 8,
    "result_file": "./insert_res.txt",
    "confirm_parameter_prompt": "no",
    "insert_interval": 0,
13
    "interlace_rows": 0,
haoranc's avatar
haoranc 已提交
14
    "num_of_records_per_req": 100,
15 16 17 18
    "databases": [
        {
            "dbinfo": {
                "name": "db",
P
plum-lihui 已提交
19
                "drop": "no",
20 21 22 23 24 25
                "vgroups": 1
            },
            "super_tables": [
                {
                    "name": "stb1",
                    "child_table_exists": "no",
26
                    "childtable_count": 10000,
27 28 29 30 31
                    "childtable_prefix": "stb1_",
                    "auto_create_table": "no",
                    "batch_create_tbl_num": 50000,
                    "data_source": "rand",
                    "insert_mode": "taosc",
32 33
                    "insert_rows": 1,
                    "interlace_rows": 0,
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
                    "insert_interval": 0,
                    "max_sql_len": 10000000,
                    "disorder_ratio": 0,
                    "disorder_range": 1000,
                    "timestamp_step": 10,
                    "sample_format": "csv",
                    "use_sample_ts": "no",
                    "tags_file": "",
                    "columns": [
                        {
                            "type": "INT"
                        },
                        {
                            "type": "DOUBLE",
                            "count": 100
                        },
                        {
                            "type": "BINARY",
                            "len": 400,
                            "count": 10
                        },
                        {
                            "type": "nchar",
                            "len": 200,
                            "count": 20
                        }
                    ],
                    "tags": [
                        {
                            "type": "TINYINT",
                            "count": 2
                        },
                        {
                            "type": "BINARY",
                            "len": 16,
                            "count": 2
                        }
                    ]
                }
            ]
        }
    ]
}