Skip to content

Commit bb92676

Browse files
Document executionPlanCacheKeyHash and executableQueryCacheHit (#2064)
Hi @henriknyman, it seems that those two log entries were missing in the docs. Could you please take a look to see if I have documented them correctly? Also, in which version have they been introduced? Thanks a lot! --------- Co-authored-by: Henrik Nyman <[email protected]>
1 parent c4db484 commit bb92676

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
@@ -1222,6 +1222,7 @@ If the type of the log entry is `query`, these additional fields are available:
12221222

12231223
| id
12241224
| The query ID.
1225+
The ID is incremental, starting from 1 and resetting upon every Neo4j restart.
12251226
Included when xref:configuration/configuration-settings.adoc#config_db.logs.query.enabled[`db.logs.query.enabled`] is `VERBOSE`.
12261227

12271228
| elapsedTimeMs
@@ -1286,6 +1287,16 @@ See <<gql-error-information, GQL error information>> for details on the contents
12861287
| The query plan.
12871288
Included when xref:configuration/configuration-settings.adoc#config_db.logs.query.plan_description_enabled[`db.logs.query.plan_description_enabled`] is `true`.
12881289

1290+
| executionPlanCacheKeyHash
1291+
| The 32-bit hash of the cache key used to cache the execution plan.
1292+
It is a fixed-length 8-character string of a hex-encoded integer value.
1293+
Enabled by default only in the JSON format.
1294+
If multiple query executions use the same cached execution plan, their hashes should match.
1295+
For `event=start`, the value is `00000000`.
1296+
1297+
| executableQueryCacheHit
1298+
| Whether the query string matched a cached execution plan.
1299+
12891300
|===
12901301

12911302
If the type of the log entry is `transaction`, the following additional fields are available:
@@ -1311,6 +1322,7 @@ Either same as `authenticatedUser` or an impersonated user.
13111322

13121323
| transactionId
13131324
| ID of the transaction.
1325+
13141326
|===
13151327

13161328
[[gql-error-information]]

0 commit comments

Comments
 (0)