说明查询的指标。
JSON 表示法 |
---|
{ "planSummary": { object ( |
字段 | |
---|---|
planSummary |
查询的规划阶段信息。 |
executionStats |
执行查询时的汇总统计信息。仅当 |
PlanSummary
查询的规划阶段信息。
JSON 表示法 |
---|
{ "indexesUsed": [ { object } ] } |
字段 | |
---|---|
indexesUsed[] |
为查询选择的索引。For example: [ {"queryScope": "Collection", "properties": "(foo ASC, name ASC)"}, {"queryScope": "Collection", "properties": "(bar ASC, name ASC)"} ] |
ExecutionStats
查询的执行统计信息。
JSON 表示法 |
---|
{ "resultsReturned": string, "executionDuration": string, "readOperations": string, "debugStats": { object } } |
字段 | |
---|---|
resultsReturned |
返回的结果总数,包括文档、预测、汇总结果、键。 |
executionDuration |
在后端执行查询的总时间。 此时长以秒为单位,最多包含九个小数位,以“ |
readOperations |
计费读取操作总数。 |
debugStats |
查询执行时的调试统计信息。请注意,调试统计信息可能会随着 Firestore 的发展而发生变化。It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } } |