insert.json 953 字节
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
{
    "filetype":"insert",
    "cfgdir": "/etc/taos",
	"host": "127.0.0.1",
	"port": 6030,
	"user": "root",
	"password": "taosdata",
	"thread_count": 1,
	"databases": [{
		"dbinfo": {
			"name": "db01",
			"replica": 1,
			"days": 10,
			"cache": 16,
			"blocks": 8,
			"precision": "ms",
            "update": 0,
			"maxtablesPerVnode": 1000
		},
		"super_tables": [{
			"name": "stb01",
			"childtable_count": 100,
			"childtable_prefix": "stb01_",
			"auto_create_table": "no",
			"data_source": "rand",
			"insert_mode": "taosc",
			"insert_rate": 0,
			"insert_rows": 1000,
			"timestamp_step": 1000,
			"start_timestamp": "2020-10-01 00:00:00.000",
			"sample_format": "csv",
			"sample_file": "/home/data/sample.csv",
			"tags_file": "",
			"columns": [{
				"type": "SMALLINT"
			}, {
				"type": "BOOL"
			}, {
				"type": "BINARY",
				"len": 6
			}],
			"tags": [{
				"type": "INT"
			},{
				"type": "BINARY",
				"len": 4
			}]
		}]
	}]
}