Home > Default > 11g takes more time than 9i to execute

11g takes more time than 9i to execute

October 11Hits:0
Advertisement
Hi
We are trying to move 9.1.0.7 to 11.1.0.6 on Solaris 5.10. When we are trying to compare the performance on both database using the same SQL, it is noticed that 11g is taking about 10minutes more than 9i. The schema, objects, data, ... everything is similar. Can anyone please give an idea on why this difference?
SQL is:
--sql_id='bt04cp43n28m3'
--hash_value=2461919517
INSERT /*+APPEND */INTO act_com
(act_id, rep, ytd_fee, ytd_commission, mtd_fee, mtd_commission,
monthly_avg_fee, monthly_avg_comm, ttm_fee, ttm_commission,
curr_dec_fee, curr_dec_comm, curr_nov_fee, curr_nov_comm,
curr_oct_fee, curr_oct_comm, curr_sep_fee, curr_sep_comm,
curr_aug_fee, curr_aug_comm, curr_jul_fee, curr_jul_comm,
curr_jun_fee, curr_jun_comm, curr_may_fee, curr_may_comm,
curr_apr_fee, curr_apr_comm, curr_mar_fee, curr_mar_comm,
curr_feb_fee, curr_feb_comm, curr_jan_fee, curr_jan_comm,
yr1_dec_fee, yr1_dec_comm, yr1_nov_fee, yr1_nov_comm,
yr1_oct_fee, yr1_oct_comm, yr1_sep_fee, yr1_sep_comm,
yr1_aug_fee, yr1_aug_comm, yr1_jul_fee, yr1_jul_comm,
yr1_jun_fee, yr1_jun_comm, yr1_may_fee, yr1_may_comm,
yr1_apr_fee, yr1_apr_comm, yr1_mar_fee, yr1_mar_comm,
yr1_feb_fee, yr1_feb_comm, yr1_jan_fee, yr1_jan_comm,
yr2_dec_fee, yr2_dec_comm, yr2_nov_fee, yr2_nov_comm,
yr2_oct_fee, yr2_oct_comm, yr2_sep_fee, yr2_sep_comm,
yr2_aug_fee, yr2_aug_comm, yr2_jul_fee, yr2_jul_comm,
yr2_jun_fee, yr2_jun_comm, yr2_may_fee, yr2_may_comm,
yr2_apr_fee, yr2_apr_comm, yr2_mar_fee, yr2_mar_comm,
yr2_feb_fee, yr2_feb_comm, yr2_jan_fee, yr2_jan_comm,
tot_fee_prev_day, tot_comm_prev_day)
SELECT act.acct_no, x.rep,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr)
THEN x.dollar_amt
ELSE 0
END
) ytd_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr)
THEN x.dollar_amt
ELSE 0
END
) ytd_commission,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND curr_mm = mm)
THEN x.dollar_amt
ELSE 0
END
) mtd_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND curr_mm = mm)
THEN x.dollar_amt
ELSE 0
END
) mtd_comm,
SUM (CASE
WHEN ( x.cf_ind = 'F'
AND ( (yr = curr_yr - 1 AND mm >= curr_mm)
OR (yr = curr_yr AND mm < curr_mm)
THEN x.dollar_amt
ELSE 0
END
/ 12 monthly_avg_fee,
SUM (CASE
WHEN ( x.cf_ind = 'C'
AND ( (yr = curr_yr - 1 AND mm >= curr_mm)
OR (yr = curr_yr AND mm < curr_mm)
THEN x.dollar_amt
ELSE 0
END
/ 12 monthly_avg_comm,
SUM (CASE
WHEN ( x.cf_ind = 'F'
AND ( (yr = curr_yr - 1 AND mm > curr_mm)
OR (yr = curr_yr AND mm <= curr_mm)
THEN x.dollar_amt
ELSE 0
END
) ttm_fee,
SUM (CASE
WHEN ( x.cf_ind = 'C'
AND ( (yr = curr_yr - 1 AND mm > curr_mm)
OR (yr = curr_yr AND mm <= curr_mm)
THEN x.dollar_amt
ELSE 0
END
) ttm_commission,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) curr_dec_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) curr_dec_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) curr_nov_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) curr_nov_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) curr_oct_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) curr_oct_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) curr_sep_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) curr_sep_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) curr_aug_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) curr_aug_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) curr_jul_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) curr_jul_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) curr_jun_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) curr_jun_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) curr_may_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) curr_may_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) curr_apr_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) curr_apr_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) curr_mar_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) curr_mar_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) curr_feb_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) curr_feb_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) curr_jan_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) curr_jan_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr1_dec_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr1_dec_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr1_nov_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr1_nov_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr1_oct_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr1_oct_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr1_sep_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr1_sep_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr1_aug_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr1_aug_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr1_jul_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr1_jul_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr1_jun_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr1_jun_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr1_may_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr1_may_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr1_apr_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr1_apr_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr1_mar_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr1_mar_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr1_feb_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr1_feb_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 1 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr1_jan_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 1 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr1_jan_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr2_dec_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 12)
THEN x.dollar_amt
ELSE 0
END
) yr2_dec_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr2_nov_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 11)
THEN x.dollar_amt
ELSE 0
END
) yr2_nov_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr2_oct_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 10)
THEN x.dollar_amt
ELSE 0
END
) yr2_oct_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr2_sep_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 9)
THEN x.dollar_amt
ELSE 0
END
) yr2_sep_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr2_aug_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 8)
THEN x.dollar_amt
ELSE 0
END
) yr2_aug_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr2_jul_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 7)
THEN x.dollar_amt
ELSE 0
END
) yr2_jul_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr2_jun_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 6)
THEN x.dollar_amt
ELSE 0
END
) yr2_jun_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr2_may_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 5)
THEN x.dollar_amt
ELSE 0
END
) yr2_may_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr2_apr_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 4)
THEN x.dollar_amt
ELSE 0
END
) yr2_apr_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr2_mar_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 3)
THEN x.dollar_amt
ELSE 0
END
) yr2_mar_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr2_feb_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 2)
THEN x.dollar_amt
ELSE 0
END
) yr2_feb_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND yr = curr_yr - 2 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr2_jan_fee,
SUM (CASE
WHEN (x.cf_ind = 'C' AND yr = curr_yr - 2 AND mm = 1)
THEN x.dollar_amt
ELSE 0
END
) yr2_jan_comm,
SUM (CASE
WHEN (x.cf_ind = 'F' AND asof_cymd = bus_day)
THEN x.dollar_amt
ELSE 0
END
) tot_fee_prev_day,
SUM (CASE
WHEN (x.cf_ind = 'C' AND asof_cymd = bus_day)
THEN x.dollar_amt
ELSE 0
END
) tot_comm_prev_day
FROM (SELECT acct_no, status
FROM action_tab
UNION
SELECT '0' acct_no, 'AC' status
FROM DUAL) act,
(SELECT TO_NUMBER (TO_CHAR (TO_DATE (NVL (asof_cymd, trade_cymd),
'YYYY-MM-DD'
'YYYY'
) yr,
TO_NUMBER (TO_CHAR (TO_DATE (NVL (asof_cymd, trade_cymd),
'YYYY-MM-DD'
'MM'
) mm,
TO_NUMBER (TO_CHAR (h_inner.bus_day, 'yyyy')) curr_yr,
TO_NUMBER (TO_CHAR (h_inner.bus_day, 'mm')) curr_mm,
rep_commission,
TO_DATE (NVL (asof_cymd, trade_cymd),
'YYYY-MM-DD'
) asof_cymd,
c.acct_no, rep_full rep, f.acct_no fba_acct,
CASE
WHEN ( TO_DATE (f.close_cymd, 'YYYY-MM-DD') <=
SYSDATE
OR f.acct_no IS NULL
THEN 'C'
ELSE 'F'
END cf_ind,
CASE
WHEN (adj_commission != 0
AND adj_commission IS NOT NULL
THEN adj_commission
ELSE NVL (commission, 0) + NVL (mark_up_down, 0)
END dollar_amt
FROM coding_tab c, fbaact_tab f, hist_dt_ctrl_tab h_inner
WHERE c.acct_no = f.acct_no(+)) x,
hist_dt_ctrl_tab
WHERE act.acct_no = x.acct_no
AND x.rep IS NOT NULL
--AND act.rep = x.rep
AND act.status IN ('AC', 'IN')
GROUP BY act.acct_no, x.rep
Thanks in advance.

Answers

Hi
The details given below.
Execution Plan on 9i
1.00     2,412.00     SELECT STATEMENT      93,164.00     260,496.00          93,164.00     CHOOSE
2.00     2,412.00     -SORT GROUP BY      93,164.00     260,496.00          93,164.00     
3.00     8,684,104.00     --NESTED LOOPS OUTER      17,410.00     937,883,232.00          17,410.00     
4.00     8,684,104.00     ---HASH JOIN      17,410.00     772,885,256.00          17,410.00     
5.00     538,055.00     ----MERGE JOIN CARTESIAN      5,632.00     28,516,915.00          5,632.00     
6.00     1.00     -----MERGE JOIN CARTESIAN      6.00     14.00          6.00     
7.00     1.00     ------TABLE ACCESS FULL HIST_DT_CTRL     3.00     7.00          3.00     ANALYZED
7.00     1.00     ------BUFFER SORT      3.00     7.00          3.00     
8.00     1.00     -------TABLE ACCESS FULL HIST_DT_CTRL     3.00     7.00          3.00     ANALYZED
6.00     538,055.00     -----BUFFER SORT      5,629.00     20,984,145.00          5,629.00     
7.00     538,055.00     ------VIEW      5,626.00     20,984,145.00               
8.00     538,055.00     -------SORT UNIQUE      5,626.00     5,298,870.00          5,599.00     
9.00          --------UNION-ALL                          
10.00     529,887.00     ---------TABLE ACCESS FULL ACTION_TAB     4,164.00     5,298,870.00          4,164.00     ANALYZED
10.00     8,168.00     ---------TABLE ACCESS FULL DUAL     11.00               11.00     
5.00     3,518,688.00     ----TABLE ACCESS FULL CODING_TAB     3,978.00     126,672,768.00          3,978.00     ANALYZED
4.00     1.00     ---TABLE ACCESS BY INDEX ROWID FBAACT_TAB          19.00               ANALYZED
5.00     1.00     ----INDEX UNIQUE SCAN FBA_ACT_PK_ACCT_NO                         ANALYZED
Execution Plan on 11g
1.00     2,399.00     SELECT STATEMENT      37,681.00     271,087.00     17,370,453,529.00     35,293.00     ALL_ROWS
2.00     2,399.00     -HASH GROUP BY      37,681.00     271,087.00     17,370,453,529.00     35,293.00     
3.00     10,291,120.00     --HASH JOIN RIGHT OUTER      36,195.00     1,162,896,560.00     6,562,221,120.00     35,293.00     
4.00     1.00     ---TABLE ACCESS FULL FBAACT_TAB     2.00     19.00     7,121.00     2.00     ANALYZED
4.00     10,291,120.00     ---HASH JOIN      36,051.00     967,365,280.00     5,529,464,283.00     35,291.00     
5.00     660,746.00     ----MERGE JOIN CARTESIAN      14,778.00     38,323,268.00     2,126,486,738.00     14,486.00     
6.00     1.00     -----MERGE JOIN CARTESIAN      10.00     16.00     185,497.00     10.00     
7.00     1.00     ------TABLE ACCESS FULL HISTDT_CTRL     5.00     8.00     92,749.00     5.00     ANALYZED
7.00     1.00     ------BUFFER SORT      5.00     8.00     92,749.00     5.00     
8.00     1.00     -------TABLE ACCESS FULL HISTDT_CTRL     5.00     8.00     92,749.00     5.00     ANALYZED
6.00     660,746.00     -----BUFFER SORT      14,773.00     27,751,332.00     2,126,393,989.00     14,481.00     
7.00     660,746.00     ------VIEW      14,768.00     27,751,332.00     2,126,301,241.00     14,476.00     
8.00     660,746.00     -------SORT UNIQUE      14,768.00     6,607,450.00     2,119,018,839.00     14,474.00     
9.00          --------UNION-ALL                          
10.00     660,745.00     ---------TABLE ACCESS FULL ACTION_TAB     12,058.00     6,607,450.00     1,494,346,997.00     11,853.00     ANALYZED
10.00     1.00     ---------FAST DUAL      2.00          7,271.00     2.00     
5.00     3,418,417.00     ----TABLE ACCESS FULL CODING_TAB     11,116.00     123,063,012.00     1,823,935,730.00     10,865.00     ANALYZED
The differences in INIT Parameters
9i 11g
multi_block_read_count 16 128
optimizer_mode choose all_rows
other h/w and load related
CPUs [email protected] [email protected]
load used by many QA users just testing to make sure
all our cronjobs are running
fine or not
the above mentioned SQL is part of one of the processes, takes about 41 min on 9i and the same taking about 52-56 minutes on 11g.
Also, I took out every in-line SELECT statement and ran in both envs. looks 11g is executing them fast. But as a whole it takes about 10-12 mins more on 11g. So
I suspect that its problem with INSERT statement. So I just wrote a simple PL/SQL block to insert 1m records and tested on both.
INSERTION OF 1M records 1:46 min 2:06 min
count(*) 0:0.35 sec 0:0.17 sec
delete 0:28.9 sec 0:36.72 sec
rollback 0:32.19 sec 0:41.36 sec

Read other 11 answers

Tags:

Related Articles

  • 11g takes more time than 9i to executeOctober 11

    Hi We are trying to move 9.1.0.7 to 11.1.0.6 on Solaris 5.10. When we are trying to compare the performance on both database using the same SQL, it is noticed that 11g is taking about 10minutes more than 9i. The schema, objects, data, ... everything

  • "execute direct database request" option is not availavle in my OBIEE 11gNovember 30

    Hi All Experts, In my OBIEE-11g there is no option available of "execute direct database request" in subject area pane.Please give the solution. Thanks In AdvanceBy default, this privilege is only assigned to BI Administrator Role. I'm sure you

  • Forms HOST command no longer works after database upgrade from 10g to 11gOctober 11

    Hi, After upgrading the database 10g to 11g the forms HOST command no longer works on Unix server. The form used to work fine prior the upgrade. I read all the threads I could find and did not see any solutions. Adding PATH and LD_LIBRARY_PATH does n

  • Want to create custom report under report field in OEM 11GOctober 11

    Dear all I would like to create custom report on OEM 11G. I have query which is executed and verified from TOAD. But after placed report element it shows an error that table/view not exits. But it doesn't ask any database user name and password.So le

  • 10g to 11g  import problem NETWORK_ACLSOctober 11

    (I didn't mean to cross post this I just put it in the wrong place at first. it belongs here.. sorry 'bout that.) I'm uprading from 10 to 11g and have a problem importing. The table I'm trying to import has a trigger in it that uses the UTL_SMTP pack

  • Ora-22813 in oracle 11gNovember 30

    Hi all db version 11.2.0.1.0 OS : Windows 2003 64bit We are getting this error ora-22813 in oracle 11g thanksHi Pavan this is the query executed by user select * from select admin.*, DENSE_RANK() OVER (partition by ctry ORDER BY feattyp) AS spro_admi

  • "Rows" statistics from STAT in trace event 10046, Oracle 11g.November 30

    Hi, all! Why "Rows" statistics in STAT are different for 10g and 11g? I have two database with version 10g and 11g, with the same data. I executed some pl/sql code with tracing 10046 level 8. And I have different result when obtain raw trace. In

  • Create Type as Object not working in linux oracle 11gNovember 30

    Pleae refer to the following simple create type as object statement. CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) It is working in oracle 11g and windows server 2008 environment. But it is not working in oracle 11g with li

  • OBIEE 11g installation error while configuring (opmnctl error)November 30

    While installing OBIEE 11g (11.1.1.3.0),(32-bit) we have choosen software only install and the software was installed successfully. While configuring in 10 th step we are getting the following errors. We have installed webserver before installing OBI

  • Date format not working in 11G ?November 30

    Hi All, i am using Oracle 11g on windows 7 i try to execute this format of date not allways show me same format select To_date('2/02/2012' ,'DD/MONTH/YYYY') from dual; (when i want to save to date column ) but the error is NOT VALID MONTH select To_d

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.687 s.