23. What is the compression algorithm used to store indexes in MongoDB? Choose the best answer:
题目选项
- A.prefix
- B.gzip
- C.snappy
- D.bson
- E.zlib
答案置信度:高
正确答案:A
解析语言:中文
MongoDB 对索引键使用前缀压缩(prefix compression)来减小索引页体积(A)。snappy、zlib、gzip 是 WiredTiger 存储引擎对集合数据(文档)可选的压缩算法,bson 是数据存储格式而不是压缩算法,因此 B 至 E 都不对。