Re: RFC: planner statistics in 7.2y - Mailing list pgsql-hackers

From Tom Lane
Subject Re: RFC: planner statistics in 7.2y
Date
Msg-id 23209.987721827@sss.pgh.pa.us
Whole thread Raw
In response to Re: RFC: planner statistics in 7.2y  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: RFC: planner statistics in 7.2y
Next
From: Tom Lane
Date:
Subject: Re: RFC: planner statistics in 7.2