-
Notifications
You must be signed in to change notification settings - Fork 59
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
Selecting a vertex that contains lots of edges does not return all edges in the ODocument field #150
Comments
This is due to the fact that, after a threshold (40 edges by default), edge pointers are stored in a specific structure (called SBTreeBonsai) that is not supported by the .NET driver. My short-term advice here is to set the ridBag.embeddedToSbtreeBonsaiThreshold (that represents that threshold) on the server to a very high value, so that Bonsai structures are never used You can do it adding the following option to the command line:
If you already have a DB and you want convert Bonsai structure to regular (embedded) pointers, you can also set the following:
(set it to the same value as the previous one) and then run an I hope it helps Thanks Luigi |
Hi Luigi, Thanks for the quick response. May I know what are the difference between the Bonsai structure and regular embedded pointers? Will there be any impact on performance and memory usage for using the regular pointers? Will the update, traverse operations be slower? Thanks |
With Embedded Ridbags, all the edge RIDs are stored in the vertex record. With SBTreeBonsai Ridbags, edge rids are stored in a tree structure, that is saved on a separate file (*.sbc files) and the vertex just contains a pointer to that structure. Advantages and disadvantages:
Thanks Luigi |
When querying a vertex using database.Select or database.Query, the resulting ODocument does not contains any in or out edges if the vertex has many edges. (1000+)
The text was updated successfully, but these errors were encountered: