You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2021/04/01 09:34:00 UTC

[jira] [Created] (IOTDB-1276) Remove `debug_state` parameter in iotdb-properties and add `explain` keyword for specified query statement

Xiangdong Huang created IOTDB-1276:
--------------------------------------

             Summary: Remove `debug_state` parameter in iotdb-properties and add `explain` keyword for specified query statement 
                 Key: IOTDB-1276
                 URL: https://issues.apache.org/jira/browse/IOTDB-1276
             Project: Apache IoTDB
          Issue Type: New Feature
            Reporter: Xiangdong Huang


Now, the server supports using `debug_state` to print detailed query log.

However, the parameter will print log for all queries, which makes a log storm and it is hard to find useful info.

Therefore, we'd like to abandon `debug_state` switch, and use a new Syntax in SQL: explain.

 

In the first version, the detailed trace will not be transferred to the client. Instead, it is stored in server's log_query_debug.log.

 

e.g., explain select * from root limit 100;

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)