On 5 September 2016 at 21:58, Claudio Freire <klaussfre...@gmail.com> wrote:
>>>> How long does that part ever take? Is there any substantial gain from this?
> Btw, without a further patch to prefetch pages on the backward scan
> for truncate, however, my patience ran out before it finished
> truncating. I haven't submitted that patch because there was an
> identical patch in an older thread that was discussed and more or less
> rejected since it slightly penalized SSDs.
OK, thats enough context. Sorry for being forgetful on that point.
Please post that new patch also.
This whole idea of backwards scanning to confirm truncation seems
wrong. What we want is an O(1) solution. Thinking.
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Sent via pgsql-hackers mailing list (firstname.lastname@example.org)
To make changes to your subscription: