From: | Daulat Ram <Daulat(dot)Ram(at)exponential(dot)com> |
---|---|
To: | amul sul <sulamul(at)gmail(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 06:01:30 |
Message-ID: | MN2PR01MB5854F35E70DF08D6B5DD4ECA9B120@MN2PR01MB5854.prod.exchangelabs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-performance |
Hi Amul ,
Please share the examples how we can create no. of tablespaces for a single database and how we can use them.
As I know we can create database on tablespace
1. CREATE TABLESPACE conn_tbs OWNER enterprisedb LOCATION '/mnt/pgdatatest/test/pgdata/conn_tbs';
2. Create database test tablespace ‘conn_tbs';
Can we have multiple tablespaces with in a database in postgres?
Yes.
From: amul sul <sulamul(at)gmail(dot)com>
Sent: Friday, February 21, 2020 11:16 AM
To: Daulat Ram <Daulat(dot)Ram(at)exponential(dot)com>
Cc: pgsql-general(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.
On Fri, Feb 21, 2020 at 11:04 AM Daulat Ram <Daulat(dot)Ram(at)exponential(dot)com<mailto:Daulat(dot)Ram(at)exponential(dot)com>> wrote:
Hi Team,
Can we have multiple tablespaces with in a database in postgres?
Yes.
Can we have a table on different tablespace same as Oracle?
Yes -- specify TABLESPACE option while creating that table.
Regards,
Amul
From | Date | Subject | |
---|---|---|---|
Next Message | amul sul | 2020-02-21 06:18:00 | Re: Can we have multiple tablespaces with in a database. |
Previous Message | Ron | 2020-02-21 06:00:55 | Re: Can we have multiple tablespaces with in a database. |
From | Date | Subject | |
---|---|---|---|
Next Message | amul sul | 2020-02-21 06:18:00 | Re: Can we have multiple tablespaces with in a database. |
Previous Message | Ron | 2020-02-21 06:00:55 | Re: Can we have multiple tablespaces with in a database. |