Replies: 3 comments 1 reply
-
I like this proposal and it shouldn't be hard to implement. In ArcadeDB indexes are always split one per bucket. At a high level you use a TypeIndex, but under the hood there is one index per bucket, so checking if an entry is present should be trivial. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Created a new issue: #719 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Great! Looking forward to the new release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using buckets is a great way of speeding up the queries and achieving scalability, but currently it is not possible to use a bucket as a target for an UPSERT.
This means that UPSERT has to be implemented as two separate queries, one to find out if the record exists, and the other to update or insert as appropriate.
In a scenario in which buckets are used instead of indexes on types, this requires two full scans of the bucket, which could have a detrimental effect on performance.
Beta Was this translation helpful? Give feedback.
All reactions