Schema, databse, or tables in different system folder

Started by Carlos Olivaalmost 17 years ago2 messagesgeneral
Jump to latest
#1Carlos Oliva
CarlosO@pbsinet.com

Thank you for your response. The tablespace should work for us. Perhaps you can help me with the following questions:

1) If we were to create a different table space for a database that has archival tables -- they will be backed up once, is it sufficient to backup the tablespace folder once? We want to make sure that we can restore from tape the tablespace folder and we will in fact restore the full database and data

2) Can a schema have its own tablespace in a database that has more than one schema?

Thank you very much.

-----Original Message-----

From: Grzegorz Jaśkiewicz [mailto:gryzman@gmail.com]

Sent: Tuesday, June 02, 2009 10:27 AM

To: Carlos Oliva

Cc: pgsql-general@postgresql.org

Subject: Re: [GENERAL] Schema, databse, or tables in different system folder

yes, it is called tablespace.

#2Alan Hodgson
ahodgson@simkin.ca
In reply to: Carlos Oliva (#1)
Re: Schema, databse, or tables in different system folder

On Tuesday 02 June 2009, "Carlos Oliva" <CarlosO@pbsinet.com> wrote:

Thank you for your response. The tablespace should work for us. Perhaps
you can help me with the following questions:

1) If we were to create a different table space for a database that has
archival tables -- they will be backed up once, is it sufficient to
backup the tablespace folder once? We want to make sure that we can
restore from tape the tablespace folder and we will in fact restore the
full database and data

This will absolutely not work.

--
I contend that for a nation to try to tax itself into prosperity is like a
man standing in a bucket and trying to lift himself up by the handle.
-- Winston Churchill