speciQueryRestful.json 836 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
{
    "filetype": "query",
    "cfgdir": "/etc/taos",
    "host": "127.0.0.1",
    "port": 6030,
    "user": "root",
    "password": "taosdata",
    "confirm_parameter_prompt": "no",
    "databases": "db",
    "query_times": 2,
11
    "query_mode": "rest",
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
    "specified_table_query": {
      "query_interval": 1,
      "concurrent": 3,
      "sqls": [
        {
          "sql": "select last_row(*) from db.stb0 ",
          "result": "./query_res0.txt"
        },
        {
          "sql": "select count(*) from db.stb00_1",
          "result": "./query_res1.txt"
        }
      ]
    },
    "super_table_query": {
      "stblname": "stb1",
      "query_interval": 1,
      "threads": 3,
      "sqls": [
        {
          "sql": "select last_row(ts) from xxxx",
          "result": "./query_res2.txt"
        }
      ]
    }
  }
38