Re: Can we have multiple tablespaces with in a database.

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Daulat Ram <Daulat(dot)Ram(at)exponential(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>
Subject: Re: Can we have multiple tablespaces with in a database.
Date: 2020-02-21 05:46:55
Message-ID: CAKFQuwbcjgX8h7X=aSdxfMaGi1T2wYpyM4U1ZktS2eBcz9R7xA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

Please pick a single list to post to. Performance seems like the
unnecessary one here.

On Thu, Feb 20, 2020 at 10:34 PM Daulat Ram <Daulat(dot)Ram(at)exponential(dot)com>
wrote:

> Can we have multiple tablespaces with in a database in postgres?
>

I fell as if I'm missing something in your question given the presence of
the "CREATE TABLESPACE" SQL command and the related non-command
documentation covered here:

https://www.postgresql.org/docs/12/manage-ag-tablespaces.html

> Can we have a table on different tablespace same as Oracle?
>

There is no provision to assign two tablespaces to a single physical
table. To the benefit of those who don't use the other product you may
wish to say exactly what you want to do instead of comparing it to
something that many people likely have never used.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2020-02-21 06:00:55 Re: Can we have multiple tablespaces with in a database.
Previous Message amul sul 2020-02-21 05:46:27 Re: Can we have multiple tablespaces with in a database.

Browse pgsql-performance by date

  From Date Subject
Next Message Ron 2020-02-21 06:00:55 Re: Can we have multiple tablespaces with in a database.
Previous Message amul sul 2020-02-21 05:46:27 Re: Can we have multiple tablespaces with in a database.