alter session set db_file_multiblock_read_count=64; 
CREATE UNIQUE INDEX MNP_DWH_XML_IN_PK ON MNP_DWH_XML_IN
(NOME_FILE, ID_RICHIESTA)
LOGGING
TABLESPACE TAB_DWH
PCTFREE    10
INITRANS   2
MAXTRANS   255
STORAGE    (
            INITIAL          64K
            NEXT             10M
            MINEXTENTS       1
            MAXEXTENTS       UNLIMITED
            PCTINCREASE      0
            FREELISTS        1
            FREELIST GROUPS  1
            BUFFER_POOL      DEFAULT
           )
PARALLEL 5;
alter index  MNP_DWH_XML_IN_PK noparallel;
ALTER TABLE MNP_DWH_XML_IN ADD (
  CONSTRAINT MNP_DWH_XML_IN_PK
 PRIMARY KEY
 (NOME_FILE, ID_RICHIESTA)
    USING INDEX 
    TABLESPACE TAB_DWH
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                NEXT             10M
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                FREELISTS        1
                FREELIST GROUPS  1
               ));
CREATE UNIQUE INDEX MNP_DW_XML_IN_OUT_PK ON MNP_DW_XML_IN_OUT
(NOME_FILE, ID_RICHIESTA, TIPO_FILE, DIREZIONE,NOME_FILE_ACK)
LOGGING
TABLESPACE TAB_DWH
PCTFREE    10
INITRANS   2
MAXTRANS   255
STORAGE    (
            INITIAL          64K
            NEXT             10M
            MINEXTENTS       1
            MAXEXTENTS       UNLIMITED
            PCTINCREASE      0
            FREELISTS        1
            FREELIST GROUPS  1
            BUFFER_POOL      DEFAULT
           )
PARALLEL 5;
alter index  MNP_DW_XML_IN_OUT_PK noparallel;
ALTER TABLE MNP_DW_XML_IN_OUT ADD (
  CONSTRAINT MNP_DW_XML_IN_OUT_PK
 PRIMARY KEY
 (NOME_FILE, ID_RICHIESTA, TIPO_FILE, DIREZIONE,NOME_FILE_ACK)
    USING INDEX 
    TABLESPACE TAB_DWH
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                NEXT             10M
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                FREELISTS        1
                FREELIST GROUPS  1
               ));