--------------------------------------------------------
--  DDL for Table SRC_OSEARCH_CONTROLPLANE_AL_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" 
   (  "REGION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
  "NAMESPACE" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "CONTAINER" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
  "WORKFLOWID" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "MIN_TIMESTAMP" DATE, 
  "MESSAGE" VARCHAR2(4096 BYTE) COLLATE "USING_NLS_COMP", 
  "ORA_CODES" VARCHAR2(128 BYTE) COLLATE "USING_NLS_COMP", 
  "ERROR_CLASS" VARCHAR2(32 BYTE) COLLATE "USING_NLS_COMP", 
  "EXCEPTION" VARCHAR2(4096 BYTE) COLLATE "USING_NLS_COMP", 
  "EXCEPTION_SHORT" VARCHAR2(4096 BYTE) COLLATE "USING_NLS_COMP", 
  "ANALYZED_TEXT" VARCHAR2(4096 BYTE) COLLATE "USING_NLS_COMP", 
  "DOC_COUNT" NUMBER, 
  "INDEX_" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
  "METADATA_REGION" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
  "METADATA_DOWNLOADED_TIMESTAMP_UTC" DATE
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING LOGGING
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  DDL for Index SRC_OSEARCH_CONTROLPLANE_AL_TB_PK
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB_PK" ON "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" ("REGION", "NAMESPACE", "CONTAINER", "WORKFLOWID", "METADATA_REGION") 
  PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA" ;
--------------------------------------------------------
--  Constraints for Table SRC_OSEARCH_CONTROLPLANE_AL_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" MODIFY ("REGION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" MODIFY ("NAMESPACE" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" MODIFY ("CONTAINER" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" MODIFY ("WORKFLOWID" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" MODIFY ("METADATA_REGION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_CONTROLPLANE_AL_TB" ADD CONSTRAINT "SRC_OSEARCH_CONTROLPLANE_AL_TB_PK" PRIMARY KEY ("REGION", "NAMESPACE", "CONTAINER", "WORKFLOWID", "METADATA_REGION")
  USING INDEX PCTFREE 10 INITRANS 20 MAXTRANS 255 COMPUTE STATISTICS 
  TABLESPACE "DATA"  ENABLE;
