クエリの指標について説明します。
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" } } |