Arctic Toucan wrote:
> If I "know" that there are no more inserts going into those
> partitioned tables, can I do a bulk change of their relfrozenxids
> setting them back 500million transactions without causing problems?
> This will mean that the relfrozenxid is not representative of the row
> versions, but does that matter in this case(Essentially static
The safest most current value you can use is that of the oldest
transaction currently running (also known as RecentXmin in the code).
If you choose anything older than that you're safe too.
I don't think you can obtain RecentXmin in SQL (short of writing a C
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
In response to
pgsql-admin by date
|Next:||From: Abdul Rahman||Date: 2008-11-19 12:14:00|
|Subject: Scheduling backup via PgAgent|
|Previous:||From: Arctic Toucan||Date: 2008-11-18 21:33:52|
|Subject: Re: Is it safe to reset relfrozenxid without using vacuum?|