Most of data stored in the object database is in a red-black tree. Currently, every query searches from the root to the leaf, the complexity is O(log(n)). Generally, some data is much hotter than others, so it makes sense to cache the hottest results (pointers or addresses) to avoid searching from root to leaf for same data again and again.
Things to be done:
Thoughts?
Most of data stored in the object database is in a red-black tree. Currently, every query searches from the root to the leaf, the complexity is
O(log(n)). Generally, some data is much hotter than others, so it makes sense to cache the hottest results (pointers or addresses) to avoid searching from root to leaf for same data again and again.Things to be done:
Thoughts?