Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWrZs-0000y0-FS for pgsql-admin@postgresql.org; Fri, 09 Nov 2012 16:37:08 +0000 Received: from mx0.network-studio.com ([62.93.225.99]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWrZm-0006nB-I5 for pgsql-admin@postgresql.org; Fri, 09 Nov 2012 16:37:07 +0000 Received: from zimbra-ne01.network-studio.com (zimbra-admin.network-studio.com [192.168.101.80]) by mx0.network-studio.com (Postfix) with ESMTP id 304834080AB; Fri, 9 Nov 2012 17:37:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra-ne01.network-studio.com (Postfix) with ESMTP id 2A8D7DA141B; Fri, 9 Nov 2012 17:37:02 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra-ne01.network-studio.com Received: from zimbra-ne01.network-studio.com ([127.0.0.1]) by localhost (zimbra-ne01.network-studio.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FFxTBXK91EkR; Fri, 9 Nov 2012 17:37:01 +0100 (CET) Received: from zimbra-ne01.network-studio.com (zimbra-ne01.network-studio.com [192.168.101.80]) by zimbra-ne01.network-studio.com (Postfix) with ESMTP id DCFA7DA136B; Fri, 9 Nov 2012 17:37:01 +0100 (CET) Date: Fri, 9 Nov 2012 17:37:01 +0100 (CET) From: Baptiste LHOSTE To: pgsql-admin@postgresql.org Cc: cedric@2ndquadrant.com, Kevin Grittner Message-ID: <1371322936.10167628.1352479021824.JavaMail.root@alaloop.com> In-Reply-To: <20121109155957.77890@gmx.com> Subject: Re: Autoanalyze of the autovacuum daemon ... MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.101.82] X-Mailer: Zimbra 7.2.1_GA_2790 (ZimbraWebClient - GC22 (Linux)/7.2.1_GA_2790) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201211/61 X-Sequence-Number: 40306 >> Please show us the output from running this query: >> >> http://wiki.postgresql.org/wiki/Server_Configuration > [very reasonable settings except for a very large work_mem] > Make sure that work_mem setting isn't driving you into swapping or > near-zero caching. A shortage of cache space could explain this > because it looks like about 8.5 ms for each page read. About the only > other thing I can think to recommend is to decrease > autovacuum_cost_delay to 10ms and see if that helps. When I run a command htop on my server I can not see any swap issue : Mem 4Go / 16Go Swp 175B / 4Go I am sorry but I do not understand we you suggest to decrease autovacuum_cost_delay to 10 ms. We already set autovacuum_vacuum_cost_delay to 10ms for those tables. >> 4 * 300 Go Raid 0 > You do realize that if any of those four drives fail you will need to > use your backup, right? Yes, we do. We already used our backup when we changed some old servers. Regards, Baptiste.