set timing on
spool indici_dbcgo_PP.log
CREATE INDEX IDX01_DBCGO_DONOR_PP ON DBCGO_DONOR_PP
(MSISDN)
NOLOGGING
TABLESPACE DBCGO_IDX_BIG
STORAGE    (
            INITIAL          32M
            NEXT             128M
            MINEXTENTS       1
            MAXEXTENTS       UNLIMITED
            PCTINCREASE      0
            BUFFER_POOL      DEFAULT
           )
NOPARALLEL;
           
           
CREATE INDEX IDX01_DBCGO_RECIPIENT_PP ON DBCGO_RECIPIENT_PP
(MSISDN)
NOLOGGING
TABLESPACE DBCGO_IDX_BIG
STORAGE    (
            INITIAL          32M
            NEXT             128M
            MINEXTENTS       1
            MAXEXTENTS       UNLIMITED
            PCTINCREASE      0
            BUFFER_POOL      DEFAULT
           )
NOPARALLEL;


           

CREATE INDEX IDX01_DBCGO_PORTING_PP ON DBCGO_PORTING_PP
(MSISDN)
NOLOGGING
TABLESPACE DBCGO_IDX_BIG
STORAGE    (
            INITIAL          32M
            NEXT             128M
            MINEXTENTS       1
            MAXEXTENTS       UNLIMITED
            PCTINCREASE      0
            BUFFER_POOL      DEFAULT
           )
NOPARALLEL;


exec DBMS_STATS.GATHER_INDEX_STATS('DBCGO','IDX01_DBCGO_DONOR_PP',estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE);
exec DBMS_STATS.GATHER_INDEX_STATS('DBCGO','IDX01_DBCGO_RECIPIENT_PP',estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE);
exec DBMS_STATS.GATHER_INDEX_STATS('DBCGO','IDX01_DBCGO_PORTING_PP',estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE);


spool off

exit


