【问题标题】:How to record the sql command while debugging in TDengine database?TDengine数据库调试时如何记录sql命令?
【发布时间】:2021-09-08 08:15:24
【问题描述】:

TDengine数据库调试时如何记录SQL命令?
我想将 SQL 命令记录保存在 TDengine 数据库中以检查 SQL 命令是否与预期相同。有什么方法可以实现吗?

【问题讨论】:

    标签: tdengine


    【解决方案1】:

    在 /etc/taos/tao.cfg 或 C:\TDengine\cfg\taos.cfg 文件中,您可以更改以下设置

    # enable/disable recording the SQL in taos client
    # enableRecordSql    0
    

    # enable/disable recording the SQL in taos client
    enableRecordSql    1
    

    【讨论】:

      猜你喜欢
      • 2010-12-21
      • 1970-01-01
      • 1970-01-01
      • 2011-02-26
      • 2019-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-06-17
      相关资源
      最近更新 更多