-
Notifications
You must be signed in to change notification settings - Fork 0
Parallel cypher import #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your example contains also the content from querying GQLAlchemy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please update this PR
To run Memgraph Community using Docker: | ||
|
||
```bash | ||
docker run -it --rm -p 7687:7687 memgraph/memgraph:3.1.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
memgraph/memgraph-mage:3.2
|
||
This example was built and tested with: | ||
|
||
- **Memgraph v3.1.1** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Memgraph MAGE v3.2
1. **Run cypher_file_splitter_script.py** - helper script to split pokec dataset into nodes and relationships and saving into sperate folder. | ||
2. **Run multiprocess_import_test.py** | ||
- you should create proper indices before hand in this case it is: | ||
-`CREATE INDEX ON :User;` | ||
-`CREATE INDEX ON :User(id);` | ||
- this script first loads nodes than relationships and uses 8 processes for parallel import | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also the script can execute STORAGE MODE IN_MEMORY_ANALYTICAL
, DROP GRAPH
and creation of indices
Summary
Please explain what you're showcasing at a best practice.
General checklist
README.md checklist