On Fri, Oct 30, 2015 at 8:53 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
>> Of course, if we could avoid the pgstat check completely that would be
>> even better. The amount of pgstat traffic that causes is ridiculous.
>
> Good point ... shouldn't we have already checked the stats before ever
> deciding to try to claim the table?
If forces another pg_stat just before it claims the table, in case the
table had just finished being vacuumed.
Cheers,
Jeff