Skip to content

Commit 965efdf

Browse files
Add a note that the users do not need to compact the store prior to running neo4j-admin database migrate (#1679) (#1685)
Co-authored-by: Reneta Popova <reneta.popova@neo4j.com>
1 parent 6d6eef0 commit 965efdf

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

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

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,23 @@ Changing the store format of an existing database in a standalone server require
7474
The following steps assume that you want to migrate the database called `mydb` to `block` format but the same steps apply to other formats.
7575

7676
. Stop the database using the Cypher command `STOP DATABASE mydb`.
77-
. Change the store format of the stopped database using one of the following options:
77+
. Change the store format of the stopped database using *one* of the following options:
7878

7979
* Migrate an existing database using xref:tools/neo4j-admin/migrate-database.adoc[`neo4j-admin database migrate`] command.
80+
+
81+
[IMPORTANT]
82+
====
83+
You do not need to run `neo4j-admin database copy` with the `--compact-node-store` option prior to running `neo4j-admin database migrate`.
84+
The database is inherently compacted during the migration process.
85+
====
86+
+
8087
For example:
8188
+
8289
[source,shell]
8390
----
8491
bin/neo4j-admin database migrate --to-format="block" mydb
8592
----
86-
+
93+
8794
* Pass the new store format as an argument when using the xref:backup-restore/copy-database.adoc[`neo4j-admin database copy`] command to create a copy of an existing database.
8895
For example:
8996
+
@@ -131,6 +138,12 @@ bin/neo4j-admin database restore --from-path=/path/to/your-backup-folder/mydb-20
131138
----
132139
. Migrate the restored database to `block` format:
133140
+
141+
[IMPORTANT]
142+
====
143+
You do not need to run `neo4j-admin database copy` with the `--compact-node-store` option prior to running `neo4j-admin database migrate`.
144+
The database is inherently compacted during the migration process.
145+
====
146+
+
134147
[source,shell]
135148
----
136149
bin/neo4j-admin database migrate --to-format="block" mydb

0 commit comments

Comments
 (0)