Re: Schema's versus tablespace - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Schema's versus tablespace
Date
Msg-id 20060328074804.GA12995@svana.org
Whole thread Raw
In response to Schema's versus tablespace  (Dick Kniep <dick@kniep.nl>)
Responses Re: Schema's versus tablespace  (Dick Kniep <dick@kniep.nl>)
List pgsql-general
On Tue, Mar 28, 2006 at 09:41:46AM +0200, Dick Kniep wrote:
> Hi list,
>
> We have developed a system that is running as an ASP application, currently we
> are using Postgresql 7.4. For every customer we have a separate schema, and
> this works OK. Now in version 8, tablespaces were introduced. This summer we
> are planning to migrate to version 8.1. Question is if there are advantages
> to use tablespaces instead of schema's?

Schemas related to how your tables are logically divided up.
Tablespaces are about where the tables are actually stored on disk. As
such they have nothing to do with eachother. You can mix and match as
you please.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Paolo Sala
Date:
Subject: Re: Inheritance
Next
From: Simon Riggs
Date:
Subject: Re: Recovery in PostgreSql