Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2713D1337B93 for ; Tue, 26 Apr 2011 13:59:12 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 85136-04; Tue, 26 Apr 2011 16:59:03 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd-17937.dedibox.fr (sd-17937.dedibox.fr [88.191.100.74]) by mail.postgresql.org (Postfix) with ESMTP id E1EA5133616B; Tue, 26 Apr 2011 13:59:02 -0300 (ADT) Received: from [192.168.10.3] (ASte-Genev-Bois-153-1-84-197.w81-48.abo.wanadoo.fr [81.48.34.197]) by sd-17937.dedibox.fr (Postfix) with ESMTPA id A2D3E3B8F5; Tue, 26 Apr 2011 18:59:01 +0200 (CEST) Message-ID: <4DB6F9D5.4030504@lelarge.info> Date: Tue, 26 Apr 2011 18:59:01 +0200 From: Guillaume Lelarge User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Vick Khera CC: pgsql-general@postgresql.org, pgsql-admin Subject: Re: [GENERAL]auto vacuum during restore References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/230 X-Sequence-Number: 37411 Le 26/04/2011 18:38, Vick Khera a écrit : > On Tue, Apr 26, 2011 at 11:36 AM, Willy-Bas Loos wrote: > >> I don't get it, they should have been analyzed at restore, should they not? >> > > I do not believe analyze is part of the restore process. You must > explicitly run it. > That's almost true. If autovacuum is on, it can start an ANALYZE on the big tables. Depends of course on your settings (autovacuum on, stats collector on, etc.) -- Guillaume http://www.postgresql.fr http://dalibo.com