Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 857F11337B54 for ; Mon, 29 Nov 2010 12:32:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 38248-04 for ; Mon, 29 Nov 2010 16:32:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og102.obsmtp.com (exprod7og102.obsmtp.com [64.18.2.157]) by mail.postgresql.org (Postfix) with SMTP id BE2871335B36 for ; Mon, 29 Nov 2010 12:32:00 -0400 (AST) Received: from source ([209.85.215.173]) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKTPPVe+a9nQ7Oym6pXqGMNLocgXsSUKJ0@postini.com; Mon, 29 Nov 2010 08:32:01 PST Received: by eya25 with SMTP id 25so2558211eya.18 for ; Mon, 29 Nov 2010 08:31:54 -0800 (PST) Received: by 10.213.8.82 with SMTP id g18mr820142ebg.96.1291048313306; Mon, 29 Nov 2010 08:31:53 -0800 (PST) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id v56sm5312438eeh.2.2010.11.29.08.31.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 29 Nov 2010 08:31:52 -0800 (PST) Message-ID: <4CF3D57B.8040307@enterprisedb.com> Date: Mon, 29 Nov 2010 18:31:55 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: Balamurugan Mahendran CC: depesz@depesz.com, Bala Murugan , pgsql-bugs@postgresql.org Subject: Re: BUG #5774: VACCUM & REINDEX kills production environement References: <201011280725.oAS7PqUN022602@wwwmaster.postgresql.org> <20101128162331.GA11758@depesz.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-4.2 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3 X-Spam-Level: X-Archive-Number: 201011/211 X-Sequence-Number: 28791 On 29.11.2010 17:16, Balamurugan Mahendran wrote: > This is how I used to do maintenance through cron job. Please advise if i > need to change my method, Also I used to run re-index all the time while > doing Vacuum (cron job updated twice a week). Most likely you can just remove the reindex commands. Routing reindexing is not normally needed. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com