insert.tpl.json 2.5 KB
Newer Older
M
Minghao Li 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 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 77
{
    "filetype": "insert",
    "cfgdir": "/etc/taos/",
    "host": "v3cluster-0001",
    "port": 7100,
    "user": "root",
    "password": "taosdata",
    "thread_count": 8,
    "thread_count_create_tbl": 8,
    "result_file": "./tpl_insert_result_tpl",
    "confirm_parameter_prompt": "no",
    "insert_interval": 0,
    "interlace_rows": 0,
    "num_of_records_per_req": 100000,
    "databases": [
        {
            "dbinfo": {
                "name": "db1",
                "drop": "yes",
                "vgroups": tpl_vgroups_tpl,
	        "replica": tpl_replica_tpl 	
            },
            "super_tables": [
                {
                    "name":  "stb_tpl_stid_tpl",
                    "child_table_exists": "no",
                    "childtable_count": tpl_ctables_tpl,
                    "childtable_prefix": "stb_tpl_stid_tpl_",
                    "auto_create_table": "no",
                    "batch_create_tbl_num": 50000,
                    "data_source": "rand",
                    "insert_mode": "taosc",
                    "insert_rows": tpl_rows_tpl,
                    "interlace_rows": 0,
                    "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": 1
                        },
                        {
                            "type": "BINARY",
                            "len": 40,
                            "count": 1
                        },
                        {
                            "type": "nchar",
                            "len": 20,
                            "count": 1
                        }
                    ],
                    "tags": [
                        {
                            "type": "TINYINT",
                            "count": 1
                        },
                        {
                            "type": "BINARY",
                            "len": 16,
                            "count": 1
                        }
                    ]
                }
            ]
        }
    ]
}