Re: RFC: planner statistics in 7.2y

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: RFC: planner statistics in 7.2y
Date: 2001-04-19 23:10:27
Message-ID: 23209.987721827@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> that a pure ANALYZE command needs only a read lock on the target table,
>> not an exclusive lock as VACUUM needs, so it's much more friendly to
>> concurrent transactions.

> 7.1 already does the ANALYZE part of VACUUM ANALYZE with lighter
> locking.

Right, but you still have to run through the VACUUM part, which will
hold down an exclusive lock for a considerable amount of time (if the
table is big).

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Philip Warner 2001-04-20 00:44:05 Re: RFC: planner statistics in 7.2
Previous Message Bruce Momjian 2001-04-19 23:03:06 Re: RFC: planner statistics in 7.2y