Skip to content

Does the number of properties affect performance ? #5342

Answered by wey-gu
PhungQuocLuong-git asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @PhungQuocLuong-git ,

Generally, we should be careful when deciding to put info as properties, and yes more properties will require more resources. That is to fetch more data when returning properties/to cache less vertices/edges in same size of block caches of the rocksdb.

When properties are needed, don't worry, just put them there, it should work but just be more costly(spawning the cluster with more ram will help). One thing to be highlighted is we should always precisely express your query to only needed properties(when none of the prop is needed, don't return).

Regarding whether to put certain things as property or a vertex/edge, it depends on the visit pattern of the system. Y…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PhungQuocLuong-git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants