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

2020-02-21 Thread Daulat Ram
Thanks Patrick , From: Patrick FICHE Sent: Friday, February 21, 2020 9:54 PM To: Daulat Ram ; amul sul Cc: pgsql-performance@lists.postgresql.org Subject: RE: Can we have multiple tablespaces with in a database. Hi, You can create more than one tablespace and assign different objects on

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

2020-02-21 Thread Patrick FICHE
: amul sul Cc: pgsql-gene...@lists.postgresql.org; pgsql-performance@lists.postgresql.org Subject: RE: Can we have multiple tablespaces with in a database. That will be great if you share any doc where it’s mentioned that we can’t use multiple tablespace for a single database. I have to ass

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

2020-02-20 Thread Daulat Ram
: Re: Can we have multiple tablespaces with in a database. On Fri, Feb 21, 2020 at 11:31 AM Daulat Ram mailto:daulat@exponential.com>> wrote: 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

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

2020-02-20 Thread amul sul
On Fri, Feb 21, 2020 at 11:53 AM Daulat Ram wrote: > That will be great if you share any doc where it’s mentioned that we > can’t use multiple tablespace for a single database. I have to assist my > Dev team regarding tablespaces. > > > > Also , what are the differences between Oracle and Postgr

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

2020-02-20 Thread Daulat Ram
, February 21, 2020 11:48 AM To: Daulat Ram Cc: pgsql-gene...@lists.postgresql.org; pgsql-performance@lists.postgresql.org Subject: Re: Can we have multiple tablespaces with in a database. On Fri, Feb 21, 2020 at 11:31 AM Daulat Ram mailto:daulat@exponential.com>> wrote: Hi Amul , Please sha

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

2020-02-20 Thread amul sul
On Fri, Feb 21, 2020 at 11:31 AM Daulat Ram wrote: > 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 >

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

2020-02-20 Thread Daulat Ram
abase test tablespace ‘conn_tbs'; Can we have multiple tablespaces with in a database in postgres? Yes. From: amul sul Sent: Friday, February 21, 2020 11:16 AM To: Daulat Ram Cc: pgsql-gene...@lists.postgresql.org; pgsql-performance@lists.postgresql.org Subject: Re: Can we have multi

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

2020-02-20 Thread David G. Johnston
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 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 T

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

2020-02-20 Thread amul sul
On Fri, Feb 21, 2020 at 11:04 AM Daulat Ram 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