Skip to content

Commit 1545e67

Browse files
authored
Improve Changing the store format (neo4j#1475)
1 parent 4f9125d commit 1545e67

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

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

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,23 @@ neo4j-admin database import full ... --format=block blockdb
5050
// CREATE DATABASE blockdb OPTIONS {storeFormat: 'block'}
5151
// ----
5252

53-
=== Changing the format of existing databases
53+
=== Changing the store format of existing databases
5454

55-
Changing the store format is possible by re-writing all data in the new format using one of the following options:
55+
Changing the store format is possible by re-writing all data in the new format.
56+
Therefore, it requires that:
57+
58+
* The database is offline.
59+
* There is enough disk space for both old and new copies of the database.
60+
* The graph fits within the new <<store-formats-entity-limits, format's entity limits>>.
61+
62+
[NOTE]
63+
====
64+
Changing the store format can be a time-consuming operation, depending on the size and complexity of the data in the database.
65+
Performance heavily depends on the speed of the disk and the amount of available memory.
66+
====
67+
68+
. Stop the database using the Cypher command `STOP DATABASE mydb`.
69+
. Change the store format of the stopped database using one of the following options:
5670

5771
* Migrate an existing database using xref:tools/neo4j-admin/migrate-database.adoc[`neo4j-admin database migrate`] command.
5872
For example:
@@ -69,14 +83,7 @@ For example:
6983
----
7084
neo4j-admin database copy --to-format="block" mydb blockdb
7185
----
72-
73-
Changing the store format requires that:
74-
75-
* The database is offline.
76-
* There is enough disk space for both old and new copies of the database.
77-
* The graph fits within the new <<store-formats-entity-limits, format's entity limits>>.
78-
79-
Changing store format can be a time-consuming operation, depending on the size and complexity of the data in the database. Performance heavily depends on the speed of the disk and the amount of available memory.
86+
. After the successful completion, start the database using the Cypher command `START DATABASE mydb`.
8087

8188
=== Verify the store format
8289

0 commit comments

Comments
 (0)