【问题标题】:seeing memory_used_index_bytes having 4G while there are no index在没有索引的情况下看到具有 4G 的 memory_used_index_bytes
【发布时间】:2018-08-21 18:16:15
【问题描述】:

Aerospike 版本:社区版 - 4.0.11

我们的 aerospike 设置中有大量数据,但没有设置索引。 aql 命令show indexes 没有显示任何内容,但是当我运行asinfo "namespace/my_namespace" 时,我看到字段中有很多字节:memory_used_index_bytes,与docs 一样:

此命名空间的索引占用的内存量。对于服务器版本 4.3 及更高版本,如果您的索引未存储在 DRAM(持久化)中,请参阅 index_flash_used_bytes。对于 index-type 设置为 flash(持久索引),该值为 0。

这个内存实际上包含什么,是主键使用的索引吗?

【问题讨论】:

    标签: aerospike


    【解决方案1】:

    正确,这是用于主索引的内存,每条记录 64 字节。也请参阅此页面:https://www.aerospike.com/docs/operations/plan/capacity/

    【讨论】:

      猜你喜欢
      • 2010-12-06
      • 1970-01-01
      • 1970-01-01
      • 2011-06-19
      • 2013-10-16
      • 1970-01-01
      • 2017-05-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多