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 BB4439FA278 for ; Thu, 25 May 2006 19:46:09 -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 47302-02 for ; Thu, 25 May 2006 19:46:02 -0300 (ADT) X-Greylist: delayed 00:19:12.585868 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id AC6209FA2FA for ; Thu, 25 May 2006 19:46:02 -0300 (ADT) Received: from stash.illumen.com (unknown [64.207.29.137]) by svr4.postgresql.org (Postfix) with ESMTP id 8FC695B0D37 for ; Thu, 25 May 2006 22:46:01 +0000 (GMT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Re: pg_clog questions X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 25 May 2006 16:43:30 -0600 Message-ID: <8511B4970E0D124898E973DF496F9B432516EB@stash.stackdump.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ADMIN] pg_clog questions thread-index: AcaATCFJ7zRtWXqzQOK7QExsqktCuwAAHNyg From: "Benjamin Krajmalnik" To: "Alvaro Herrera" Cc: "Tom Lane" , , "Matthew T. O'Connor" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/370 X-Sequence-Number: 21902 Thanks. I revacumed and now they are gone. -----Original Message----- From: Alvaro Herrera [mailto:alvherre@commandprompt.com]=20 Sent: Thursday, May 25, 2006 4:40 PM To: Benjamin Krajmalnik Cc: Tom Lane; pgsql-admin@postgresql.org; Matthew T. O'Connor Subject: Re: [ADMIN] pg_clog questions 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 =3D ' ... ' --=20 Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support