performanceInsert.json 2.5 KB
Newer Older
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 78 79
{
    "filetype": "insert",
    "cfgdir": "/etc/taos/",
    "host": "test216",
    "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,
    "interlace_rows": 1000,
    "num_of_records_per_req": 100000,
    "databases": [
        {
            "dbinfo": {
                "name": "db",
                "drop": "yes",
                "vgroups": 24
            },
            "super_tables": [
                {
                    "name": "stb",
                    "child_table_exists": "no",
                    "childtable_count": 100000,
                    "childtable_prefix": "stb_",
                    "auto_create_table": "no",
                    "batch_create_tbl_num": 50000,
                    "data_source": "rand",
                    "insert_mode": "taosc",
                    "insert_rows": 5,
                    "interlace_rows": 100000,
                    "insert_interval": 0,
                    "max_sql_len": 10000000,
                    "disorder_ratio": 0,
                    "disorder_range": 1000,
                    "timestamp_step": 10,
                    "start_timestamp": "2022-05-01 00:00:00.000",
                    "sample_format": "csv",
                    "use_sample_ts": "no",
                    "tags_file": "",
                    "columns": [
                        {
                            "type": "INT"
                        },
                        {
                            "type": "TINYINT",
                            "count": 1
                        },
                        {"type": "DOUBLE"},

                        {
                            "type": "BINARY",
                            "len": 40,
                            "count": 1
                        },
                        {
                            "type": "nchar",
                            "len": 20,
                            "count": 1
                        }
                    ],
                    "tags": [
                        {
                            "type": "TINYINT",
                            "count": 1
                        },
                        {
                            "type": "BINARY",
                            "len": 16,
                            "count": 1
                        }
                    ]
                }
            ]
        }
    ]
}