Re: optimizing vacuum truncation scans - Mailing list pgsql-hackers

From Tom Lane
Subject Re: optimizing vacuum truncation scans
Date
Msg-id 7892.1432758832@sss.pgh.pa.us
Whole thread Raw
In response to Re: optimizing vacuum truncation scans  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> As it is currently, it is not clear what purpose nonempty_pages serves.

It's to allow an early exit at vacuumlazy.c:271 in case there is no chance
of deleting a useful number of pages.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Gaetano Mendola
Date:
Subject: Possible pointer dereference
Next
From: Tom Lane
Date:
Subject: Re: Construction of Plan-node by CSP (RE: Custom/Foreign-Join-APIs)