Open GoogleCodeExporter opened 9 years ago
I just captured Yingyi's question here:
------------
In theory, a returned primary key could be deleted because secondary index
search does not lock anything...
Is the overhead mostly from pin/un-pin BF pages?
------------
Original comment by kiss...@gmail.com
on 10 Aug 2015 at 4:15
That's correct. I missed that.
But still the possibility to see the deleted secondary key from the secondary
index in reality could be very low.
We need to profile the pros and cons of using bloomfilter in this situation.
Probably, pin/unpin will be the major cost if the page is not in the
buffercache already plus the overhead of going through buffer cache's critical
section. Other than that, computing hash value will be the next major cost.
Original comment by kiss...@gmail.com
on 10 Aug 2015 at 4:27
Original issue reported on code.google.com by
kiss...@gmail.com
on 10 Aug 2015 at 8:03