--------------------------------------------------------
--  DDL for Table SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB
--------------------------------------------------------

  CREATE TABLE "OTHQ_OWN"."SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB" 
   (  "TIMESTAMP" DATE, 
  "SDCID" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
  "APPSERVERAD" VARCHAR2(8 BYTE) COLLATE "USING_NLS_COMP", 
  "SPROCESSTYPE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
  "SRELEASE" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
  "PEAK_HOUR_LABEL" VARCHAR2(16 BYTE) COLLATE "USING_NLS_COMP", 
  "DOC_COUNT" NUMBER, 
  "INDEX_" VARCHAR2(64 BYTE) COLLATE "USING_NLS_COMP", 
  "CARDINALITY_SMACHINE" NUMBER, 
  "CARDINALITY_SUNIQUEPROCESSID" NUMBER, 
  "SUM_NETSUITE_SYSTEM_LPC" NUMBER, 
  "SUM_NETSUITE_SYSTEM_CORESCOUNT" NUMBER, 
  "SUM_NETSUITE_SYSTEM_CPUUTILIZATIONALLCORES" NUMBER, 
  "SUM_NETSUITE_JVM_CPUTIME_ALL" NUMBER, 
  "METADATA_REGION" VARCHAR2(8 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 PK_SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB
--------------------------------------------------------

  CREATE UNIQUE INDEX "OTHQ_OWN"."PK_SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB" ON "OTHQ_OWN"."SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB" ("TIMESTAMP", "SDCID", "APPSERVERAD", "SPROCESSTYPE", "SRELEASE", "PEAK_HOUR_LABEL", "METADATA_REGION") 
  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_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB
--------------------------------------------------------

  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB" MODIFY ("METADATA_REGION" NOT NULL ENABLE);
  ALTER TABLE "OTHQ_OWN"."SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB" ADD CONSTRAINT "PK_SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB" PRIMARY KEY ("TIMESTAMP", "SDCID", "APPSERVERAD", "SPROCESSTYPE", "SRELEASE", "PEAK_HOUR_LABEL", "METADATA_REGION")
  USING INDEX "OTHQ_OWN"."PK_SRC_OSEARCH_AGERAMETRICS_APPLICATION_SERVER_HEALTH_TB"  ENABLE;
