X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A67779F944D for ; Thu, 14 Sep 2006 11:11:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 36789-10 for ; Thu, 14 Sep 2006 11:11:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id A86539FA15C for ; Thu, 14 Sep 2006 11:11:44 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k8EEBhJw028844; Thu, 14 Sep 2006 10:11:43 -0400 (EDT) To: Ellen Cyran cc: "pgsql-admin@postgresql.org" Subject: Re: After how many updates should a vacuum be performed? In-reply-to: <4509566A.20303@urban.csuohio.edu> References: <45082C83.5040206@urban.csuohio.edu> <12738.1158164349@sss.pgh.pa.us> <45083274.902@urban.csuohio.edu> <13301.1158166441@sss.pgh.pa.us> <45083BCE.9070109@urban.csuohio.edu> <13915.1158168441@sss.pgh.pa.us> <4509566A.20303@urban.csuohio.edu> Comments: In-reply-to Ellen Cyran message dated "Thu, 14 Sep 2006 09:17:30 -0400" Date: Thu, 14 Sep 2006 10:11:43 -0400 Message-ID: <28843.1158243103@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.108 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200609/132 X-Sequence-Number: 23046 Ellen Cyran writes: > Also, the vacuum of all the database only took 1 hour and 20 minutes so > is there anything I should look at the next time this happens besides i/o? I'm still wondering about locks. If the VACUUM seems to be just sitting and not doing I/O, look in the pg_locks view to see if it's blocked on a lock. regards, tom lane