insert.json 1.2 KB
Newer Older
1 2 3
{
    "filetype":"insert",
    "cfgdir": "/etc/taos",
4 5 6 7
    "host": "127.0.0.1",
    "port": 6030,
    "user": "root",
    "password": "taosdata",
8 9
    "thread_count": 2,
    "num_of_records_per_req": 10,
10 11 12 13
    "thread_count_create_tbl": 4,
    "databases": [{
        "dbinfo": {
            "name": "db01",
14
            "drop": "yes",
15 16 17 18 19
            "replica": 1,
            "days": 10,
            "cache": 16,
            "blocks": 8,
            "precision": "ms",
20
            "update": 0,
21 22 23 24
            "maxtablesPerVnode": 1000
        },
        "super_tables": [{
            "name": "stb01",
25
            "childtable_count": 3,
26 27 28 29 30
            "childtable_prefix": "stb01_",
            "auto_create_table": "no",
            "data_source": "rand",
            "insert_mode": "taosc",
            "insert_rate": 0,
31
            "insert_rows": 20,
32 33 34 35 36 37
            "timestamp_step": 1000,
            "start_timestamp": "2020-10-01 00:00:00.000",
            "sample_format": "csv",
            "sample_file": "/home/data/sample.csv",
            "tags_file": "",
            "columns": [{
38
                "type": "INT"
39 40 41 42 43 44
            }],
            "tags": [{
                "type": "INT"
            }]
        }]
    }]
45
}