Thanks Patrick , From: Patrick FICHE <Patrick.Fiche@xxxxxxxxxxx> Hi, You can create more than one tablespace and assign different objects on different tablespaces. For example : CREATE TABLESPACE test_data OWNER test LOCATION '/tmp/test_data'; CREATE TABLESPACE test_idx OWNER test LOCATION '/tmp/test_idx'; CREATE DATABASE test WITH TABLESPACE = test_data; Then, for example, when create table and index, you can specify CREATE TABLE test1 ( id int NOT NULL GENERATED ALWAYS AS IDENTITY, comment text, CONSTRAINT pk_test PRIMARY KEY ( id ) USING INDEX TABLESPACE TEST_IDX ) TABLESPACE TEST_DATA; CREATE INDEX sk_comment ON test1( comment ) TABLESPACE TEST_IDX; From: Daulat Ram <Daulat.Ram@xxxxxxxxxxxxxxx>
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 Postgres Tablespacs? Thanks, From: amul sul <sulamul@xxxxxxxxx>
On Fri, Feb 21, 2020 at 11:31 AM Daulat Ram <Daulat.Ram@xxxxxxxxxxxxxxx> wrote:
Maybe I have misunderstood your question; there is no option to specify more Regards, Amul |