X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EA8CFD1B1BE for ; Fri, 18 Jun 2004 19:26:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 36010-10 for ; Fri, 18 Jun 2004 22:26:23 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4DD61D1B188 for ; Fri, 18 Jun 2004 19:26:19 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i5IMQAfb004047; Fri, 18 Jun 2004 18:26:10 -0400 (EDT) To: "Lee Wu" Cc: pgsql-admin@postgresql.org Subject: Re: table when vacuum questions In-reply-to: References: Comments: In-reply-to "Lee Wu" message dated "Fri, 18 Jun 2004 14:08:02 -0600" Date: Fri, 18 Jun 2004 18:26:09 -0400 Message-ID: <4046.1087597569@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/236 X-Sequence-Number: 13896 "Lee Wu" writes: > http://www.postgresql.org/docs/7.3/static/routine-vacuuming.html#VACUUM- > FOR-WRAPAROUND says: > "every table in the database must be vacuumed at least once every > billion transactions". > Does "very table" include PG's tables, such as pg_database? Yes, absolutely. > 2. http://www.postgresql.org/docs/7.3/static/sql-vacuum.html says: > "Defaults to all tables in the current database."=20 > Does "all tables include PG's tables, such as pg_class? Yes, but you have to be superuser; for a non-superuser, the command only vacuums the tables you own. regards, tom lane