Research Article
Analysis of Traffic Accident Based on Knowledge Graph
Table 4
Comparison of methods for importing data in batches into Neo4j.
| Methods | Running speed | Advantage | Disadvantage | Scope of application |
| CREATE | Slow (1 k nodes/s) | The statement is simple, easy to use and understand and can realize the real-time insertion of new data | Slow speed | 1 − 1 w nodes | LOAD CSV | General (5 k nodes/s) | In addition to the advantages described in the CREATE, you can load not only local CSV, but also remote CSV | The data must be converted to CSV | 1 w − 10 w nodes | Neo4j import | Fast (tens of thousands of nodes/s) | The data import speed is fast and the running time is short | Neo4j must be disabled during the import process; you cannot reimport new data using import in an established database | Over ten million nodes |
|
|