Re: Autoanalyze and OldestXmin - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: Autoanalyze and OldestXmin
Date
Msg-id FD21FC80-4C2D-47D8-903D-A2E9AD9C3945@gmail.com
Whole thread Raw
In response to Re: Autoanalyze and OldestXmin  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 09-Jun-2011, at 8:29 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Robert Haas <robertmhaas@gmail.com> writes:
>> On Thu, Jun 9, 2011 at 10:52 AM, Pavan Deolasee
>> <pavan.deolasee@gmail.com> wrote:
>>>> I am wondering if we shouldn't be asking ourselves a different
>>>> question: why is ANALYZE running long enough on your tables for this
>>>> to become an issue?  How long is it taking?
>
>>> The log file attached in the first post has the details; it's taking around 5 mins for the accounts table with 50
scalefactor and 50 clients 
>
>> Wow, that's slow.  Still, what if the user were doing a transaction of
>> comparable size?  It's not like ANALYZE is doing a gigantic amount of
>> work.
>
> I wonder what vacuum cost delay settings are in use ...
>

Default settings with 512Mb shared buffers

Thanks.
Pavan

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Autoanalyze and OldestXmin
Next
From: Robert Haas
Date:
Subject: Re: release slippage