Skip to content
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

[Project] Handle thousands of node or edge types #588

Open
3 of 7 tasks
kmcginnes opened this issue Sep 5, 2024 · 1 comment
Open
3 of 7 tasks

[Project] Handle thousands of node or edge types #588

kmcginnes opened this issue Sep 5, 2024 · 1 comment
Labels
database support Issues related to adding or changing the databases servers or languages supported reliability Issues relating to improvements in reliability

Comments

@kmcginnes
Copy link
Collaborator

kmcginnes commented Sep 5, 2024

There have been a couple of reports of errors due to queries simply being too large. This is most likely caused by the queries in the system that list out every single node type or edge type to fulfill its function. When you have thousands of node or edge types, these queries can become quite large.

There are also some UI elements that list all the node or edge types. Thes likely have performance issues.

Queries that enumerate all node or edge types

  • Fetch node properties for each node type
  • Fetch edge properties for each edge type
  • Keyword search for all node types

Related issues

Tasks

@kmcginnes kmcginnes changed the title [Project] Split large requests in to batches [Project] Handle thousands of node or edge types Sep 5, 2024
@kmcginnes kmcginnes added reliability Issues relating to improvements in reliability database support Issues related to adding or changing the databases servers or languages supported labels Sep 5, 2024
@kmcginnes kmcginnes added this to the Release 1.10.1 milestone Sep 5, 2024
@kmcginnes
Copy link
Collaborator Author

This video shows some of the lag from a database with 3,000 node types and 1,800 edge types.

  • Apple M1 Max
  • 64 GB
CleanShot.2024-09-09.at.10.34.26.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database support Issues related to adding or changing the databases servers or languages supported reliability Issues relating to improvements in reliability
Projects
None yet
Development

No branches or pull requests

1 participant