There are some practical performance challenges when the (sparse) tree gets deeper, as I mentioned in my previous response.
15 karma · joined September 15, 2020
There are some practical performance challenges when the (sparse) tree gets deeper, as I mentioned in my previous response.
We would probably need more than 64 bits for the cell-IDs, which is fine given that the IDs are being stored in the inverted index. And since we only represent the actual cells that are populated, it would likely not effect the index size. The main performance challenge is that as the trees get deeper, the number of ancestors one has to search increases -- unlike subtrees, which can be searched with a single range lookup regardless of depth, the ancestors are not in a single range. This can slow down queries even if most of the ancestor space is empty. We have some ideas to prune this search.
I am not familiar with PG Pointcloud. Thanks for the link.