Skip to content

Commit 75ad645

Browse files
Rewrote the note
1 parent b4b4b02 commit 75ad645

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

modules/ROOT/pages/backup-restore/copy-database.adoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,14 @@ For more information on the block format, see xref:database-internals/store-form
212212

213213
[NOTE]
214214
====
215-
In addition to the `--from-pagecache=<size>` option, a new option `--max-off-heap-memory` is introduced in Neo4j 2025.01.
215+
In Neo4j 2025.01, the `--from-pagecache=<size>` option is replaced with a dual-named option: `--from-pagecache, --max-off-heap-memory=<size>`.
216+
This change helps you to control off-heap memory rather than just allocate cache.
216217
217-
You can still use the `--from-pagecache` option to speed up the copy operation by specifying how much cache to allocate when reading the source.
218-
The `--from-pagecache` should be assigned whatever memory you can spare since Neo4j does random reads from the source.
219-
Note that the `--from-pagecache` option is considered to be deprecated.
218+
Both options control the same underlying parameter, which determines the maximum amount of off-heap memory available for reading the source database during the copy process.
219+
220+
To configure this value, you can use either `--from-pagecache=<size>` or `--max-off-heap-memory=<size>`.
221+
222+
Note that the `--from-pagecache` option is considered to be deprecated and may be removed in future versions.
220223
====
221224

222225

0 commit comments

Comments
 (0)