From: | Edwin UY <edwin(dot)uy(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | ora2pg partitioned table DDL 'not working' |
Date: | 2024-05-12 17:37:08 |
Message-ID: | CA+wokJ89pw1FuHSi_cBRFRpiGhkrpAxxpKMV9GooPTN8noUArw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi,
I put not working in quote because I am not sure whether this is the
expected behavior of ora2pg for this partitioned table.
I have a partitioned table in Oracle that has the partition defined as
below. This is just an excerpt of the DDL of the table generated using
Oracle's dbms_metadata.
"MODIFIED_BY_SOURCE_APPL_ID" VARCHAR2(64)
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING
STORAGE(INITIAL 104857600 NEXT 104857600 MAXEXTENTS 2147483645
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "BLAH"
LOB ("IMAGE") STORE AS BASICFILE (
ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10
NOCACHE LOGGING
STORAGE(
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT))
* PARTITION BY RANGE ("OWNER")*
* (PARTITION "CI1" VALUES LESS THAN (2) SEGMENT CREATION IMMEDIATE*
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
STORAGE(INITIAL 104857600 NEXT 104857600 MINEXTENTS 1 MAXEXTENTS
2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "BLAH"
LOB ("IMAGE") STORE AS BASICFILE (
TABLESPACE " BLAH " ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10
NOCACHE LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)) ,
* PARTITION "CI2" VALUES LESS THAN (MAXVALUE) SEGMENT CREATION IMMEDIATE*
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
STORAGE(INITIAL 104857600 NEXT 104857600 MINEXTENTS 1 MAXEXTENTS
2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE " BLAH "
LOB ("IMAGE") STORE AS BASICFILE (
TABLESPACE "BLAH" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10
NOCACHE LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)) ) ;
AFTER the ora2pg run, it has the following only, without the CI1 and C12
partitions, is this as expected?
modified_by_source_appl_id varchar(64)
) PARTITION BY RANGE (owner) ;
Regards,
Ed
From | Date | Subject | |
---|---|---|---|
Next Message | Julien Rouhaud | 2024-05-13 01:41:06 | Re: ora2pg partitioned table DDL 'not working' |
Previous Message | David G. Johnston | 2024-05-12 13:41:38 | Re: Guidance on user deletion |