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/tools/neo4j-admin/neo4j-admin-import.adoc
+43-19Lines changed: 43 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@
4
4
5
5
:rfc-4180: https://tools.ietf.org/html/rfc4180
6
6
7
-
`neo4j-admin database import` writes CSV data into Neo4j's native file format as fast as possible. You should use this tool when:
7
+
`neo4j-admin database import` writes CSV data into Neo4j's native file format as fast as possible. +
8
+
From Neo4j 5.25, Neo4j also provides support for the Parquet file format in a public beta version.
9
+
10
+
You should use this tool when:
8
11
9
12
* Import performance is important because you have a large amount of data (millions/billions of entities).
10
13
* The database can be taken offline and you have direct access to one of the servers hosting your Neo4j DBMS.
@@ -25,17 +28,6 @@ Change Data Capture does **not** capture any data changes resulting from the use
25
28
See link:{neo4j-docs-base-uri}/cdc/current/get-started/self-managed/#non-tx-log-changes/[Change Data Capture -> Key considerations] for more information.
26
29
====
27
30
28
-
[role=label--beta]
29
-
== Parquet file support
30
-
Starting with Neo4j 5.24, Neo4j provides support for the Parquet file format in a public beta version.
31
-
The additional parameter `--input-type [csv|parquet]` was introduced to explicitly tell the importer to use either CSV or Parquet.
32
-
Its value defaults to CSV if it is not defined.
33
-
34
-
Most of the parameters that can be used to configure the import are also valid for the Parquet format.
35
-
There are indicators in the parameter overview to point out which parameters are supported.
36
-
37
-
The xref:tools/neo4j-admin/neo4j-admin-import.adoc#import-tool-examples[examples] for CSV can also be used with Parquet.
38
-
39
31
== Overview
40
32
41
33
The `neo4j-admin database import` command has two modes both used for initial data import:
@@ -134,6 +127,21 @@ For more information, please contact Neo4j Professional Services.
134
127
135
128
=== Options
136
129
130
+
[role=label--beta]
131
+
.Parquet file support
132
+
[NOTE]
133
+
====
134
+
Starting with Neo4j 5.25, Neo4j provides support for the Parquet file format in a public beta version.
135
+
The additional parameter `--input-type [csv|parquet]` is introduced to explicitly tell the importer to use either CSV or Parquet.
136
+
Its value defaults to CSV if it is not defined.
137
+
138
+
Most of the parameters that can be used to configure the import are also valid for the Parquet format.
139
+
There are indicators in the <<full-import-options-table, `neo4j-admin database import full` options>> table to point out which parameters are not supported.
140
+
141
+
The xref:tools/neo4j-admin/neo4j-admin-import.adoc#import-tool-examples[examples] for CSV can also be used with Parquet.
142
+
====
143
+
144
+
[[full-import-options-table]]
137
145
.`neo4j-admin database import full` options
138
146
[options="header", cols="5m,10a,2m"]
139
147
|===
@@ -227,7 +235,7 @@ Possible values are:
227
235
228
236
|--input-type[=csv\|parquet]
229
237
label:beta[]
230
-
|File type to import.
238
+
|File type to import from. Can be csv or parquet. Defaults to csv.
231
239
|csv
232
240
233
241
|--legacy-style-quoting[=true\|false]
@@ -477,7 +485,7 @@ For example:
477
485
478
486
[source, shell, role=noplay]
479
487
----
480
-
bin/neo4j-admin database import full neo4j --nodes=import/movies.csv --nodes=import/actors.csv --relationships=import/roles.csv --schema=import/schema.cypher
488
+
bin/neo4j-admin database import full neo4j --nodes=import/movies.csv --nodes=import/actors.csv --relationships=import/roles.csv --schema=import/schema.cypher
@@ -658,6 +667,21 @@ If the database into which you import does not exist prior to importing, you mus
658
667
659
668
=== Options
660
669
670
+
[role=label--beta]
671
+
.Parquet file support
672
+
[NOTE]
673
+
====
674
+
Starting with Neo4j 5.25, Neo4j provides support for the Parquet file format in a public beta version.
675
+
The additional parameter `--input-type [csv|parquet]` is introduced to explicitly tell the importer to use either CSV or Parquet.
676
+
Its value defaults to CSV if it is not defined.
677
+
678
+
Most of the parameters that can be used to configure the import are also valid for the Parquet format.
679
+
There are indicators in the <<incremental-import-options-table, `neo4j-admin database import incremental` options>> table to point out which parameters are not supported.
680
+
681
+
The xref:tools/neo4j-admin/neo4j-admin-import.adoc#import-tool-examples[examples] for CSV can also be used with Parquet.
0 commit comments