X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id D389E9FA278 for ; Thu, 25 May 2006 19:39:50 -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 44941-08 for ; Thu, 25 May 2006 19:39:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from alvh.no-ip.org (201-221-200-231.bk11-dsl.surnet.cl [201.221.200.231]) by postgresql.org (Postfix) with ESMTP id BB8679F9B14 for ; Thu, 25 May 2006 19:39:46 -0300 (ADT) Received: by alvh.no-ip.org (Postfix, from userid 1000) id F3DA4C37378; Thu, 25 May 2006 18:39:44 -0400 (CLT) Date: Thu, 25 May 2006 18:39:44 -0400 From: Alvaro Herrera To: Benjamin Krajmalnik Cc: Tom Lane , pgsql-admin@postgresql.org, "Matthew T. O'Connor" Subject: Re: pg_clog questions Message-ID: <20060525223944.GO13700@surnet.cl> Mail-Followup-To: Benjamin Krajmalnik , Tom Lane , pgsql-admin@postgresql.org, "Matthew T. O'Connor" References: <8511B4970E0D124898E973DF496F9B432516EA@stash.stackdump.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8511B4970E0D124898E973DF496F9B432516EA@stash.stackdump.local> User-Agent: Mutt/1.5.11+cvs20060403 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.138 tagged_above=0 required=5 tests=AWL, BAYES_00, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, FORGED_RCVD_HELO, RCVD_IN_SORBS_DUL X-Spam-Level: X-Archive-Number: 200605/369 X-Sequence-Number: 21901 Benjamin Krajmalnik wrote: > I just ran both VACUUM ANALYZE and VACUUM on all of the databases (the > project database and the database created for the default user). > All of the commit logs are still there. Did you vacuum the template1 (and possibly postgres) databases as well? > Do they get cleared only by VACUUM FULL? No, VACUUM suffices. > On another subject, is there a query I can run to find out who the owner > of a filenode is? Sure -- pg_class.relowner from pg_class where relfilenode = ' ... ' -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support