-
Notifications
You must be signed in to change notification settings - Fork 412
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
Performance issues with edge creation for larger dataset with 83K edges #1925
Comments
Do you have indexes on related fields used to create edge relationship? |
Code.txt { |
Here is index structure I found helpful:
Please, replace <index_name>, <schema/graph_name>, <vertice_table_name>, <property_name> with applicable values. This way index will assist in matching on specific field in the property set, unless you need to match on all properties. |
This would take some time, I will let you know once I have the data, thanks for the suggestions. |
Np at all. |
import json Original JSON datadata = { def add_entries(data, num_entries):
Specify the number of entries to addnum_entries = 100000 Add the entriesadd_entries(data, num_entries) Print the total number of child3 entries to confirmprint(f"Total child3 entries: {len(data['root']['child3'])}") Optional: Save the updated data to a filewith open('big_data.json', 'w') as file: print("Data added successfully and saved to updated_data.json") Run this python program to get a big data, I am unable to imprt the json due to size restriction of 25MB |
Thank you |
This issue is stale because it has been open 60 days with no activity. Remove "Abondoned" label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for further 14 days with no activity. |
Main.txt
Describe the bug
I am creating 83K vertices and 83K edges by parsing a json file with JAVA. The vertex creation takes about 1 min however for edges it takes around 1hr+.
How are you accessing AGE (Command line, driver, etc.)?
What data setup do we need to do?
The text was updated successfully, but these errors were encountered: