github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/tdengine/configs/tdengine-taos-config.tpl (about)

     1  ########################################################
     2  #                                                      #
     3  #                  Configuration                       #
     4  #                                                      #
     5  ########################################################
     6  
     7  ######### 0. Client only configurations #############
     8  
     9  # The interval for CLI to send heartbeat to mnode
    10  # shellActivityTimer        3
    11  
    12  
    13  ############### 1. Cluster End point ############################
    14  
    15  # The end point of the first dnode in the cluster to be connected to when this dnode or the CLI utility is started
    16  # firstEp                   hostname:6030
    17  
    18  # The end point of the second dnode to be connected to if the firstEp is not available
    19  # secondEp
    20  
    21  
    22  ############### 2. Configuration Parameters of current dnode #####
    23  
    24  # The FQDN of the host on which this dnode will be started. It can be IP address
    25  # fqdn                      hostname
    26  
    27  # The port for external access after this dnode is started
    28  # serverPort                6030
    29  
    30  # The maximum number of connections a dnode can accept
    31  # maxShellConns             5000
    32  
    33  # The directory for writing log files, if you are using Windows platform please change to Windows path
    34  # logDir                    /var/log/taos
    35  
    36  # All data files are stored in this directory, if you are using Windows platform please change to Windows path
    37  # dataDir                   /var/lib/taos
    38  
    39  # temporary file's directory, if you are using Windows platform please change to Windows path
    40  # tempDir                   /tmp/
    41  
    42  # Switch for allowing to collect and report service usage information
    43  # telemetryReporting        1
    44  
    45  # Switch for allowing to collect and report crash information
    46  # crashReporting            1
    47  
    48  # The maximum number of vnodes supported by this dnode
    49  # supportVnodes             0
    50  
    51  # The interval of this dnode reporting status to mnode, [1..10] seconds
    52  # statusInterval            1
    53  
    54  # The minimum sliding window time, milli-second
    55  # minSlidingTime            10
    56  
    57  # The minimum time window, milli-second
    58  # minIntervalTime           10
    59  
    60  # The maximum allowed query buffer size in MB during query processing for each data node
    61  # -1 no limit (default)
    62  # 0  no query allowed, queries are disabled
    63  # queryBufferSize           -1
    64  
    65  # The compressed rpc message, option:
    66  #  -1 (no compression)
    67  #   0 (all message compressed),
    68  # > 0 (rpc message body which larger than this value will be compressed)
    69  # compressMsgSize           -1
    70  
    71  # query retrieved column data compression option:
    72  #  -1 (no compression)
    73  #   0 (all retrieved column data compressed),
    74  # > 0 (any retrieved column size greater than this value all data will be compressed.)
    75  # compressColData           -1
    76  
    77  # system time zone
    78  # timezone                  UTC-8
    79  
    80  # system time zone (for windows 10)
    81  # timezone              Asia/Shanghai (CST, +0800)
    82  
    83  # system locale
    84  # locale                    en_US.UTF-8
    85  
    86  # system charset
    87  # charset                   UTF-8
    88  
    89  # stop writing logs when the disk size of the log folder is less than this value
    90  # minimalLogDirGB           1.0
    91  
    92  # stop writing temporary files when the disk size of the tmp folder is less than this value
    93  # minimalTmpDirGB           1.0
    94  
    95  # if free disk space is less than this value, this dnode will fail to start
    96  # minimalDataDirGB          2.0
    97  
    98  # enable/disable system monitor
    99  monitor                   1
   100  monitorFqdn               localhost
   101  
   102  # The following parameter is used to limit the maximum number of lines in log files.
   103  # max number of lines per log filters
   104  # numOfLogLines             10000000
   105  
   106  # write log in async way: 1 - async, 0 - sync
   107  # asyncLog                  1
   108  
   109  # time period of keeping log files, in days
   110  # logKeepDays               0
   111  
   112  
   113  ############ 3. Debug Flag and levels #############################################
   114  
   115  # The following parameters are used for debug purpose only by this dnode.
   116  # debugFlag is a 8 bits mask: FILE-SCREEN-UNUSED-HeartBeat-DUMP-TRACE_WARN-ERROR
   117  # Available debug levels are:
   118  # 131: output warning and error
   119  # 135: output debug, warning and error
   120  # 143: output trace, debug, warning and error to log
   121  # 199: output debug, warning and error to both screen and file
   122  # 207: output trace, debug, warning and error to both screen and file
   123  
   124  # debug flag for all log type, take effect when non-zero value
   125  # debugFlag                 0
   126  
   127  # debug flag for timer
   128  # tmrDebugFlag              131
   129  
   130  # debug flag for util
   131  # uDebugFlag                131
   132  
   133  # debug flag for rpc
   134  # rpcDebugFlag              131
   135  
   136  # debug flag for jni
   137  # jniDebugFlag              131
   138  
   139  # debug flag for query
   140  # qDebugFlag                131
   141  
   142  # debug flag for client driver
   143  # cDebugFlag                131
   144  
   145  # debug flag for dnode messages
   146  # dDebugFlag                135
   147  
   148  # debug flag for vnode
   149  # vDebugFlag                131
   150  
   151  # debug flag for meta management messages
   152  # mDebugFlag                135
   153  
   154  # debug flag for wal
   155  # wDebugFlag                135
   156  
   157  # debug flag for sync module
   158  # sDebugFlag                135
   159  
   160  # debug flag for tsdb
   161  # tsdbDebugFlag             131
   162  
   163  # debug flag for tq
   164  # tqDebugFlag               131
   165  
   166  # debug flag for fs
   167  # fsDebugFlag               131
   168  
   169  # debug flag for udf
   170  # udfDebugFlag              131
   171  
   172  # debug flag for sma
   173  # smaDebugFlag              131
   174  
   175  # debug flag for index
   176  # idxDebugFlag              131
   177  
   178  # debug flag for tdb
   179  # tdbDebugFlag              131
   180  
   181  # debug flag for meta
   182  # metaDebugFlag             131
   183  
   184  # generate core file when service crash
   185  # enableCoreFile            1