Skip site navigation (1) Skip section navigation (2)

autovacuum workers warning

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: autovacuum workers warning
Date: 2011-10-25 19:56:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

Some time ago [1], I proposed print a message every time there isn't 
autovacuum slots available and it asks for another one. It is not a complete 
solution for autovacuum tuning but it would at least give us a hint that 
number of workers is insufficient to keep up with the current load. The 
accurate number of slots needed would be the optimal solution but that 
information is not free (it would have to check every table in the databases 
available to get the approximate number of slots needed. Approximate because 
some table could be finishing the operation). A new warning is better than 
nothing. If we decided to improve this area in a future we should remove the 
warning but right now it would be an excelent hint to tune autovacuum.


    Euler Taveira de Oliveira - Timbira
    PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

Attachment: av.diff
Description: text/x-patch (620 bytes)


pgsql-hackers by date

Next:From: Chris RedekopDate: 2011-10-25 21:06:14
Subject: Re: Hot Backup with rsync fails at pg_clog if under load
Previous:From: Alexander KorotkovDate: 2011-10-25 18:48:05
Subject: Re: GiST for range types (was Re: Range Types - typo + NULL string constructor)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group