Skip to content

Commit 4aeda83

Browse files
committed
Warn users that changing the store format also changes the built-in _id property and elementID
1 parent 6c22c13 commit 4aeda83

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/ROOT/pages/database-internals/store-formats.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ CREATE DATABASE blockdb OPTIONS {storeFormat: 'block'}
118118
Starting from 5.23, `block` format is the preferred format for Enterprise Edition due to its superior performance and scalability.
119119
Therefore, migrating all databases to `block` format is recommended to ensure optimal performance.
120120

121+
[NOTE]
122+
====
123+
Be aware that changing the store format changes the built-in _id property and elementID of nodes and relationships.
124+
This is because _id represents the elements physical location in the store file.
125+
====
126+
121127
Changing the store format is an IO-intensive offline operation, which re-writes all data in the new format.
122128
Therefore, it requires that:
123129

0 commit comments

Comments
 (0)