Tuesday 7 August 2012

INTERFACE  FAILURE CALL

OdiStartScen "-SCEN_NAME=INTERFACE_FAILURE_DW_ACTION" "-GLOBAL.g_mod_name=<%=odiRef.getPrevStepLog("STEP_NAME")%>" "-GLOBAL.g_session_no=<%=odiRef.getPrevStepLog("SESS_NO")%>" "-GLOBAL.g_step_no=<%=odiRef.getPrevStepLog("NNO")%>" "-GLOBAL.g_extract_start_date=<%=odiRef.getSysDate("dd/MM/yyyy" )%>" "-GLOBAL.g_extract_end_date=<%=odiRef.getSysDate("dd/MM/yyyy" )%>"

Wednesday 13 June 2012

11g incremental stats


BEGIN
  DBMS_STATS.SET_TABLE_PREFS ('SCHEMA', 'TABLE_NAME, 'INCREMENTAL','TRUE');

 --Gather Stats.
   DBMS_STATS.
   gather_table_stats (
      ownname            => 'SCHEMA',
      tabname            => 'TABLE_NAME',
      estimate_percent   => DBMS_STATS.AUTO_SAMPLE_SIZE,
      method_opt         => 'for all indexed columns size auto',
      DEGREE             => 4,
      CASCADE            => TRUE);

END;

Friday 25 May 2012

INTERFACE FAILURE CALL
OdiStartScen "-SCEN_NAME=INTERFACE_FAILURE_DW_ACTION" "-GLOBAL.g_mod_name=<%=odiRef.getPrevStepLog("STEP_NAME")%>" "-GLOBAL.g_session_no=<%=odiRef.getPrevStepLog("SESS_NO")%>" "-GLOBAL.g_step_no=<%=odiRef.getPrevStepLog("NNO")%>" "-GLOBAL.g_extract_start_date=<%=odiRef.getSysDate("dd/MM/yyyy")%>" "-GLOBAL.g_extract_end_date=<%=odiRef.getSysDate("dd/MM/yyyy")%>"

Thursday 22 March 2012

The default Tablespace for an index is held in  sys.dba_part_indexes


Monday 12 March 2012

Tom kyte on caching

caching

Wednesday 7 March 2012

Thursday 23 February 2012

Functions prevent queries going parallel , in-built functions do not.

select is_number(col1) from table;

Will NOTgo parallel is the is_number function is a user written function, whereas


select regexp_like(col1, '^-?[[:digit:],.]*$') then 'Numeric' else 'Non-Numeric' ed
from table


WILL GO Parallel

Thursday 26 January 2012