--------------------------------------------------------
--  DDL for Table SRC_SMD_CDBS_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_SMD_CDBS_TB" 
   (  "CDBNAME" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "THINNAME" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "GROUP" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "DBVERSION" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "DATACENTER" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "OPERATINGSTATUS" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "PDBCAPACITY" NUMBER(38,0), 
  "EXISTINGPDBCOUNT" NUMBER(38,0), 
  "REGION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
  "EXACS" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "ENDPOINT" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "NODE1" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "NODE2" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "NODE1IPADDRESS" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "NODE2IPADDRESS" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "NODE1DBINSTANCEID" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "NODE2DBINSTANCEID" VARCHAR2(26 BYTE) COLLATE "USING_NLS_COMP", 
  "METADATA_DOWNLOADED_TIMESTAMP_UTC" DATE
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING 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)
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_SMD_CDBS_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_SMD_CDBS_TB_PK" ON "OTHQ_OWN"."SRC_SMD_CDBS_TB" ("REGION", "CDBNAME", "ENDPOINT") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  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)
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_SMD_CDBS_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_SMD_CDBS_TB" MODIFY ("ENDPOINT" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_CDBS_TB" ADD CONSTRAINT "SRC_SMD_CDBS_TB_PK" PRIMARY KEY ("REGION", "CDBNAME", "ENDPOINT")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  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)
  TABLESPACE "DATA"  ENABLE;
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_CDBS_TB" MODIFY ("CDBNAME" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_SMD_CDBS_TB" MODIFY ("REGION" NOT NULL ENABLE);
