Search Postgresql Archives

Re: Unexpectedly high disk space usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 7, 2012 at 1:58 PM, Scott Marlowe <scott.marlowe@xxxxxxxxx> wrote:
> On Wed, Nov 7, 2012 at 1:42 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
>> Lists <lists@xxxxxxxxxxxxxxxxxx> writes:
>>
>>> ... because it
>>> occasionally causes transactions and queries to hang when an update
>>> causes a vacuum mid-day, effectively taking us offline randomly.
>>
>> I suspect this claim is based on ancient and no longer very relevant
>> experience.
>
> My experience is that if autovac is causing problems with stalled
> queries etc you're either A: running ancient pg versions (pre 8.3), B:
> Running WAY too aggressive settings in autovac (100 threads, no nap
> time, cost limit of 100000 etc.) or C: Your IO subsystem is absolute
> crap.
>
> On any modern server, default autovac settings from 8.3 and on should
> only have the possible problem of not being tuned aggressively enough.

Oh another failure scenario up there is that you're running DDL in
production, which is stalling behind an autovac, and in turn the two
are stalling other queries.  This has happened for me once or twice on
more modern versions (8.3 and 8.4)


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux