You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/import.adoc
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,21 @@ For information on `LOAD CSV`, see the link:{neo4j-docs-base-uri}/cypher-manual/
61
61
For in-depth examples of using the command `neo4j-admin database import`, refer to the xref:tutorial/neo4j-admin-import.adoc[Tutorials -> Importing data].
62
62
====
63
63
64
+
[[import-memory-controls]]
65
+
=== Import memory controls
66
+
67
+
`neo4j-admin database import` uses two main memory controls:
68
+
69
+
* JVM heap, configured for the admin process through the usual configuration sources described in xref:neo4j-admin-neo4j-cli.adoc#_configuration[Neo4j Admin and Neo4j CLI -> Configuration].
70
+
* Off-heap working memory, controlled by `--max-off-heap-memory`.
71
+
If this option is not provided, the importer derives a budget from the available system resources.
72
+
73
+
The importer does not use the `server.memory.pagecache.size` configuration setting to size import memory.
74
+
The off-heap budget is shared across page cache and other off-heap data structures used during import.
75
+
In dry-run and verbose output, `Configured max memory` shows the effective off-heap memory budget available to the import command.
76
+
77
+
[[import-file-considerations]]
78
+
=== Input file considerations
64
79
These are some things you need to keep in mind when creating your input files:
65
80
66
81
* Fields are comma-separated by default but a different delimiter can be specified.
@@ -289,7 +304,8 @@ Possible values are:
289
304
| {check-mark}
290
305
291
306
|--max-off-heap-memory=<size>
292
-
|Maximum memory that the command can use for page cache and various caching data structures to improve performance.
307
+
|Maximum off-heap memory that the command can use for page cache and various caching data structures to improve performance.
308
+
Use this option to tune import memory usage; the importer does not use the `server.memory.pagecache.size` configuration setting for this purpose.
293
309
Values can be plain numbers, such as 10000000, or, for example, 20G for 20 gigabytes, or 70%, which will amount to 70% of currently free memory on the machine.
294
310
|90%
295
311
| {check-mark}
@@ -981,7 +997,8 @@ Possible values are:
981
997
| {check-mark}
982
998
983
999
|--max-off-heap-memory=<size>
984
-
|Maximum memory that the command can use for page cache and various caching data structures to improve performance.
1000
+
|Maximum off-heap memory that the command can use for page cache and various caching data structures to improve performance.
1001
+
Use this option to tune import memory usage; the importer does not use the `server.memory.pagecache.size` configuration setting for this purpose.
985
1002
Values can be plain numbers, such as 10000000, or, for example, 20G for 20 gigabytes, or 70%, which will amount to 70% of currently free memory on the machine.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/neo4j-admin-neo4j-cli.adoc
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -273,6 +273,8 @@ Administration operations use the configuration specified in the _neo4j.conf_ fi
273
273
Sharing configuration between the DBMS and its administration tasks makes sense as most settings are the same.
274
274
In some cases, however, it is better to override some settings specified in _neo4j.conf_ by configuring the tasks (instead of updating the config settings in the _neo4j.conf_ file) because administration tasks generally use fewer resources than the DBMS.
275
275
For instance, if the page cache of your DBMS is configured to a very high value in _neo4j.conf_, and you want to override this because the admin tasks like backup do not need so much memory, you provide configuration for the admin tasks instead of updating the page cache setting in the _neo4j.conf_ file.
276
+
`neo4j-admin database import` does not use `server.memory.pagecache.size` for import memory sizing.
277
+
Instead, use `--max-off-heap-memory` to tune the command's off-heap working memory; see xref:import.adoc#import-memory-controls[Import -> Import memory controls].
276
278
277
279
There are several options for overriding settings specified in the _neo4j.conf_ file using administration tasks:
0 commit comments