cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

Automate and record Neo4j loading time

Dear all,

I am working on testing the DB loading time for different graph schemas and each need to run 30 times. I want to automate the database drop and creation and load from neo4j-admin process, but I'm not sure how to get the neo4j-admin running result back to the driver. Can anyone help with this or have other suggestions?

my database loading process includes:

  1. Create a database using cypher - CREATE or REPLACE database mv4admin; mv1admin;
  2. Load the data from /import folder - one-line command using neo4j-admin impot (Need help with this step)
  3. Record the loading time
  4. Drop the database
  5. Recreate a new database

Thanks in advance!

Mengjia

0 REPLIES 0