On 07/19/2016 06:22 PM, Tomas Vondra wrote:
>
> I don't expect to have much time to work on this in the next few weeks,
> so if anyone wants to grab this and make it a proper patch, be my guest.
Meh, who am I kidding. I've spent a bit more time hacking on this
anyway. Attached is v3, fixing various thinkos and optimizations, checks
in the code and especially docs explaining the main ideas. It's far from
perfect but much better than the previous two versions.
And it actually performs even better than the previous versions (about
2x faster on the 50k case).
regards
--
Tomas Vondra http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services