Re: Some ideas about Vacuum - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Some ideas about Vacuum
Date
Msg-id 478E7347.90909@enterprisedb.com
Whole thread Raw
In response to Re: Some ideas about Vacuum  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera wrote:
> Heikki Linnakangas escribió:
>> For more usefulness, we'd need to keep databases more separate from each 
>> other than we do now. Databases would need to have their own transaction 
>> counters, for example.
> 
> Hmm, why?  Perhaps you are right but I don't see the reason.

If each database was stand-alone, you would need only one base backup 
and WAL per database to restore, instead of base backup and WAL of the 
database, and base backup and WAL of shared stuff. You could backup one 
database in cluster, restore it somewhere else, and later copy it back 
to the original cluster. You could back up one database at a time, and 
restore the whole cluster from the N per-database backups.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Some ideas about Vacuum
Next
From: "Michael Omotayo Akinde"
Date:
Subject: Re: VACUUM FULL out of memory