Re: table when vacuum questions - Mailing list pgsql-admin

From Lee Wu
Subject Re: table when vacuum questions
Date
Msg-id ECAB83AA52BCC043A0E24BBC00001024111266@mxhq-exch.corp.mxlogic.com
Whole thread Raw
In response to table when vacuum questions  ("Lee Wu" <Lwu@mxlogic.com>)
List pgsql-admin
Thanks Tom for your quick response...


-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, June 18, 2004 3:26 PM
To: Lee Wu
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] table when vacuum questions

"Lee Wu" <Lwu@mxlogic.com> 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

pgsql-admin by date:

Previous
From: "Lee Wu"
Date:
Subject: bad data with Foreign Key constraint
Next
From: Tom Lane
Date:
Subject: Re: bad data with Foreign Key constraint