【问题标题】:Cassandra configuration config by cqlshcqlsh 的 Cassandra 配置配置
【发布时间】:2020-11-13 23:47:18
【问题描述】:

Cassandra 版本:3.9,CQLSH 版本:5.0.1

我可以使用 cqlsh 查询 Cassandra 配置 (cassandra.yaml) 吗?

【问题讨论】:

    标签: cassandra cql cassandra-3.0 cqlsh


    【解决方案1】:

    不,这在您的版本中是不可能的。只能从具有所谓虚拟表的 Cassandra 4.0 开始,并且有一个用于配置的特殊表:system_views.settings

    cqlsh:test> select * from system_views.settings ;
     name                                            | value
    -------------------------------------------------+-------
         transparent_data_encryption_options_enabled | false
       transparent_data_encryption_options_iv_length |    16
                                       trickle_fsync | false
                        trickle_fsync_interval_in_kb | 10240
                      truncate_request_timeout_in_ms | 60000
    ....
    

    您可以在following blog post from TLP 中找到有关虚拟表的更多信息。

    同时,您可以通过 JMX 访问配置参数。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-12-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-29
      • 2014-04-28
      • 1970-01-01
      • 2019-03-13
      相关资源
      最近更新 更多