Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWNsW-0000cT-1N for pgsql-admin@postgresql.org; Thu, 08 Nov 2012 08:54:24 +0000 Received: from mx0.network-studio.com ([62.93.225.99]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWNsT-0001Be-H5 for pgsql-admin@postgresql.org; Thu, 08 Nov 2012 08:54:22 +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 229454080CD; Thu, 8 Nov 2012 09:54:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra-ne01.network-studio.com (Postfix) with ESMTP id 1F045DA11DF; Thu, 8 Nov 2012 09:54:20 +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 vhosGzmxC7M3; Thu, 8 Nov 2012 09:54:19 +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 E2C05DA11A4; Thu, 8 Nov 2012 09:54:19 +0100 (CET) Date: Thu, 8 Nov 2012 09:54:19 +0100 (CET) From: Baptiste LHOSTE To: pgsql-admin@postgresql.org Cc: Sylvain CAILLET , cedric@2ndquadrant.com Message-ID: <1564515179.9216202.1352364859841.JavaMail.root@alaloop.com> In-Reply-To: <201211051612.45865.cedric@2ndquadrant.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/48 X-Sequence-Number: 40293 Hi, > So that an auto-ANALYZE should run each 2.5-3 hours. > > If it does not proceed, check that you do not have some process still doing manual maintenance or DDL on those tables, they might > lock the table and kill autovacuum > > (check the pg_stat_activity, and set log_autovacuum_min_duration=0 to track all job done by autovacuum) Sorry for my late answer, but since two days I noticed some improvements so I decided to wait a little bit to confirm these. Finally the autovacuum daemon seems to work correctly. It does not proceed an auto-ANALYZE each 3 hours, it is more about each 12 hours but it is much better than at the beginning. The fact is the autovacuum daemon took about 10 days to become effective on both kind of tables, maybe it needs this period to catch up and be effective. Thanks for your time, Regards, Baptiste.