Skip to content

Commit 7ec5560

Browse files
Document executionPlanCacheKeyHash and executableQueryCacheHit (#2064) (#2069)
Cherry-picked from #2064 Co-authored-by: Henrik Nyman <[email protected]>
1 parent aed48c4 commit 7ec5560

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

modules/ROOT/pages/monitoring/logging.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,7 @@ If the type of the log entry is `query`, these additional fields are available:
11971197

11981198
| id
11991199
| The query ID.
1200+
The ID is incremental, starting from 1 and resetting upon every Neo4j restart.
12001201
Included when xref:configuration/configuration-settings.adoc#config_db.logs.query.enabled[`db.logs.query.enabled`] is `VERBOSE`.
12011202

12021203
| elapsedTimeMs
@@ -1261,6 +1262,16 @@ See <<gql-error-information, GQL error information>> for details on the contents
12611262
| The query plan.
12621263
Included when xref:configuration/configuration-settings.adoc#config_db.logs.query.plan_description_enabled[`db.logs.query.plan_description_enabled`] is `true`.
12631264

1265+
| executionPlanCacheKeyHash
1266+
| The 32-bit hash of the cache key used to cache the execution plan.
1267+
It is a fixed-length 8-character string of a hex-encoded integer value.
1268+
Enabled by default only in the JSON format.
1269+
If multiple query executions use the same cached execution plan, their hashes should match.
1270+
For `event=start`, the value is `00000000`.
1271+
1272+
| executableQueryCacheHit
1273+
| Whether the query string matched a cached execution plan.
1274+
12641275
|===
12651276

12661277
If the type of the log entry is `transaction`, the following additional fields are available:
@@ -1286,6 +1297,7 @@ Either same as `authenticatedUser` or an impersonated user.
12861297

12871298
| transactionId
12881299
| ID of the transaction.
1300+
12891301
|===
12901302

12911303
[role=label--new-5.25]

0 commit comments

Comments
 (0)