database - cosmos db 索引策略中的空包含路径
问题描述
我有一个具有以下索引策略的 cosmos DB
{
"indexingMode": "consistent",
"automatic": true,
"includedPaths": [],
"excludedPaths": [
{
"path": "/*"
},
{
"path": "/\"_etag\"/?"
}
]
}
如您所见,includedPaths
它是空的,但我很惊讶地看到索引大小是62.6GB。我想知道当没有要索引的内容时(根据索引策略),索引中的所有数据是什么。
这是其他数据库指标数据大小-> 1.5TB
索引大小 -> 62.6GB
文档数 -> 746M
解决方案
推荐阅读
- javascript - Google 表格表单提交触发问题
- java - REST API 中的幂等和安全 HTTP 方法之间的区别
- javascript - Javascript/Jquery 无法将 dom 元素设置为 ajax 结果
- php - 通过 PHP 执行 shell 命令并获取输出信息是否来自 stdout 和 stderr
- java - 遍历java中的对象列表
- sql - SQL Server:按 Datetime2 时间戳的时间部分排序
- node.js - 我无法在端口 80 上收听 Express 服务器
- r - 用 NA 替换所有零列
- java - 如何从数组中获取元素,使总和等于给定值
- grails - Grails 2.5.6 奇怪的过滤器行为