Gc cr grant 2-way
deal all,
I found much events about gc cr grant 2-way in my db, what cause the event?
post SQL & results so we can see what you do & see what you see using COPY & PASTE
Similar Messages
-
How to tune gc cr block 2-way and gc current grant 2-way
Hi,
I'm working on an Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option, Standard Edition.
During last days I'm suffering performance lack due to 2 main wait event classes:
gc cr block 2-way
gc current grant 2-way
I noticed also this one:
gc buffer busy acquire
Do you have any suggestion on how to check and tune my RAC to reduce those wait events?
Any usefull link?
Thanks in advance,
Samuel
Edited by: Samuel Rabini on Mar 30, 2012 2:39 PMHi;
Please check below which could be helpful for your issue:
RAC Database Running Slow to Hang With High Cluster Wait Due to Small Buffer Cache [ID 1280889.1]
Regard
Helios -
Gc current block 2-way & gc current block 3-way
Hi All,
we ran a query paralley in 2 different sessions on a 10.2.0.4 database 3-Node RAC installed on Linux box. In 3rd Node the query executed in 70 seconds but on the second session it was waiting for a long time and we did the trace. We generated the trace for 5 mins alone and we stopped the trace, the trace file shows it is waiting in "gc current block 3-way" and that it is using the object "328952" which is a index that is not used in the EXPLAIN PLAN.
Please let me know how to analyze the problem.
>
select
wrkactaus.client_id_k, austat.au_id_k, wrkactaus.prp_id, wrkactaus.prp_stat_id, austat.hh_id_k
FROM
(SELECT au_id_k, as1.hh_id_k
FROM au, au_stat as1
WHERE as1.create_ts =
(SELECT MAX(as2.create_ts)
FROM au_stat as2
WHERE as2.au_id_k = as1.au_id_k
AND as2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND as2.eff_dte =
(SELECT MAX(as3.eff_dte)
FROM au_stat as3
WHERE as3.au_id_k = as2.au_id_k
AND as3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND as3.eff_dte < '01-SEP-12'
AND au.pgm_cd_code_k = 'FF'
AND as1.au_stat_cd_code_k ='ACTIVE'
AND au.id = as1.au_id_k
)austat,
(SELECT DISTINCT(edbcclntmemb.client_id_k),
eligendaus.au_id_k,
prp_stat.prp_id,
prp_stat.prp_stat_id
FROM
(SELECT aed1.au_id_k,
aed1.elig_end_dte
FROM au_elig_dte aed1,
edbc_auth ea1
WHERE aed1.EXISTS_FLG = 'Y' and aed1.create_ts =
(SELECT MAX(aed2.create_ts)
FROM au_elig_dte aed2
WHERE aed2.au_id_k = aed1.au_id_k
AND aed2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND aed2.eff_dte =
(SELECT MAX(aed3.eff_dte)
FROM au_elig_dte aed3
WHERE aed3.au_id_k = aed2.au_id_k
AND aed3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND aed3.eff_dte < '01-SEP-12')
AND ea1.create_ts =
(SELECT MAX(ea2.create_ts)
FROM edbc_auth ea2
WHERE ea2.edbc_id_k = ea1.edbc_id_k
AND ea2.create_ts < '01-SEP-12 02.45.01.561483000 PM')
AND ea1.auth_flg = 'Y'
AND aed1.elig_end_dte = '30-SEP-12'
AND aed1.edbc_id_k = ea1.edbc_id_k)
eligendaus,
(SELECT ecam1.client_id_k,
ecam1.au_id_k
FROM edbc_client_au_memb ecam1
WHERE ecam1.create_ts =
(SELECT MAX(ecam2.create_ts)
FROM edbc_client_au_memb ecam2
WHERE ecam2.au_id_k = ecam1.au_id_k
AND ecam2.client_id_k = ecam1.client_id_k
AND ecam2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND ecam2.eff_dte =
(SELECT MAX(ecam3.eff_dte)
FROM edbc_client_au_memb ecam3
WHERE ecam3.au_id_k = ecam2.au_id_k
AND ecam3.client_id_k = ecam2.client_id_k
AND ecam3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND ecam3.eff_dte < '01-SEP-12')
edbcclntmemb,
(SELECT client_id_k,
prp_id,
prp_stat_id,
prp_wrk_act_stat_dte
FROM
(SELECT cpwa1.client_id_k,
cpwa1.id AS
prp_id
FROM client_prp_wrk_act cpwa1
WHERE cpwa1.create_ts =
(SELECT MAX(cpwa2.create_ts)
FROM client_prp_wrk_act cpwa2
WHERE cpwa2.client_id_k = cpwa1.client_id_k
AND cpwa2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwa2.eff_dte =
(SELECT MAX(cpwa3.eff_dte)
FROM client_prp_wrk_act cpwa3
WHERE cpwa3.client_id_k = cpwa2.client_id_k
AND cpwa3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwa3.eff_dte < '01-SEP-12')
) AND cpwa1.end_dte IS NULL
client_prp,
(SELECT cpwas1.id AS
prp_stat_id,
client_prp_wrk_act_id_k,
cpwas1.prp_wrk_act_stat_dte
FROM client_prp_wrk_act_stat cpwas1
WHERE cpwas1.create_ts =
(SELECT MAX(cpwas2.create_ts)
FROM client_prp_wrk_act_stat cpwas2
WHERE cpwas2.client_prp_wrk_act_id_k = cpwas1.client_prp_wrk_act_id_k
AND cpwas2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwas2.eff_dte =
(SELECT MAX(cpwas3.eff_dte)
FROM client_prp_wrk_act_stat cpwas3
WHERE cpwas3.client_prp_wrk_act_id_k = cpwas2.client_prp_wrk_act_id_k
AND cpwas3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwas3.eff_dte < '01-SEP-12'
AND cpwas3.prp_wrk_act_stat_dte =
(SELECT MAX(cpwas4.prp_wrk_act_stat_dte)
FROM client_prp_wrk_act_stat cpwas4
WHERE cpwas4.client_prp_wrk_act_id_k = cpwas3.client_prp_wrk_act_id_k
AND cpwas4.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwas4.eff_dte < '01-SEP-12'
AND cpwas4.prp_wrk_act_stat_dte < '01-SEP-12')
) clnt_prp_stat
WHERE client_prp.prp_id = clnt_prp_stat.client_prp_wrk_act_id_k)
prp_stat
WHERE eligendaus.au_id_k = edbcclntmemb.au_id_k
AND edbcclntmemb.client_id_k = prp_stat.client_id_k)
wrkactaus
WHERE austat.au_id_k = wrkactaus.au_id_k;
>
Explain Plan
>
Plan hash value: 3805111278
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 92 | | 139K (1)| 00:27:56 |
| 1 | NESTED LOOPS | | 1 | 92 | | 139K (1)| 00:27:56 |
| 2 | NESTED LOOPS | | 1 | 82 | | 139K (1)| 00:27:56 |
| 3 | VIEW | | 1 | 52 | | 139K (1)| 00:27:56 |
| 4 | HASH UNIQUE | | 1 | 205 | | 139K (1)| 00:27:56 |
|* 5 | FILTER | | | | | | |
|* 6 | HASH JOIN | | 1 | 205 | | 139K (1)| 00:27:55 |
|* 7 | TABLE ACCESS BY INDEX ROWID | EDBC_AUTH | 1 | 49 | | 3 (0)| 00:00:01 |
| 8 | NESTED LOOPS | | 1 | 184 | | 123K (1)| 00:24:38 |
| 9 | NESTED LOOPS | | 1 | 135 | | 123K (1)| 00:24:38 |
| 10 | NESTED LOOPS | | 1 | 102 | | 123K (1)| 00:24:38 |
| 11 | NESTED LOOPS | | 1 | 79 | | 123K (1)| 00:24:37 |
| 12 | NESTED LOOPS | | 1 | 56 | | 123K (1)| 00:24:37 |
| 13 | VIEW | VW_SQ_5 | 1 | 21 | | 123K (1)| 00:24:37 |
| 14 | HASH GROUP BY | | 1 | 53 | 7640K| 123K (1)| 00:24:37 |
|* 15 | INDEX FULL SCAN | CPRPWA_PK | 66017 | 3416K| | 335 (1)| 00:00:05 |
| 16 | SORT AGGREGATE | | 1 | 25 | | | |
|* 17 | INDEX RANGE SCAN | CPRPWA_PK | 2 | 50 | | 2 (0)| 00:00:01 |
|* 18 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT | 1 | 35 | | 2 (0)| 00:00:01 |
|* 19 | INDEX RANGE SCAN | CPRPWA_PK | 1 | | | 1 (0)| 00:00:01 |
| 20 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT_STAT | 1 | 23 | | 3 (0)| 00:00:01 |
|* 21 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | | | 2 (0)| 00:00:01 |
| 22 | SORT AGGREGATE | | 1 | 47 | | | |
| 23 | NESTED LOOPS | | 1 | 47 | | 12 (17)| 00:00:01 |
| 24 | VIEW | VW_SQ_2 | 1 | 22 | | 10 (20)| 00:00:01 |
| 25 | SORT GROUP BY | | 1 | 15 | | 10 (20)| 00:00:01 |
| 26 | VIEW | | 1 | 15 | | 10 (20)| 00:00:01 |
|* 27 | FILTER | | | | | | |
| 28 | SORT GROUP BY | | 1 | 84 | | 10 (20)| 00:00:01 |
|* 29 | HASH JOIN | | 2 | 168 | | 9 (12)| 00:00:01 |
|* 30 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 78 | | 4 (0)| 00:00:01 |
|* 31 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
| 32 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 90 | | 4 (0)| 00:00:01 |
|* 33 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
|* 34 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | 25 | | 2 (0)| 00:00:01 |
| 35 | TABLE ACCESS BY INDEX ROWID | EDBC_CLIENT_AU_MEMB | 89 | 2047 | | 23 (0)| 00:00:01 |
|* 36 | INDEX RANGE SCAN | IDX_CLIENT_ID_EDBC | 89 | | | 2 (0)| 00:00:01 |
|* 37 | TABLE ACCESS BY INDEX ROWID | AU_ELIG_DTE | 1 | 33 | | 3 (0)| 00:00:01 |
|* 38 | INDEX RANGE SCAN | AUED_PK | 1 | | | 2 (0)| 00:00:01 |
| 39 | SORT AGGREGATE | | 1 | 47 | | | |
|* 40 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
| 41 | VIEW | VW_SQ_4 | 11 | 242 | | 3 (0)| 00:00:01 |
| 42 | SORT GROUP BY | | 11 | 341 | | 3 (0)| 00:00:01 |
|* 43 | INDEX RANGE SCAN | AUED_PK | 11 | 341 | | 3 (0)| 00:00:01 |
|* 44 | INDEX RANGE SCAN | AUED_PK | 11 | 275 | | 3 (0)| 00:00:01 |
|* 45 | INDEX RANGE SCAN | EDBCA_PK | 1 | | | 2 (0)| 00:00:01 |
| 46 | VIEW | VW_SQ_6 | 4167K| 83M| | 16442 (1)| 00:03:18 |
| 47 | HASH GROUP BY | | 4167K| 178M| 478M| 16442 (1)| 00:03:18 |
|* 48 | INDEX FULL SCAN | EDBCA_PK | 4167K| 178M| | 16442 (1)| 00:03:18 |
| 49 | SORT AGGREGATE | | 1 | 66 | | | |
| 50 | NESTED LOOPS | | 1 | 66 | | 6 (0)| 00:00:01 |
| 51 | VIEW | VW_SQ_3 | 1 | 35 | | 4 (0)| 00:00:01 |
| 52 | SORT GROUP BY | | 1 | 43 | | 4 (0)| 00:00:01 |
|* 53 | INDEX RANGE SCAN | ECAUM_PK | 1 | 43 | | 4 (0)| 00:00:01 |
|* 54 | INDEX RANGE SCAN | ECAUM_PK | 1 | 31 | | 3 (0)| 00:00:01 |
|* 55 | TABLE ACCESS BY INDEX ROWID | AU_STAT | 1 | 30 | | 3 (0)| 00:00:01 |
|* 56 | INDEX RANGE SCAN | AUS_PK | 1 | | | 2 (0)| 00:00:01 |
| 57 | SORT AGGREGATE | | 1 | 47 | | | |
|* 58 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
| 59 | VIEW | VW_SQ_7 | 10 | 220 | | 3 (0)| 00:00:01 |
| 60 | SORT GROUP BY | | 10 | 310 | | 3 (0)| 00:00:01 |
|* 61 | INDEX RANGE SCAN | AUS_PK | 10 | 310 | | 3 (0)| 00:00:01 |
|* 62 | INDEX RANGE SCAN | AUS_PK | 10 | 250 | | 3 (0)| 00:00:01 |
|* 63 | TABLE ACCESS BY INDEX ROWID | AU | 1 | 10 | | 2 (0)| 00:00:01 |
|* 64 | INDEX UNIQUE SCAN | PK_AU | 1 | | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
5 - filter("ECAM1"."CREATE_TS"= (SELECT MAX("ECAM2"."CREATE_TS") FROM "EDBC_CLIENT_AU_MEMB" "ECAM2", (SELECT
MAX("ECAM3"."EFF_DTE") "VW_COL_1","ECAM3"."AU_ID_K" "AU_ID_K","ECAM3"."CLIENT_ID_K" "CLIENT_ID_K" FROM
"EDBC_CLIENT_AU_MEMB" "ECAM3" WHERE "ECAM3"."EFF_DTE"<'01-SEP-12' AND "ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2
AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "ECAM3"."AU_ID_K","ECAM3"."CLIENT_ID_K")
"VW_SQ_3" WHERE "ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "ECAM2"."EFF_DTE"="VW_COL_1" AND
"AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."AU_ID_K"=:B3 AND "ECAM2"."CLIENT_ID_K"=:B4 AND
"CLIENT_ID_K"="ECAM2"."CLIENT_ID_K"))
6 - access("EA1"."CREATE_TS"="VW_COL_1" AND "EDBC_ID_K"="EA1"."EDBC_ID_K")
7 - filter("EA1"."AUTH_FLG"='Y')
15 - access("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "CPWA2"."EFF_DTE"= (SELECT
MAX("CPWA3"."EFF_DTE") FROM "CLIENT_PRP_WRK_ACT" "CPWA3" WHERE "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CLIENT_ID_K"=:B1
AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
17 - access("CPWA3"."CLIENT_ID_K"=:B1 AND "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM'))
filter("CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
18 - filter("CPWA1"."END_DTE" IS NULL)
19 - access("CLIENT_ID_K"="CPWA1"."CLIENT_ID_K" AND "CPWA1"."CREATE_TS"="VW_COL_1")
filter("CPWA1"."CREATE_TS"="VW_COL_1")
21 - access("CPWA1"."ID"="CLIENT_PRP_WRK_ACT_ID_K")
filter("CPWAS1"."CREATE_TS"= (SELECT MAX("CPWAS2"."CREATE_TS") FROM "CLIENT_PRP_WRK_ACT_STAT" "CPWAS2", (SELECT
MAX("$vm_col_1") "VW_COL_1","$vm_col_2" "CLIENT_PRP_WRK_ACT_ID_K" FROM (SELECT /*+ */ "CPWAS3"."EFF_DTE"
"$vm_col_1","CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" "$vm_col_2" FROM "CLIENT_PRP_WRK_ACT_STAT"
"CPWAS3","CLIENT_PRP_WRK_ACT_STAT" "CPWAS4" WHERE "CPWAS4"."EFF_DTE"<'01-SEP-12' AND "CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1
AND "CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12' AND "CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')
AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B2 AND
"CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM') GROUP BY "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K",ROWID,"CPWAS3"."PRP_WRK_ACT_STAT_DTE","CPWAS4"."CLIENT_P
RP_WRK_ACT_ID_K","CPWAS3"."EFF_DTE" HAVING "CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE")) "$vm_view"
GROUP BY "$vm_col_2") "VW_SQ_2" WHERE "CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND
"CPWAS2"."EFF_DTE"="VW_COL_1" AND "CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND
"CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B3))
27 - filter("CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE"))
29 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K")
30 - filter("CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12')
31 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS4"."EFF_DTE"<'01-SEP-12' AND
"CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
33 - access("CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND
"CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
34 - access("CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS2"."EFF_DTE"="VW_COL_1" AND
"CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B1)
36 - access("ECAM1"."CLIENT_ID_K"="CPWA1"."CLIENT_ID_K")
37 - filter("AED1"."ELIG_END_DTE"='30-SEP-12' AND "AED1"."EXISTS_FLG"='Y')
38 - access("AED1"."AU_ID_K"="ECAM1"."AU_ID_K")
filter("AED1"."CREATE_TS"= (SELECT MAX("AED2"."CREATE_TS") FROM "AU_ELIG_DTE" "AED2", (SELECT MAX("AED3"."EFF_DTE")
"VW_COL_1","AED3"."AU_ID_K" "AU_ID_K" FROM "AU_ELIG_DTE" "AED3" WHERE "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."AU_ID_K"=:B1
AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AED3"."AU_ID_K") "VW_SQ_4" WHERE
"AED2"."AU_ID_K"=:B2 AND "AU_ID_K"="AED2"."AU_ID_K" AND "AED2"."EFF_DTE"="VW_COL_1" AND
"AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
40 - access("AED2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AED2"."AU_ID_K")
43 - access("AED3"."AU_ID_K"=:B1 AND "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM'))
filter("AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
44 - access("AED2"."AU_ID_K"=:B1 AND "AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
45 - access("AED1"."EDBC_ID_K"="EA1"."EDBC_ID_K")
48 - access("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
53 - access("ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2 AND "ECAM3"."EFF_DTE"<'01-SEP-12' AND
"ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("ECAM3"."CLIENT_ID_K"=:B1 AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
54 - access("AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."EFF_DTE"="VW_COL_1" AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K" AND
"ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("ECAM2"."AU_ID_K"=:B1 AND "ECAM2"."CLIENT_ID_K"=:B2 AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K")
55 - filter("AS1"."AU_STAT_CD_CODE_K"='ACTIVE')
56 - access("AU_ID_K"="WRKACTAUS"."AU_ID_K")
filter("AS1"."CREATE_TS"= (SELECT MAX("AS2"."CREATE_TS") FROM "AU_STAT" "AS2", (SELECT MAX("AS3"."EFF_DTE")
"VW_COL_1","AS3"."AU_ID_K" "AU_ID_K" FROM "AU_STAT" "AS3" WHERE "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."AU_ID_K"=:B1 AND
"AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AS3"."AU_ID_K") "VW_SQ_7" WHERE
"AS2"."AU_ID_K"=:B2 AND "AU_ID_K"="AS2"."AU_ID_K" AND "AS2"."EFF_DTE"="VW_COL_1" AND
"AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
58 - access("AS2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AS2"."AU_ID_K")
61 - access("AS3"."AU_ID_K"=:B1 AND "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM'))
filter("AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
62 - access("AS2"."AU_ID_K"=:B1 AND "AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
63 - filter("AU"."PGM_CD_CODE_K"='FF')
64 - access("AU"."ID"="AS1"."AU_ID_K")
>
Part of Trace File
>
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/app/oracle/product/10.2.0/db
System name: Linux
Node name: de0119006lb010
Release: 2.6.18-308.11.1.el5
Version: #1 SMP Fri Jun 15 15:41:53 EDT 2012
Machine: x86_64
Instance name: depdbprm3
Redo thread mounted by this instance: 3
Oracle process number: 103
Unix process pid: 29158, image: oracle@de0119006lb010
*** 2013-03-19 17:19:59.081
*** ACTION NAME:() 2013-03-19 17:19:59.081
*** MODULE NAME:(SQL Developer) 2013-03-19 17:19:59.081
*** SERVICE NAME:(depdbprm) 2013-03-19 17:19:59.081
*** SESSION ID:(1553.20651) 2013-03-19 17:19:59.081
WAIT #3: nam='gc cr grant 2-way' ela= 236 p1=62 p2=568096 p3=1 obj#=328952 tim=1331769139727726
WAIT #3: nam='db file sequential read' ela= 247 file#=62 block#=568096 blocks=1 obj#=328952 tim=1331769139728347
WAIT #3: nam='gc cr grant 2-way' ela= 259 p1=62 p2=568449 p3=1 obj#=328952 tim=1331769141363681
WAIT #3: nam='db file sequential read' ela= 267 file#=62 block#=568449 blocks=1 obj#=328952 tim=1331769141364023
WAIT #3: nam='gc current block 2-way' ela= 356 p1=63 p2=135004 p3=1 obj#=328952 tim=1331769143207109
WAIT #3: nam='gc current block 2-way' ela= 289 p1=63 p2=135073 p3=1 obj#=328952 tim=1331769143240780
WAIT #3: nam='gc current block 3-way' ela= 562 p1=62 p2=568137 p3=1 obj#=328952 tim=1331769145591937
WAIT #3: nam='gc current block 2-way' ela= 387 p1=63 p2=134686 p3=1 obj#=328952 tim=1331769145874228
WAIT #3: nam='gc current block 3-way' ela= 607 p1=62 p2=567750 p3=1 obj#=328952 tim=1331769146961322
*** 2013-03-19 17:20:09.096
WAIT #3: nam='gc current block 2-way' ela= 352 p1=61 p2=546053 p3=1 obj#=328952 tim=1331769149508254
WAIT #3: nam='gc current block 2-way' ela= 297 p1=61 p2=546052 p3=1 obj#=328952 tim=1331769149534031
WAIT #3: nam='gc current block 2-way' ela= 398 p1=63 p2=134765 p3=1 obj#=328952 tim=1331769150388736
WAIT #3: nam='gc current block 2-way' ela= 413 p1=43 p2=533298 p3=1 obj#=328952 tim=1331769150704716
WAIT #3: nam='gc current block 2-way' ela= 261 p1=43 p2=533297 p3=1 obj#=328952 tim=1331769150716671
WAIT #3: nam='gc current block 2-way' ela= 330 p1=57 p2=84679 p3=1 obj#=328952 tim=1331769152562873
WAIT #3: nam='gc current block 2-way' ela= 393 p1=57 p2=84250 p3=1 obj#=328952 tim=1331769153124750
WAIT #3: nam='gc current block 2-way' ela= 383 p1=57 p2=84492 p3=1 obj#=328952 tim=1331769153606792
WAIT #3: nam='gc current block 2-way' ela= 371 p1=61 p2=545720 p3=1 obj#=328952 tim=1331769154680811
WAIT #3: nam='gc current block 3-way' ela= 585 p1=62 p2=568311 p3=1 obj#=328952 tim=1331769154811847
WAIT #3: nam='gc current block 3-way' ela= 496 p1=46 p2=189388 p3=1 obj#=328952 tim=1331769155959780
WAIT #3: nam='gc current block 2-way' ela= 333 p1=138 p2=186289 p3=1 obj#=325456 tim=1331769155960430
WAIT #3: nam='gc current block 2-way' ela= 396 p1=61 p2=546147 p3=1 obj#=328952 tim=1331769156319216
WAIT #3: nam='gc current block 2-way' ela= 361 p1=43 p2=533326 p3=1 obj#=328952 tim=1331769156496194
WAIT #3: nam='gc current block 2-way' ela= 355 p1=61 p2=546055 p3=1 obj#=328952 tim=1331769156676604
WAIT #3: nam='gc current block 2-way' ela= 380 p1=23 p2=1024150 p3=1 obj#=328952 tim=1331769158887190
*** 2013-03-19 17:20:21.424
WAIT #3: nam='gc current block 2-way' ela= 345 p1=56 p2=640594 p3=1 obj#=328952 tim=1331769161546890
WAIT #3: nam='gc current block 2-way' ela= 373 p1=62 p2=568040 p3=1 obj#=328952 tim=1331769163580880
WAIT #3: nam='gc current block 2-way' ela= 395 p1=179 p2=201084 p3=1 obj#=328952 tim=1331769164782836
WAIT #3: nam='gc current block 2-way' ela= 399 p1=179 p2=201085 p3=1 obj#=328952 tim=1331769164873539
WAIT #3: nam='gc current block 2-way' ela= 276 p1=179 p2=201083 p3=1 obj#=328952 tim=1331769164882366
WAIT #3: nam='gc current block 2-way' ela= 406 p1=56 p2=640077 p3=1 obj#=328952 tim=1331769164960368
WAIT #3: nam='gc current block 3-way' ela= 553 p1=200 p2=191022 p3=1 obj#=328952 tim=1331769166617564
WAIT #3: nam='gc current block 2-way' ela= 383 p1=62 p2=567988 p3=1 obj#=328952 tim=1331769167885558
WAIT #3: nam='gc current block 2-way' ela= 359 p1=61 p2=545391 p3=1 obj#=328952 tim=1331769169178262
WAIT #3: nam='gc current block 2-way' ela= 394 p1=60 p2=103677 p3=1 obj#=328952 tim=1331769171025394
WAIT #3: nam='gc current block 2-way' ela= 267 p1=60 p2=103678 p3=1 obj#=328952 tim=1331769171033578
*** 2013-03-19 17:20:31.805
WAIT #3: nam='gc current block 2-way' ela= 622 p1=60 p2=104513 p3=1 obj#=328952 tim=1331769171684584
WAIT #3: nam='gc current block 2-way' ela= 272 p1=52 p2=137262 p3=1 obj#=328952 tim=1331769171912038
WAIT #3: nam='gc current block 2-way' ela= 369 p1=57 p2=84425 p3=1 obj#=328952 tim=1331769173674500
WAIT #3: nam='gc current block 2-way' ela= 307 p1=60 p2=103758 p3=1 obj#=328952 tim=1331769174117156
WAIT #3: nam='gc current block 3-way' ela= 668 p1=62 p2=567896 p3=1 obj#=328952 tim=1331769174388555
WAIT #3: nam='gc current block 2-way' ela= 321 p1=55 p2=158741 p3=1 obj#=328952 tim=1331769175733472
WAIT #3: nam='gc current block 2-way' ela= 368 p1=60 p2=104123 p3=1 obj#=328952 tim=1331769178620478
WAIT #3: nam='gc current block 2-way' ela= 406 p1=27 p2=102113 p3=1 obj#=328952 tim=1331769181249151
*** 2013-03-19 17:20:52.545
WAIT #3: nam='gc current block 2-way' ela= 391 p1=186 p2=204072 p3=1 obj#=328952 tim=1331769191939303
WAIT #3: nam='gc current block 3-way' ela= 547 p1=57 p2=64435 p3=1 obj#=327198 tim=1331769191940250
WAIT #3: nam='gc current block 2-way' ela= 370 p1=24 p2=106010 p3=1 obj#=328952 tim=1331769193513721
WAIT #3: nam='gc current block 2-way' ela= 447 p1=57 p2=84352 p3=1 obj#=328952 tim=1331769194379712
WAIT #3: nam='gc current block 2-way' ela= 388 p1=63 p2=135154 p3=1 obj#=328952 tim=1331769194780054
WAIT #3: nam='gc current block 2-way' ela= 349 p1=14 p2=379706 p3=1 obj#=328952 tim=1331769201061077
WAIT #3: nam='gc current block 2-way' ela= 106 p1=14 p2=379705 p3=1 obj#=328952 tim=1331769201066997
*** 2013-03-19 17:21:06.606
WAIT #3: nam='gc current block 2-way' ela= 423 p1=196 p2=202210 p3=1 obj#=328952 tim=133176920567
>
Object Information
>
select * from dba_objects where object_id = '328952';
XXXX AS_AIK_ASCCK_I 328952 328952 INDEX 20-FEB-13 20-FEB-13 2013-02-20:19:23:02 VALID N N N
>
Thanks,
VijayHi All,
we ran a query paralley in 2 different sessions on a 10.2.0.4 database 3-Node RAC installed on Linux box. In 3rd Node the query executed in 70 seconds but on the second session it was waiting for a long time and we did the trace. We generated the trace for 5 mins alone and we stopped the trace, the trace file shows it is waiting in "gc current block 3-way" and that it is using the object "328952" which is a index that is not used in the EXPLAIN PLAN.
Please let me know how to analyze the problem.
>
select
wrkactaus.client_id_k, austat.au_id_k, wrkactaus.prp_id, wrkactaus.prp_stat_id, austat.hh_id_k
FROM
(SELECT au_id_k, as1.hh_id_k
FROM au, au_stat as1
WHERE as1.create_ts =
(SELECT MAX(as2.create_ts)
FROM au_stat as2
WHERE as2.au_id_k = as1.au_id_k
AND as2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND as2.eff_dte =
(SELECT MAX(as3.eff_dte)
FROM au_stat as3
WHERE as3.au_id_k = as2.au_id_k
AND as3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND as3.eff_dte < '01-SEP-12'
AND au.pgm_cd_code_k = 'FF'
AND as1.au_stat_cd_code_k ='ACTIVE'
AND au.id = as1.au_id_k
)austat,
(SELECT DISTINCT(edbcclntmemb.client_id_k),
eligendaus.au_id_k,
prp_stat.prp_id,
prp_stat.prp_stat_id
FROM
(SELECT aed1.au_id_k,
aed1.elig_end_dte
FROM au_elig_dte aed1,
edbc_auth ea1
WHERE aed1.EXISTS_FLG = 'Y' and aed1.create_ts =
(SELECT MAX(aed2.create_ts)
FROM au_elig_dte aed2
WHERE aed2.au_id_k = aed1.au_id_k
AND aed2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND aed2.eff_dte =
(SELECT MAX(aed3.eff_dte)
FROM au_elig_dte aed3
WHERE aed3.au_id_k = aed2.au_id_k
AND aed3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND aed3.eff_dte < '01-SEP-12')
AND ea1.create_ts =
(SELECT MAX(ea2.create_ts)
FROM edbc_auth ea2
WHERE ea2.edbc_id_k = ea1.edbc_id_k
AND ea2.create_ts < '01-SEP-12 02.45.01.561483000 PM')
AND ea1.auth_flg = 'Y'
AND aed1.elig_end_dte = '30-SEP-12'
AND aed1.edbc_id_k = ea1.edbc_id_k)
eligendaus,
(SELECT ecam1.client_id_k,
ecam1.au_id_k
FROM edbc_client_au_memb ecam1
WHERE ecam1.create_ts =
(SELECT MAX(ecam2.create_ts)
FROM edbc_client_au_memb ecam2
WHERE ecam2.au_id_k = ecam1.au_id_k
AND ecam2.client_id_k = ecam1.client_id_k
AND ecam2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND ecam2.eff_dte =
(SELECT MAX(ecam3.eff_dte)
FROM edbc_client_au_memb ecam3
WHERE ecam3.au_id_k = ecam2.au_id_k
AND ecam3.client_id_k = ecam2.client_id_k
AND ecam3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND ecam3.eff_dte < '01-SEP-12')
edbcclntmemb,
(SELECT client_id_k,
prp_id,
prp_stat_id,
prp_wrk_act_stat_dte
FROM
(SELECT cpwa1.client_id_k,
cpwa1.id AS
prp_id
FROM client_prp_wrk_act cpwa1
WHERE cpwa1.create_ts =
(SELECT MAX(cpwa2.create_ts)
FROM client_prp_wrk_act cpwa2
WHERE cpwa2.client_id_k = cpwa1.client_id_k
AND cpwa2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwa2.eff_dte =
(SELECT MAX(cpwa3.eff_dte)
FROM client_prp_wrk_act cpwa3
WHERE cpwa3.client_id_k = cpwa2.client_id_k
AND cpwa3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwa3.eff_dte < '01-SEP-12')
) AND cpwa1.end_dte IS NULL
client_prp,
(SELECT cpwas1.id AS
prp_stat_id,
client_prp_wrk_act_id_k,
cpwas1.prp_wrk_act_stat_dte
FROM client_prp_wrk_act_stat cpwas1
WHERE cpwas1.create_ts =
(SELECT MAX(cpwas2.create_ts)
FROM client_prp_wrk_act_stat cpwas2
WHERE cpwas2.client_prp_wrk_act_id_k = cpwas1.client_prp_wrk_act_id_k
AND cpwas2.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwas2.eff_dte =
(SELECT MAX(cpwas3.eff_dte)
FROM client_prp_wrk_act_stat cpwas3
WHERE cpwas3.client_prp_wrk_act_id_k = cpwas2.client_prp_wrk_act_id_k
AND cpwas3.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwas3.eff_dte < '01-SEP-12'
AND cpwas3.prp_wrk_act_stat_dte =
(SELECT MAX(cpwas4.prp_wrk_act_stat_dte)
FROM client_prp_wrk_act_stat cpwas4
WHERE cpwas4.client_prp_wrk_act_id_k = cpwas3.client_prp_wrk_act_id_k
AND cpwas4.create_ts < '01-SEP-12 02.45.01.561483000 PM'
AND cpwas4.eff_dte < '01-SEP-12'
AND cpwas4.prp_wrk_act_stat_dte < '01-SEP-12')
) clnt_prp_stat
WHERE client_prp.prp_id = clnt_prp_stat.client_prp_wrk_act_id_k)
prp_stat
WHERE eligendaus.au_id_k = edbcclntmemb.au_id_k
AND edbcclntmemb.client_id_k = prp_stat.client_id_k)
wrkactaus
WHERE austat.au_id_k = wrkactaus.au_id_k;
>
Explain Plan
>
Plan hash value: 3805111278
| Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 92 | | 139K (1)| 00:27:56 |
| 1 | NESTED LOOPS | | 1 | 92 | | 139K (1)| 00:27:56 |
| 2 | NESTED LOOPS | | 1 | 82 | | 139K (1)| 00:27:56 |
| 3 | VIEW | | 1 | 52 | | 139K (1)| 00:27:56 |
| 4 | HASH UNIQUE | | 1 | 205 | | 139K (1)| 00:27:56 |
|* 5 | FILTER | | | | | | |
|* 6 | HASH JOIN | | 1 | 205 | | 139K (1)| 00:27:55 |
|* 7 | TABLE ACCESS BY INDEX ROWID | EDBC_AUTH | 1 | 49 | | 3 (0)| 00:00:01 |
| 8 | NESTED LOOPS | | 1 | 184 | | 123K (1)| 00:24:38 |
| 9 | NESTED LOOPS | | 1 | 135 | | 123K (1)| 00:24:38 |
| 10 | NESTED LOOPS | | 1 | 102 | | 123K (1)| 00:24:38 |
| 11 | NESTED LOOPS | | 1 | 79 | | 123K (1)| 00:24:37 |
| 12 | NESTED LOOPS | | 1 | 56 | | 123K (1)| 00:24:37 |
| 13 | VIEW | VW_SQ_5 | 1 | 21 | | 123K (1)| 00:24:37 |
| 14 | HASH GROUP BY | | 1 | 53 | 7640K| 123K (1)| 00:24:37 |
|* 15 | INDEX FULL SCAN | CPRPWA_PK | 66017 | 3416K| | 335 (1)| 00:00:05 |
| 16 | SORT AGGREGATE | | 1 | 25 | | | |
|* 17 | INDEX RANGE SCAN | CPRPWA_PK | 2 | 50 | | 2 (0)| 00:00:01 |
|* 18 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT | 1 | 35 | | 2 (0)| 00:00:01 |
|* 19 | INDEX RANGE SCAN | CPRPWA_PK | 1 | | | 1 (0)| 00:00:01 |
| 20 | TABLE ACCESS BY INDEX ROWID | CLIENT_PRP_WRK_ACT_STAT | 1 | 23 | | 3 (0)| 00:00:01 |
|* 21 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | | | 2 (0)| 00:00:01 |
| 22 | SORT AGGREGATE | | 1 | 47 | | | |
| 23 | NESTED LOOPS | | 1 | 47 | | 12 (17)| 00:00:01 |
| 24 | VIEW | VW_SQ_2 | 1 | 22 | | 10 (20)| 00:00:01 |
| 25 | SORT GROUP BY | | 1 | 15 | | 10 (20)| 00:00:01 |
| 26 | VIEW | | 1 | 15 | | 10 (20)| 00:00:01 |
|* 27 | FILTER | | | | | | |
| 28 | SORT GROUP BY | | 1 | 84 | | 10 (20)| 00:00:01 |
|* 29 | HASH JOIN | | 2 | 168 | | 9 (12)| 00:00:01 |
|* 30 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 78 | | 4 (0)| 00:00:01 |
|* 31 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
| 32 | TABLE ACCESS BY INDEX ROWID| CLIENT_PRP_WRK_ACT_STAT | 2 | 90 | | 4 (0)| 00:00:01 |
|* 33 | INDEX RANGE SCAN | CPRPWASTAT_PK | 2 | | | 3 (0)| 00:00:01 |
|* 34 | INDEX RANGE SCAN | CPRPWASTAT_PK | 1 | 25 | | 2 (0)| 00:00:01 |
| 35 | TABLE ACCESS BY INDEX ROWID | EDBC_CLIENT_AU_MEMB | 89 | 2047 | | 23 (0)| 00:00:01 |
|* 36 | INDEX RANGE SCAN | IDX_CLIENT_ID_EDBC | 89 | | | 2 (0)| 00:00:01 |
|* 37 | TABLE ACCESS BY INDEX ROWID | AU_ELIG_DTE | 1 | 33 | | 3 (0)| 00:00:01 |
|* 38 | INDEX RANGE SCAN | AUED_PK | 1 | | | 2 (0)| 00:00:01 |
| 39 | SORT AGGREGATE | | 1 | 47 | | | |
|* 40 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
| 41 | VIEW | VW_SQ_4 | 11 | 242 | | 3 (0)| 00:00:01 |
| 42 | SORT GROUP BY | | 11 | 341 | | 3 (0)| 00:00:01 |
|* 43 | INDEX RANGE SCAN | AUED_PK | 11 | 341 | | 3 (0)| 00:00:01 |
|* 44 | INDEX RANGE SCAN | AUED_PK | 11 | 275 | | 3 (0)| 00:00:01 |
|* 45 | INDEX RANGE SCAN | EDBCA_PK | 1 | | | 2 (0)| 00:00:01 |
| 46 | VIEW | VW_SQ_6 | 4167K| 83M| | 16442 (1)| 00:03:18 |
| 47 | HASH GROUP BY | | 4167K| 178M| 478M| 16442 (1)| 00:03:18 |
|* 48 | INDEX FULL SCAN | EDBCA_PK | 4167K| 178M| | 16442 (1)| 00:03:18 |
| 49 | SORT AGGREGATE | | 1 | 66 | | | |
| 50 | NESTED LOOPS | | 1 | 66 | | 6 (0)| 00:00:01 |
| 51 | VIEW | VW_SQ_3 | 1 | 35 | | 4 (0)| 00:00:01 |
| 52 | SORT GROUP BY | | 1 | 43 | | 4 (0)| 00:00:01 |
|* 53 | INDEX RANGE SCAN | ECAUM_PK | 1 | 43 | | 4 (0)| 00:00:01 |
|* 54 | INDEX RANGE SCAN | ECAUM_PK | 1 | 31 | | 3 (0)| 00:00:01 |
|* 55 | TABLE ACCESS BY INDEX ROWID | AU_STAT | 1 | 30 | | 3 (0)| 00:00:01 |
|* 56 | INDEX RANGE SCAN | AUS_PK | 1 | | | 2 (0)| 00:00:01 |
| 57 | SORT AGGREGATE | | 1 | 47 | | | |
|* 58 | HASH JOIN | | 1 | 47 | | 7 (15)| 00:00:01 |
| 59 | VIEW | VW_SQ_7 | 10 | 220 | | 3 (0)| 00:00:01 |
| 60 | SORT GROUP BY | | 10 | 310 | | 3 (0)| 00:00:01 |
|* 61 | INDEX RANGE SCAN | AUS_PK | 10 | 310 | | 3 (0)| 00:00:01 |
|* 62 | INDEX RANGE SCAN | AUS_PK | 10 | 250 | | 3 (0)| 00:00:01 |
|* 63 | TABLE ACCESS BY INDEX ROWID | AU | 1 | 10 | | 2 (0)| 00:00:01 |
|* 64 | INDEX UNIQUE SCAN | PK_AU | 1 | | | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
5 - filter("ECAM1"."CREATE_TS"= (SELECT MAX("ECAM2"."CREATE_TS") FROM "EDBC_CLIENT_AU_MEMB" "ECAM2", (SELECT
MAX("ECAM3"."EFF_DTE") "VW_COL_1","ECAM3"."AU_ID_K" "AU_ID_K","ECAM3"."CLIENT_ID_K" "CLIENT_ID_K" FROM
"EDBC_CLIENT_AU_MEMB" "ECAM3" WHERE "ECAM3"."EFF_DTE"<'01-SEP-12' AND "ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2
AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "ECAM3"."AU_ID_K","ECAM3"."CLIENT_ID_K")
"VW_SQ_3" WHERE "ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "ECAM2"."EFF_DTE"="VW_COL_1" AND
"AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."AU_ID_K"=:B3 AND "ECAM2"."CLIENT_ID_K"=:B4 AND
"CLIENT_ID_K"="ECAM2"."CLIENT_ID_K"))
6 - access("EA1"."CREATE_TS"="VW_COL_1" AND "EDBC_ID_K"="EA1"."EDBC_ID_K")
7 - filter("EA1"."AUTH_FLG"='Y')
15 - access("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND "CPWA2"."EFF_DTE"= (SELECT
MAX("CPWA3"."EFF_DTE") FROM "CLIENT_PRP_WRK_ACT" "CPWA3" WHERE "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CLIENT_ID_K"=:B1
AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
17 - access("CPWA3"."CLIENT_ID_K"=:B1 AND "CPWA3"."EFF_DTE"<'01-SEP-12' AND "CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM'))
filter("CPWA3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
18 - filter("CPWA1"."END_DTE" IS NULL)
19 - access("CLIENT_ID_K"="CPWA1"."CLIENT_ID_K" AND "CPWA1"."CREATE_TS"="VW_COL_1")
filter("CPWA1"."CREATE_TS"="VW_COL_1")
21 - access("CPWA1"."ID"="CLIENT_PRP_WRK_ACT_ID_K")
filter("CPWAS1"."CREATE_TS"= (SELECT MAX("CPWAS2"."CREATE_TS") FROM "CLIENT_PRP_WRK_ACT_STAT" "CPWAS2", (SELECT
MAX("$vm_col_1") "VW_COL_1","$vm_col_2" "CLIENT_PRP_WRK_ACT_ID_K" FROM (SELECT /*+ */ "CPWAS3"."EFF_DTE"
"$vm_col_1","CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" "$vm_col_2" FROM "CLIENT_PRP_WRK_ACT_STAT"
"CPWAS3","CLIENT_PRP_WRK_ACT_STAT" "CPWAS4" WHERE "CPWAS4"."EFF_DTE"<'01-SEP-12' AND "CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1
AND "CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12' AND "CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')
AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B2 AND
"CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM') GROUP BY "CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K",ROWID,"CPWAS3"."PRP_WRK_ACT_STAT_DTE","CPWAS4"."CLIENT_P
RP_WRK_ACT_ID_K","CPWAS3"."EFF_DTE" HAVING "CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE")) "$vm_view"
GROUP BY "$vm_col_2") "VW_SQ_2" WHERE "CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') AND
"CPWAS2"."EFF_DTE"="VW_COL_1" AND "CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND
"CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B3))
27 - filter("CPWAS3"."PRP_WRK_ACT_STAT_DTE"=MAX("CPWAS4"."PRP_WRK_ACT_STAT_DTE"))
29 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"="CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K")
30 - filter("CPWAS4"."PRP_WRK_ACT_STAT_DTE"<'01-SEP-12')
31 - access("CPWAS4"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS4"."EFF_DTE"<'01-SEP-12' AND
"CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWAS4"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
33 - access("CPWAS3"."CLIENT_PRP_WRK_ACT_ID_K"=:B1 AND "CPWAS3"."EFF_DTE"<'01-SEP-12' AND
"CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWAS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
34 - access("CLIENT_PRP_WRK_ACT_ID_K"="CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K" AND "CPWAS2"."EFF_DTE"="VW_COL_1" AND
"CPWAS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("CPWAS2"."CLIENT_PRP_WRK_ACT_ID_K"=:B1)
36 - access("ECAM1"."CLIENT_ID_K"="CPWA1"."CLIENT_ID_K")
37 - filter("AED1"."ELIG_END_DTE"='30-SEP-12' AND "AED1"."EXISTS_FLG"='Y')
38 - access("AED1"."AU_ID_K"="ECAM1"."AU_ID_K")
filter("AED1"."CREATE_TS"= (SELECT MAX("AED2"."CREATE_TS") FROM "AU_ELIG_DTE" "AED2", (SELECT MAX("AED3"."EFF_DTE")
"VW_COL_1","AED3"."AU_ID_K" "AU_ID_K" FROM "AU_ELIG_DTE" "AED3" WHERE "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."AU_ID_K"=:B1
AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AED3"."AU_ID_K") "VW_SQ_4" WHERE
"AED2"."AU_ID_K"=:B2 AND "AU_ID_K"="AED2"."AU_ID_K" AND "AED2"."EFF_DTE"="VW_COL_1" AND
"AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
40 - access("AED2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AED2"."AU_ID_K")
43 - access("AED3"."AU_ID_K"=:B1 AND "AED3"."EFF_DTE"<'01-SEP-12' AND "AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM'))
filter("AED3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
44 - access("AED2"."AU_ID_K"=:B1 AND "AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("AED2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
45 - access("AED1"."EDBC_ID_K"="EA1"."EDBC_ID_K")
48 - access("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("EA2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
53 - access("ECAM3"."AU_ID_K"=:B1 AND "ECAM3"."CLIENT_ID_K"=:B2 AND "ECAM3"."EFF_DTE"<'01-SEP-12' AND
"ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("ECAM3"."CLIENT_ID_K"=:B1 AND "ECAM3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
54 - access("AU_ID_K"="ECAM2"."AU_ID_K" AND "ECAM2"."EFF_DTE"="VW_COL_1" AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K" AND
"ECAM2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("ECAM2"."AU_ID_K"=:B1 AND "ECAM2"."CLIENT_ID_K"=:B2 AND "CLIENT_ID_K"="ECAM2"."CLIENT_ID_K")
55 - filter("AS1"."AU_STAT_CD_CODE_K"='ACTIVE')
56 - access("AU_ID_K"="WRKACTAUS"."AU_ID_K")
filter("AS1"."CREATE_TS"= (SELECT MAX("AS2"."CREATE_TS") FROM "AU_STAT" "AS2", (SELECT MAX("AS3"."EFF_DTE")
"VW_COL_1","AS3"."AU_ID_K" "AU_ID_K" FROM "AU_STAT" "AS3" WHERE "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."AU_ID_K"=:B1 AND
"AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM') GROUP BY "AS3"."AU_ID_K") "VW_SQ_7" WHERE
"AS2"."AU_ID_K"=:B2 AND "AU_ID_K"="AS2"."AU_ID_K" AND "AS2"."EFF_DTE"="VW_COL_1" AND
"AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM')))
58 - access("AS2"."EFF_DTE"="VW_COL_1" AND "AU_ID_K"="AS2"."AU_ID_K")
61 - access("AS3"."AU_ID_K"=:B1 AND "AS3"."EFF_DTE"<'01-SEP-12' AND "AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12
02.45.01.561483000 PM'))
filter("AS3"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
62 - access("AS2"."AU_ID_K"=:B1 AND "AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
filter("AS2"."CREATE_TS"<TO_TIMESTAMP('01-SEP-12 02.45.01.561483000 PM'))
63 - filter("AU"."PGM_CD_CODE_K"='FF')
64 - access("AU"."ID"="AS1"."AU_ID_K")
>
Part of Trace File
>
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /opt/app/oracle/product/10.2.0/db
System name: Linux
Node name: de0119006lb010
Release: 2.6.18-308.11.1.el5
Version: #1 SMP Fri Jun 15 15:41:53 EDT 2012
Machine: x86_64
Instance name: depdbprm3
Redo thread mounted by this instance: 3
Oracle process number: 103
Unix process pid: 29158, image: oracle@de0119006lb010
*** 2013-03-19 17:19:59.081
*** ACTION NAME:() 2013-03-19 17:19:59.081
*** MODULE NAME:(SQL Developer) 2013-03-19 17:19:59.081
*** SERVICE NAME:(depdbprm) 2013-03-19 17:19:59.081
*** SESSION ID:(1553.20651) 2013-03-19 17:19:59.081
WAIT #3: nam='gc cr grant 2-way' ela= 236 p1=62 p2=568096 p3=1 obj#=328952 tim=1331769139727726
WAIT #3: nam='db file sequential read' ela= 247 file#=62 block#=568096 blocks=1 obj#=328952 tim=1331769139728347
WAIT #3: nam='gc cr grant 2-way' ela= 259 p1=62 p2=568449 p3=1 obj#=328952 tim=1331769141363681
WAIT #3: nam='db file sequential read' ela= 267 file#=62 block#=568449 blocks=1 obj#=328952 tim=1331769141364023
WAIT #3: nam='gc current block 2-way' ela= 356 p1=63 p2=135004 p3=1 obj#=328952 tim=1331769143207109
WAIT #3: nam='gc current block 2-way' ela= 289 p1=63 p2=135073 p3=1 obj#=328952 tim=1331769143240780
WAIT #3: nam='gc current block 3-way' ela= 562 p1=62 p2=568137 p3=1 obj#=328952 tim=1331769145591937
WAIT #3: nam='gc current block 2-way' ela= 387 p1=63 p2=134686 p3=1 obj#=328952 tim=1331769145874228
WAIT #3: nam='gc current block 3-way' ela= 607 p1=62 p2=567750 p3=1 obj#=328952 tim=1331769146961322
*** 2013-03-19 17:20:09.096
WAIT #3: nam='gc current block 2-way' ela= 352 p1=61 p2=546053 p3=1 obj#=328952 tim=1331769149508254
WAIT #3: nam='gc current block 2-way' ela= 297 p1=61 p2=546052 p3=1 obj#=328952 tim=1331769149534031
WAIT #3: nam='gc current block 2-way' ela= 398 p1=63 p2=134765 p3=1 obj#=328952 tim=1331769150388736
WAIT #3: nam='gc current block 2-way' ela= 413 p1=43 p2=533298 p3=1 obj#=328952 tim=1331769150704716
WAIT #3: nam='gc current block 2-way' ela= 261 p1=43 p2=533297 p3=1 obj#=328952 tim=1331769150716671
WAIT #3: nam='gc current block 2-way' ela= 330 p1=57 p2=84679 p3=1 obj#=328952 tim=1331769152562873
WAIT #3: nam='gc current block 2-way' ela= 393 p1=57 p2=84250 p3=1 obj#=328952 tim=1331769153124750
WAIT #3: nam='gc current block 2-way' ela= 383 p1=57 p2=84492 p3=1 obj#=328952 tim=1331769153606792
WAIT #3: nam='gc current block 2-way' ela= 371 p1=61 p2=545720 p3=1 obj#=328952 tim=1331769154680811
WAIT #3: nam='gc current block 3-way' ela= 585 p1=62 p2=568311 p3=1 obj#=328952 tim=1331769154811847
WAIT #3: nam='gc current block 3-way' ela= 496 p1=46 p2=189388 p3=1 obj#=328952 tim=1331769155959780
WAIT #3: nam='gc current block 2-way' ela= 333 p1=138 p2=186289 p3=1 obj#=325456 tim=1331769155960430
WAIT #3: nam='gc current block 2-way' ela= 396 p1=61 p2=546147 p3=1 obj#=328952 tim=1331769156319216
WAIT #3: nam='gc current block 2-way' ela= 361 p1=43 p2=533326 p3=1 obj#=328952 tim=1331769156496194
WAIT #3: nam='gc current block 2-way' ela= 355 p1=61 p2=546055 p3=1 obj#=328952 tim=1331769156676604
WAIT #3: nam='gc current block 2-way' ela= 380 p1=23 p2=1024150 p3=1 obj#=328952 tim=1331769158887190
*** 2013-03-19 17:20:21.424
WAIT #3: nam='gc current block 2-way' ela= 345 p1=56 p2=640594 p3=1 obj#=328952 tim=1331769161546890
WAIT #3: nam='gc current block 2-way' ela= 373 p1=62 p2=568040 p3=1 obj#=328952 tim=1331769163580880
WAIT #3: nam='gc current block 2-way' ela= 395 p1=179 p2=201084 p3=1 obj#=328952 tim=1331769164782836
WAIT #3: nam='gc current block 2-way' ela= 399 p1=179 p2=201085 p3=1 obj#=328952 tim=1331769164873539
WAIT #3: nam='gc current block 2-way' ela= 276 p1=179 p2=201083 p3=1 obj#=328952 tim=1331769164882366
WAIT #3: nam='gc current block 2-way' ela= 406 p1=56 p2=640077 p3=1 obj#=328952 tim=1331769164960368
WAIT #3: nam='gc current block 3-way' ela= 553 p1=200 p2=191022 p3=1 obj#=328952 tim=1331769166617564
WAIT #3: nam='gc current block 2-way' ela= 383 p1=62 p2=567988 p3=1 obj#=328952 tim=1331769167885558
WAIT #3: nam='gc current block 2-way' ela= 359 p1=61 p2=545391 p3=1 obj#=328952 tim=1331769169178262
WAIT #3: nam='gc current block 2-way' ela= 394 p1=60 p2=103677 p3=1 obj#=328952 tim=1331769171025394
WAIT #3: nam='gc current block 2-way' ela= 267 p1=60 p2=103678 p3=1 obj#=328952 tim=1331769171033578
*** 2013-03-19 17:20:31.805
WAIT #3: nam='gc current block 2-way' ela= 622 p1=60 p2=104513 p3=1 obj#=328952 tim=1331769171684584
WAIT #3: nam='gc current block 2-way' ela= 272 p1=52 p2=137262 p3=1 obj#=328952 tim=1331769171912038
WAIT #3: nam='gc current block 2-way' ela= 369 p1=57 p2=84425 p3=1 obj#=328952 tim=1331769173674500
WAIT #3: nam='gc current block 2-way' ela= 307 p1=60 p2=103758 p3=1 obj#=328952 tim=1331769174117156
WAIT #3: nam='gc current block 3-way' ela= 668 p1=62 p2=567896 p3=1 obj#=328952 tim=1331769174388555
WAIT #3: nam='gc current block 2-way' ela= 321 p1=55 p2=158741 p3=1 obj#=328952 tim=1331769175733472
WAIT #3: nam='gc current block 2-way' ela= 368 p1=60 p2=104123 p3=1 obj#=328952 tim=1331769178620478
WAIT #3: nam='gc current block 2-way' ela= 406 p1=27 p2=102113 p3=1 obj#=328952 tim=1331769181249151
*** 2013-03-19 17:20:52.545
WAIT #3: nam='gc current block 2-way' ela= 391 p1=186 p2=204072 p3=1 obj#=328952 tim=1331769191939303
WAIT #3: nam='gc current block 3-way' ela= 547 p1=57 p2=64435 p3=1 obj#=327198 tim=1331769191940250
WAIT #3: nam='gc current block 2-way' ela= 370 p1=24 p2=106010 p3=1 obj#=328952 tim=1331769193513721
WAIT #3: nam='gc current block 2-way' ela= 447 p1=57 p2=84352 p3=1 obj#=328952 tim=1331769194379712
WAIT #3: nam='gc current block 2-way' ela= 388 p1=63 p2=135154 p3=1 obj#=328952 tim=1331769194780054
WAIT #3: nam='gc current block 2-way' ela= 349 p1=14 p2=379706 p3=1 obj#=328952 tim=1331769201061077
WAIT #3: nam='gc current block 2-way' ela= 106 p1=14 p2=379705 p3=1 obj#=328952 tim=1331769201066997
*** 2013-03-19 17:21:06.606
WAIT #3: nam='gc current block 2-way' ela= 423 p1=196 p2=202210 p3=1 obj#=328952 tim=133176920567
>
Object Information
>
select * from dba_objects where object_id = '328952';
XXXX AS_AIK_ASCCK_I 328952 328952 INDEX 20-FEB-13 20-FEB-13 2013-02-20:19:23:02 VALID N N N
>
Thanks,
Vijay -
Hi ,
11.2.0.1
AIX 6.1
I have following query which is executed from Application,the query comes back within 2 secs for not so common last_name combined with gender but it is taking longer time for common last_names like 'BROWN' or 'JONES' or 'SMITH' with gender_id .
select customerin0_.ROW_NUMBER as ROW1_22596_, customerin0_.ADDRESS_ID as
ADDRESS2_22596_, customerin0_.addressTypeId as addressT3_22596_,
customerin0_.city as city22596_, customerin0_.CONTACT_DETAILS_CODE_ID as
CONTACT5_22596_, customerin0_.county as county22596_, customerin0_.countyID
as countyID22596_, customerin0_.dob as dob22596_, customerin0_.eyecolor as
eyecolor22596_, customerin0_.eyecolorid as eyecolorid22596_,
customerin0_.FIRST_NAME as FIRST11_22596_, customerin0_.gender as
gender22596_, customerin0_.genderid as genderid22596_,
customerin0_.ID_NUMBER as ID14_22596_, customerin0_.JURISDICTION_CODE as
JURISDI15_22596_, customerin0_.LAST_NAME as LAST16_22596_,
customerin0_.LEGAL_ENTITY_ID as LEGAL17_22596_,
customerin0_.LEGAL_ENTITY_NUMBER as LEGAL18_22596_,
customerin0_.LEGAL_ENTITY_TYPE as LEGAL19_22596_, customerin0_.MIDDLE_NAME
as MIDDLE20_22596_, customerin0_.STREET_ADDRESS_1 as STREET21_22596_,
customerin0_.suffix_value as suffix22_22596_, customerin0_.ZIP_CODE as
ZIP23_22596_, customerin0_.ZIP_PLUS_4 as ZIP24_22596_
from
CUSTOMER_IND_SEARCH_VIEW customerin0_ where (customerin0_.LAST_NAME like :1)
and customerin0_.genderid=:2 and rownum<=200
call count cpu elapsed disk query current rows
Parse 0 0.00 0.00 0 0 0 0
Execute 0 0.00 0.00 0 0 0 0
Fetch 18 1.88 123.53 8245 12403 0 179
total 18 1.88 123.53 8245 12403 0 179
Misses in library cache during parse: 0
Parsing user id: 135 (???)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
ges message buffer allocation 259 0.00 0.00
gc cr grant 2-way 259 0.00 0.08
db file sequential read 10126 1.40 148.07
SQL*Net message from client 19 0.02 0.10
SQL*Net message to client 18 0.00 0.00
********************************************************************************Was not able to generate plan out of tkrprof ,captured it from OEM.
10 | NESTED LOOPS | | 805 | 73255 | 3477 (1)| 00:00:42 |
| 11 | NESTED LOOPS | | 805 | 51520 | 1866 (1)| 00:00:23 |
| 12 | NESTED LOOPS | | 805 | 33005 | 254 (0)| 00:00:04 |
|* 13 | TABLE ACCESS BY INDEX ROWID| REF_CONTACT_DETAILS | 1 | 10 | 1 (0)| 00:00:01 |
|* 14 | INDEX UNIQUE SCAN | XAK1_REF_CD_VALUE | 1 | | 0 (0)| |
| 15 | TABLE ACCESS BY INDEX ROWID| PERSON_PROFILE_NAMES | 805 | 24955 | 253 (0)| 00:00:04 |
|* 16 | INDEX RANGE SCAN | IDX$$_D7D50001 | 805 | | 4 (0)| 00:00:01 |
|* 17 | TABLE ACCESS BY INDEX ROWID | PERSON_PROFILE | 1 | 23 | 2 (0)| 00:00:01 |
|* 18 | INDEX UNIQUE SCAN | XPK_PERSON_PROFILE | 1 | | 1 (0)| 00:00:01 |
|* 19 | TABLE ACCESS BY INDEX ROWID | LEGAL_ENTITY | 1 | 27 | 2 (0)| 00:00:01 |
|* 20 | INDEX UNIQUE SCAN | XPK_LEGAL_ENTITY | 1 | | 1 (0)| 00:00:01 |
|* 21 | TABLE ACCESS BY INDEX ROWID | LEGAL_ENTITY_ADDRESSES | 1 | 81 | 3 (0)| 00:00:01 |
|* 22 | INDEX RANGE SCAN | LENUM_CODE_ID | 1 | | 2 (0)| 00:00:01 |
|* 23 | TABLE ACCESS BY INDEX ROWID | LEGAL_ENTITY_IDENTIFICATIONS | 1 | 36 | 3 (0)| 00:00:01 |
|* 24 | INDEX RANGE SCAN | XIF1_LEGAL_ENTITY_ID | 1 | | 2 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("REFCOUNTIES"."ID"=:B1)
4 - access("REFEYECOLORS"."ID"=:B1)
6 - access("REFGENDER"."ID"=:B1)
7 - filter(ROWNUM<=200)
13 - filter("REFCONTACTDETAILS"."MODE_TYPE"=4)
14 - access("REFCONTACTDETAILS"."VALUE"='PRA')
16 - access("PERSONPROFILENAMES"."LAST_NAME" LIKE :1 AND "PERSONPROFILENAMES"."IS_DELETED"=0)
filter(("PERSONPROFILENAMES"."LAST_NAME" LIKE :1 AND "PERSONPROFILENAMES"."IS_DELETED"=0))
17 - filter("SYS_ALIAS_2"."GENDER_ID"=:2)
18 - access("SYS_ALIAS_2"."PP_LEGALENTITY_NUMBER"="PERSONPROFILENAMES"."PP_LEGALENTITY_NUMBER")
19 - filter(("LEGALENTITY"."IS_DELETED"=0 OR "LEGALENTITY"."IS_DELETED"=NULL))
20 - access("LEGALENTITY"."LEGAL_ENTITY_NUMBER"="SYS_ALIAS_2"."PP_LEGALENTITY_NUMBER")
21 - filter("LEGALENTITYADDRESSES"."IS_DELETED"=0)
22 - access("LEGALENTITY"."LEGAL_ENTITY_NUMBER"="LEGALENTITYADDRESSES"."LEGAL_ENTITY_NUMBER" AND
"REFCONTACTDETAILS"."ID"="LEGALENTITYADDRESSES"."CONTACT_DETAILS_CODE_ID")
23 - filter(("LEGAL_ENTITY_ID"."END_DATE">=SYSDATE@! AND "LEGAL_ENTITY_ID"."EFFECTIVE_DATE"<=SYSDATE@!))
24 - access("LEGAL_ENTITY_ID"."LEGAL_ENTITY_NUMBER"="LEGALENTITY"."LEGAL_ENTITY_NUMBER")
Please advice ....
Thanks
Edited by: Monto on Aug 22, 2012 4:22 AMExplain Plan with common name.
SELECT customerin0_.ROW_NUMBER AS ROW1_22596_,
customerin0_.ADDRESS_ID AS ADDRESS2_22596_,
customerin0_.addressTypeId AS addressT3_22596_,
customerin0_.city AS city22596_,
customerin0_.CONTACT_DETAILS_CODE_ID AS CONTACT5_22596_,
customerin0_.county AS county22596_,
customerin0_.countyID AS countyID22596_,
customerin0_.dob AS dob22596_,
customerin0_.eyecolor AS eyecolor22596_,
customerin0_.eyecolorid AS eyecolorid22596_,
customerin0_.FIRST_NAME AS FIRST11_22596_,
customerin0_.gender AS gender22596_,
customerin0_.genderid AS genderid22596_,
customerin0_.ID_NUMBER AS ID14_22596_,
customerin0_.JURISDICTION_CODE AS JURISDI15_22596_,
customerin0_.LAST_NAME AS LAST16_22596_,
customerin0_.LEGAL_ENTITY_ID AS LEGAL17_22596_,
customerin0_.LEGAL_ENTITY_NUMBER AS LEGAL18_22596_,
customerin0_.LEGAL_ENTITY_TYPE AS LEGAL19_22596_,
customerin0_.MIDDLE_NAME AS MIDDLE20_22596_,
customerin0_.STREET_ADDRESS_1 AS STREET21_22596_,
customerin0_.suffix_value AS suffix22_22596_,
customerin0_.ZIP_CODE AS ZIP23_22596_,
customerin0_.ZIP_PLUS_4 AS ZIP24_22596_
FROM xmatapp.CUSTOMER_IND_SEARCH_VIEW customerin0_
WHERE (customerin0_.LAST_NAME LIKE 'SMITH%')
AND customerin0_.genderid = 2
AND ROWNUM <= 200
call count cpu elapsed disk query current rows
Parse 1 0.04 0.05 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 15 5.05 167.51 14050 20246 0 200
total 17 5.09 167.56 14050 20246 0 200
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: SYS
Rows Row Source Operation
41 TABLE ACCESS BY INDEX ROWID REF_COUNTIES (cr=58 pr=0 pw=0 time=0 us cost=1 size=12 card=1)
41 INDEX UNIQUE SCAN XPK_REF_COUNTIES (cr=17 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308432)
7 TABLE ACCESS BY INDEX ROWID REF_EYE_COLORS (cr=11 pr=0 pw=0 time=0 us cost=1 size=10 card=1)
7 INDEX UNIQUE SCAN XPK_REF_EYE_COLORS (cr=4 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308404)
1 TABLE ACCESS BY INDEX ROWID REF_GENDER (cr=2 pr=0 pw=0 time=0 us cost=1 size=9 card=1)
1 INDEX UNIQUE SCAN XPK_REF_GENDER (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308759)
200 COUNT STOPKEY (cr=20175 pr=14050 pw=0 time=2540633 us)
200 NESTED LOOPS OUTER (cr=20175 pr=14050 pw=0 time=2540633 us cost=103 size=1248 card=6)
200 NESTED LOOPS (cr=19756 pr=13775 pw=0 time=17003952 us cost=80 size=1032 card=6)
200 NESTED LOOPS (cr=19304 pr=13586 pw=0 time=14271285 us cost=55 size=1092 card=12)
200 NESTED LOOPS (cr=19017 pr=13453 pw=0 time=13593988 us cost=31 size=768 card=12)
4923 NESTED LOOPS (cr=4640 pr=4614 pw=0 time=63281900 us cost=7 size=492 card=12)
1 TABLE ACCESS BY INDEX ROWID REF_CONTACT_DETAILS (cr=2 pr=0 pw=0 time=0 us cost=1 size=10 card=1)
1 INDEX UNIQUE SCAN XAK1_REF_CD_VALUE (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308425)
4923 TABLE ACCESS BY INDEX ROWID PERSON_PROFILE_NAMES (cr=4638 pr=4614 pw=0 time=63269280 us cost=6 size=372 card=12)
4923 INDEX RANGE SCAN IDX$$_D7D50001 (cr=30 pr=16 pw=0 time=60326 us cost=2 size=0 card=12)(object id 311149)
200 TABLE ACCESS BY INDEX ROWID PERSON_PROFILE (cr=14377 pr=8839 pw=0 time=0 us cost=2 size=23 card=1)
4923 INDEX UNIQUE SCAN XPK_PERSON_PROFILE (cr=9454 pr=4288 pw=0 time=0 us cost=1 size=0 card=1)(object id 308484)
200 TABLE ACCESS BY INDEX ROWID LEGAL_ENTITY (cr=287 pr=133 pw=0 time=0 us cost=2 size=27 card=1)
200 INDEX UNIQUE SCAN XPK_LEGAL_ENTITY (cr=225 pr=80 pw=0 time=0 us cost=1 size=0 card=1)(object id 308494)
200 TABLE ACCESS BY INDEX ROWID LEGAL_ENTITY_ADDRESSES (cr=452 pr=189 pw=0 time=0 us cost=3 size=81 card=1)
200 INDEX RANGE SCAN LENUM_CODE_ID (cr=281 pr=94 pw=0 time=0 us cost=2 size=0 card=1)(object id 307952)
200 TABLE ACCESS BY INDEX ROWID LEGAL_ENTITY_IDENTIFICATIONS (cr=419 pr=275 pw=0 time=0 us cost=4 size=36 card=1)
200 INDEX RANGE SCAN XIF1_LEGAL_ENTITY_ID (cr=219 pr=77 pw=0 time=0 us cost=2 size=0 card=1)(object id 308082)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
ges message buffer allocation 8576 0.00 0.02
library cache lock 7 0.00 0.00
library cache pin 7 0.00 0.00
SQL*Net message to client 15 0.00 0.00
Disk file operations I/O 19 0.01 0.03
gc cr grant 2-way 8554 0.01 3.09
db file sequential read 14050 0.91 158.32
SQL*Net message from client 15 32.28 35.97
gc cr grant congested 8 0.00 0.01
********************************************************************************Plan with rare names.
SELECT customerin0_.ROW_NUMBER AS ROW1_22596_,
customerin0_.ADDRESS_ID AS ADDRESS2_22596_,
customerin0_.addressTypeId AS addressT3_22596_,
customerin0_.city AS city22596_,
customerin0_.CONTACT_DETAILS_CODE_ID AS CONTACT5_22596_,
customerin0_.county AS county22596_,
customerin0_.countyID AS countyID22596_,
customerin0_.dob AS dob22596_,
customerin0_.eyecolor AS eyecolor22596_,
customerin0_.eyecolorid AS eyecolorid22596_,
customerin0_.FIRST_NAME AS FIRST11_22596_,
customerin0_.gender AS gender22596_,
customerin0_.genderid AS genderid22596_,
customerin0_.ID_NUMBER AS ID14_22596_,
customerin0_.JURISDICTION_CODE AS JURISDI15_22596_,
customerin0_.LAST_NAME AS LAST16_22596_,
customerin0_.LEGAL_ENTITY_ID AS LEGAL17_22596_,
customerin0_.LEGAL_ENTITY_NUMBER AS LEGAL18_22596_,
customerin0_.LEGAL_ENTITY_TYPE AS LEGAL19_22596_,
customerin0_.MIDDLE_NAME AS MIDDLE20_22596_,
customerin0_.STREET_ADDRESS_1 AS STREET21_22596_,
customerin0_.suffix_value AS suffix22_22596_,
customerin0_.ZIP_CODE AS ZIP23_22596_,
customerin0_.ZIP_PLUS_4 AS ZIP24_22596_
FROM xmatapp.CUSTOMER_IND_SEARCH_VIEW customerin0_
WHERE (customerin0_.LAST_NAME LIKE 'KUMAR%')
AND customerin0_.genderid = '2'
AND ROWNUM <= 200
call count cpu elapsed disk query current rows
Parse 1 0.05 0.07 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 15 0.02 0.03 0 1829 0 200
total 17 0.07 0.10 0 1829 0 200
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: SYS
Rows Row Source Operation
23 TABLE ACCESS BY INDEX ROWID REF_COUNTIES (cr=37 pr=0 pw=0 time=0 us cost=1 size=12 card=1)
23 INDEX UNIQUE SCAN XPK_REF_COUNTIES (cr=14 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308432)
5 TABLE ACCESS BY INDEX ROWID REF_EYE_COLORS (cr=9 pr=0 pw=0 time=0 us cost=1 size=10 card=1)
5 INDEX UNIQUE SCAN XPK_REF_EYE_COLORS (cr=4 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308404)
1 TABLE ACCESS BY INDEX ROWID REF_GENDER (cr=2 pr=0 pw=0 time=0 us cost=1 size=9 card=1)
1 INDEX UNIQUE SCAN XPK_REF_GENDER (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308759)
200 COUNT STOPKEY (cr=1781 pr=0 pw=0 time=15124 us)
200 NESTED LOOPS OUTER (cr=1781 pr=0 pw=0 time=14726 us cost=103 size=1248 card=6)
200 NESTED LOOPS (cr=1383 pr=0 pw=0 time=35422 us cost=80 size=1032 card=6)
200 NESTED LOOPS (cr=980 pr=0 pw=0 time=20198 us cost=55 size=1092 card=12)
200 NESTED LOOPS (cr=741 pr=0 pw=0 time=15422 us cost=31 size=768 card=12)
289 NESTED LOOPS (cr=129 pr=0 pw=0 time=3648 us cost=7 size=492 card=12)
1 TABLE ACCESS BY INDEX ROWID REF_CONTACT_DETAILS (cr=2 pr=0 pw=0 time=0 us cost=1 size=10 card=1)
1 INDEX UNIQUE SCAN XAK1_REF_CD_VALUE (cr=1 pr=0 pw=0 time=0 us cost=0 size=0 card=1)(object id 308425)
289 TABLE ACCESS BY INDEX ROWID PERSON_PROFILE_NAMES (cr=127 pr=0 pw=0 time=3360 us cost=6 size=372 card=12)
289 INDEX RANGE SCAN IDX$$_D7D50001 (cr=18 pr=0 pw=0 time=672 us cost=2 size=0 card=12)(object id 311149)
200 TABLE ACCESS BY INDEX ROWID PERSON_PROFILE (cr=612 pr=0 pw=0 time=0 us cost=2 size=23 card=1)
289 INDEX UNIQUE SCAN XPK_PERSON_PROFILE (cr=323 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 308484)
200 TABLE ACCESS BY INDEX ROWID LEGAL_ENTITY (cr=239 pr=0 pw=0 time=0 us cost=2 size=27 card=1)
200 INDEX UNIQUE SCAN XPK_LEGAL_ENTITY (cr=194 pr=0 pw=0 time=0 us cost=1 size=0 card=1)(object id 308494)
200 TABLE ACCESS BY INDEX ROWID LEGAL_ENTITY_ADDRESSES (cr=403 pr=0 pw=0 time=0 us cost=3 size=81 card=1)
200 INDEX RANGE SCAN LENUM_CODE_ID (cr=230 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 307952)
200 TABLE ACCESS BY INDEX ROWID LEGAL_ENTITY_IDENTIFICATIONS (cr=398 pr=0 pw=0 time=0 us cost=4 size=36 card=1)
200 INDEX RANGE SCAN XIF1_LEGAL_ENTITY_ID (cr=198 pr=0 pw=0 time=0 us cost=2 size=0 card=1)(object id 308082)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
ges message buffer allocation 14 0.00 0.00
library cache lock 7 0.00 0.00
library cache pin 7 0.00 0.00
KJC: Wait for msg sends to complete 2 0.00 0.00
SQL*Net message to client 15 0.00 0.00
SQL*Net message from client 15 18.88 21.81
********************************************************************************PERSONPROFILENAMES-16 Milion rows
LEGALENTITYADDRESSES-34 Milion rows
PERSONPROFILE-16 Milion rows
LEGALENTITY 17 Milion rows
refcontactdetails 45 rows
Thanks -
Sql Query Tuning. Please help me to tune this query
Hi All ,
I have this problematic Sql . It is taking huge time to execute. It contains a view CIDV, which i think is the bottleneck.
I have pasted the query below. I will be pasting TKPROF and explain plan for the same. Please advice me to tune this query.
SELECT GCC.SEGMENT1 || '.' || GCC.SEGMENT2 || '.' || GCC.SEGMENT3 || '.' ||
GCC.SEGMENT4 || '.' || GCC.SEGMENT5 || '.' || GCC.SEGMENT6 || '.' ||
GCC.SEGMENT7 || '.' || GCC.SEGMENT8 || '.' || GCC.SEGMENT9 OFFSET_ACCOUNT,
OOD.ORGANIZATION_CODE,
CIDV.SUBINVENTORY_CODE OFFSET_SUBINV,
MIL.SEGMENT1 || '.' || MIL.SEGMENT2 || '.' || MIL.SEGMENT3 || '.' ||
MIL.SEGMENT4 || '.' || MIL.SEGMENT5 OFFSET_LOCATOR,
CIDV.LAST_UPDATE_LOGIN
FROM APPS.CST_INV_DISTRIBUTION_V CIDV,
APPS.GL_CODE_COMBINATIONS GCC,
APPS.MTL_ITEM_LOCATIONS MIL,
APPS.ORG_ORGANIZATION_DEFINITIONS OOD
WHERE CIDV.TRANSACTION_ID = :B2
AND CIDV.PRIMARY_QUANTITY = (-1) * :B1
AND CIDV.REFERENCE_ACCOUNT = GCC.CODE_COMBINATION_ID
AND OOD.ORGANIZATION_ID = CIDV.ORGANIZATION_ID
AND MIL.INVENTORY_LOCATION_ID = CIDV.LOCATOR_ID
AND GCC.ACCOUNT_TYPE = 'A'****************
TKPROF
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 68337 10.32 10.32 0 0 0 0
Fetch 68337 229.75 936.36 58819 6743323 1121 68232
total 136675 240.07 946.69 58819 6743323 1121 68232
Misses in library cache during parse: 1
Misses in library cache during execute: 1
Optimizer mode: ALL_ROWS
Parsing user id: 203 (recursive depth: 1)
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
1 1 1 MERGE JOIN CARTESIAN (cr=102 pr=15 pw=0 time=193608 us cost=56 size=219 card=1)
1 1 1 NESTED LOOPS (cr=100 pr=15 pw=0 time=193483 us cost=53 size=219 card=1)
1 1 1 NESTED LOOPS (cr=99 pr=15 pw=0 time=193407 us cost=52 size=215 card=1)
1 1 1 NESTED LOOPS (cr=96 pr=15 pw=0 time=193378 us cost=51 size=190 card=1)
1 1 1 NESTED LOOPS (cr=93 pr=15 pw=0 time=193284 us cost=49 size=162 card=1)
1 1 1 NESTED LOOPS (cr=89 pr=14 pw=0 time=185515 us cost=46 size=138 card=1)
1 1 1 NESTED LOOPS (cr=85 pr=12 pw=0 time=157975 us cost=44 size=81 card=1)
1 1 1 NESTED LOOPS (cr=83 pr=12 pw=0 time=157925 us cost=43 size=73 card=1)
1 1 1 NESTED LOOPS (cr=81 pr=12 pw=0 time=157641 us cost=43 size=132 card=2)
1 1 1 VIEW CST_INV_DISTRIBUTION_V (cr=78 pr=12 pw=0 time=156386 us cost=41 size=118 card=2)
1 1 1 UNION-ALL (cr=78 pr=12 pw=0 time=156378 us)
0 0 0 NESTED LOOPS OUTER (cr=44 pr=9 pw=0 time=124997 us cost=20 size=291 card=1)
0 0 0 NESTED LOOPS (cr=44 pr=9 pw=0 time=124993 us cost=18 size=255 card=1)
0 0 0 NESTED LOOPS (cr=44 pr=9 pw=0 time=124990 us cost=18 size=251 card=1)
33 33 33 MERGE JOIN CARTESIAN (cr=25 pr=6 pw=0 time=98544 us cost=14 size=192 card=1)
1 1 1 NESTED LOOPS OUTER (cr=22 pr=5 pw=0 time=85754 us cost=12 size=156 card=1)
1 1 1 NESTED LOOPS (cr=19 pr=4 pw=0 time=79830 us cost=10 size=120 card=1)
1 1 1 NESTED LOOPS OUTER (cr=17 pr=4 pw=0 time=79813 us cost=9 size=113 card=1)
1 1 1 NESTED LOOPS (cr=15 pr=4 pw=0 time=79752 us cost=8 size=106 card=1)
1 1 1 NESTED LOOPS (cr=11 pr=2 pw=0 time=43120 us cost=6 size=93 card=1)
1 1 1 NESTED LOOPS (cr=7 pr=2 pw=0 time=43087 us cost=4 size=83 card=1)
1 1 1 NESTED LOOPS (cr=6 pr=2 pw=0 time=43072 us cost=4 size=80 card=1)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_MATERIAL_TRANSACTIONS (cr=5 pr=2 pw=0 time=43042 us cost=4 size=76 card=1)
1 1 1 INDEX UNIQUE SCAN MTL_MATERIAL_TRANSACTIONS_U1 (cr=4 pr=2 pw=0 time=43011 us cost=3 size=0 card=1)(object id 12484094)
1 1 1 INDEX UNIQUE SCAN MTL_TRANSACTION_TYPES_U1 (cr=1 pr=0 pw=0 time=20 us cost=0 size=764 card=191)(object id 9983)
1 1 1 INDEX UNIQUE SCAN MTL_TXN_SOURCE_TYPES_U1 (cr=1 pr=0 pw=0 time=7 us cost=0 size=54 card=18)(object id 9987)
1 1 1 INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=4 pr=0 pw=0 time=27 us cost=2 size=736324450 card=73632445)(object id 12484155)
1 1 1 INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_TL_U1 (cr=4 pr=2 pw=0 time=36626 us cost=2 size=957481070 card=73652390)(object id 12484137)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=42 us cost=1 size=3290 card=470)
1 1 1 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=28 us cost=0 size=0 card=1)(object id 9847)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=12 us cost=1 size=3290 card=470)
1 1 1 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=7 us cost=0 size=0 card=1)(object id 9847)
0 0 0 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=1 pw=0 time=5915 us cost=2 size=36 card=1)(object id 705891)
33 33 33 BUFFER SORT (cr=3 pr=1 pw=0 time=12713 us cost=12 size=36 card=1)
33 33 33 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=1 pw=0 time=12582 us cost=2 size=36 card=1)(object id 705891)
0 0 0 TABLE ACCESS BY INDEX ROWID MTL_TRANSACTION_ACCOUNTS (cr=19 pr=3 pw=0 time=26591 us cost=4 size=59 card=1)
66 66 66 INDEX RANGE SCAN MTL_TRANSACTION_ACCOUNTS_N1 (cr=18 pr=2 pw=0 time=13607 us cost=3 size=0 card=3)(object id 12484127)
0 0 0 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=0 pr=0 pw=0 time=0 us cost=0 size=4 card=1)(object id 9847)
0 0 0 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=0 pr=0 pw=0 time=0 us cost=2 size=36 card=1)(object id 705891)
1 1 1 NESTED LOOPS (cr=34 pr=3 pw=0 time=31269 us cost=21 size=288 card=1)
1 1 1 NESTED LOOPS (cr=30 pr=3 pw=0 time=31161 us cost=19 size=275 card=1)
1 1 1 NESTED LOOPS (cr=26 pr=3 pw=0 time=31105 us cost=17 size=265 card=1)
1 1 1 NESTED LOOPS (cr=25 pr=3 pw=0 time=31082 us cost=17 size=261 card=1)
1 1 1 NESTED LOOPS OUTER (cr=23 pr=3 pw=0 time=31027 us cost=16 size=254 card=1)
1 1 1 NESTED LOOPS (cr=21 pr=3 pw=0 time=30980 us cost=15 size=247 card=1)
1 1 1 NESTED LOOPS (cr=20 pr=3 pw=0 time=30957 us cost=15 size=243 card=1)
1 1 1 NESTED LOOPS OUTER (cr=19 pr=3 pw=0 time=30926 us cost=15 size=240 card=1)
1 1 1 NESTED LOOPS (cr=16 pr=3 pw=0 time=30389 us cost=13 size=204 card=1)
1 1 1 NESTED LOOPS (cr=11 pr=0 pw=0 time=665 us cost=9 size=131 card=1)
1 1 1 NESTED LOOPS OUTER (cr=8 pr=0 pw=0 time=306 us cost=7 size=95 card=1)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_TRANSACTION_ACCOUNTS (cr=5 pr=0 pw=0 time=37 us cost=5 size=59 card=1)
2 2 2 INDEX RANGE SCAN MTL_TRANSACTION_ACCOUNTS_N1 (cr=4 pr=0 pw=0 time=17 us cost=4 size=0 card=3)(object id 12484127)
1 1 1 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=216 us cost=2 size=36 card=1)(object id 705891)
1 1 1 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=352 us cost=2 size=36 card=1)(object id 705891)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_MATERIAL_TRANSACTIONS (cr=5 pr=3 pw=0 time=29716 us cost=4 size=73 card=1)
1 1 1 INDEX RANGE SCAN MTL_MATERIAL_TRANSACTIONS_N23 (cr=4 pr=3 pw=0 time=29588 us cost=3 size=0 card=1)(object id 12484133)
0 0 0 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=3 pr=0 pw=0 time=520 us cost=2 size=36 card=1)(object id 705891)
1 1 1 INDEX UNIQUE SCAN MTL_TXN_SOURCE_TYPES_U1 (cr=1 pr=0 pw=0 time=22 us cost=0 size=3 card=1)(object id 9987)
1 1 1 INDEX UNIQUE SCAN MTL_TRANSACTION_TYPES_U1 (cr=1 pr=0 pw=0 time=16 us cost=0 size=4 card=1)(object id 9983)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=34 us cost=1 size=7 card=1)
1 1 1 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=19 us cost=0 size=0 card=1)(object id 9847)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=44 us cost=1 size=7 card=1)
1 1 1 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=14 us cost=0 size=0 card=1)(object id 9847)
1 1 1 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=13 us cost=0 size=4 card=1)(object id 9847)
1 1 1 INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_B_U1 (cr=4 pr=0 pw=0 time=49 us cost=2 size=10 card=1)(object id 12484155)
1 1 1 INDEX UNIQUE SCAN MTL_SYSTEM_ITEMS_TL_U1 (cr=4 pr=0 pw=0 time=96 us cost=2 size=13 card=1)(object id 12484137)
1 1 1 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS (cr=3 pr=0 pw=0 time=1246 us cost=1 size=7 card=1)
1 1 1 INDEX UNIQUE SCAN HR_ORGANIZATION_UNITS_PK (cr=2 pr=0 pw=0 time=24 us cost=0 size=0 card=1)(object id 250158)
1 1 1 INDEX UNIQUE SCAN HR_ALL_ORGANIZATION_UNTS_TL_PK (cr=2 pr=0 pw=0 time=275 us cost=0 size=7 card=1)(object id 689101)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_PARAMETERS (cr=2 pr=0 pw=0 time=38 us cost=1 size=8 card=1)
1 1 1 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=1 pr=0 pw=0 time=15 us cost=0 size=0 card=1)(object id 9847)
1 1 1 TABLE ACCESS BY INDEX ROWID GL_CODE_COMBINATIONS (cr=4 pr=2 pw=0 time=27531 us cost=2 size=57 card=1)
1 1 1 INDEX UNIQUE SCAN GL_CODE_COMBINATIONS_U1 (cr=3 pr=1 pw=0 time=19925 us cost=1 size=0 card=1)(object id 51426)
1 1 1 TABLE ACCESS BY INDEX ROWID MTL_ITEM_LOCATIONS (cr=4 pr=1 pw=0 time=7758 us cost=3 size=24 card=1)
1 1 1 INDEX RANGE SCAN MTL_ITEM_LOCATIONS_U1 (cr=3 pr=0 pw=0 time=51 us cost=2 size=0 card=1)(object id 9761)
1 1 1 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=3 pr=0 pw=0 time=85 us cost=2 size=28 card=1)
1 1 1 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=2 pr=0 pw=0 time=29 us cost=1 size=0 card=2)(object id 5379798)
1 1 1 TABLE ACCESS BY INDEX ROWID HR_ORGANIZATION_INFORMATION (cr=3 pr=0 pw=0 time=25 us cost=1 size=25 card=1)
1 1 1 INDEX RANGE SCAN HR_ORGANIZATION_INFORMATIO_FK2 (cr=2 pr=0 pw=0 time=11 us cost=1 size=0 card=1)(object id 5379798)
1 1 1 INDEX FULL SCAN GL_SETS_OF_BOOKS_U2 (cr=1 pr=0 pw=0 time=69 us cost=1 size=4 card=1)(object id 1380842)
1 1 1 BUFFER SORT (cr=2 pr=0 pw=0 time=110 us cost=55 size=0 card=1)
1 1 1 TABLE ACCESS FULL FND_PRODUCT_GROUPS (cr=2 pr=0 pw=0 time=59 us cost=3 size=0 card=1)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
library cache lock 2 0.00 0.00
library cache pin 2 0.00 0.00
Disk file operations I/O 249 0.00 0.00
db file sequential read 58819 2.61 714.28
gc cr grant 2-way 5198 0.16 4.52
gc current grant busy 1 0.00 0.00
KJC: Wait for msg sends to complete 517 0.00 0.05
library cache: mutex X 433 0.01 0.04
gc cr grant congested 28 0.08 0.18
latch: ges resource hash list 5 0.00 0.00
gc current block 2-way 513 0.11 0.61
gc current block congested 2 0.00 0.00
latch: gc element 16 0.00 0.01
latch: cache buffers chains 4 0.00 0.00
latch: object queue header operation 3 0.00 0.00
********************************************************************************Explain Plan for the query
SELECT STATEMENT, GOAL = ALL_ROWS Cost=56 Cardinality=1 Bytes=219
MERGE JOIN CARTESIAN Cost=56 Cardinality=1 Bytes=219
NESTED LOOPS Cost=53 Cardinality=1 Bytes=219
NESTED LOOPS Cost=52 Cardinality=1 Bytes=215
NESTED LOOPS Cost=51 Cardinality=1 Bytes=190
NESTED LOOPS Cost=49 Cardinality=1 Bytes=162
NESTED LOOPS Cost=46 Cardinality=1 Bytes=138
NESTED LOOPS Cost=44 Cardinality=1 Bytes=81
NESTED LOOPS Cost=43 Cardinality=1 Bytes=73
NESTED LOOPS Cost=43 Cardinality=2 Bytes=132
VIEW Object owner=APPS Object name=CST_INV_DISTRIBUTION_V Cost=41 Cardinality=2 Bytes=118
UNION-ALL
NESTED LOOPS OUTER Cost=20 Cardinality=1 Bytes=291
NESTED LOOPS Cost=18 Cardinality=1 Bytes=255
NESTED LOOPS Cost=18 Cardinality=1 Bytes=251
MERGE JOIN CARTESIAN Cost=14 Cardinality=1 Bytes=192
NESTED LOOPS OUTER Cost=12 Cardinality=1 Bytes=156
NESTED LOOPS Cost=10 Cardinality=1 Bytes=120
NESTED LOOPS OUTER Cost=9 Cardinality=1 Bytes=113
NESTED LOOPS Cost=8 Cardinality=1 Bytes=106
NESTED LOOPS Cost=6 Cardinality=1 Bytes=93
NESTED LOOPS Cost=4 Cardinality=1 Bytes=83
NESTED LOOPS Cost=4 Cardinality=1 Bytes=80
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_MATERIAL_TRANSACTIONS Cost=4 Cardinality=1 Bytes=76
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_MATERIAL_TRANSACTIONS_U1 Cost=3 Cardinality=1
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_TRANSACTION_TYPES_U1 Cost=0 Cardinality=191 Bytes=764
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_TXN_SOURCE_TYPES_U1 Cost=0 Cardinality=18 Bytes=54
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_SYSTEM_ITEMS_B_U1 Cost=2 Cardinality=73632445 Bytes=736324450
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_SYSTEM_ITEMS_TL_U1 Cost=2 Cardinality=73652390 Bytes=957481070
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_PARAMETERS Cost=1 Cardinality=470 Bytes=3290
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_PARAMETERS_U1 Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_PARAMETERS Cost=1 Cardinality=470 Bytes=3290
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_PARAMETERS_U1 Cost=0 Cardinality=1
INDEX RANGE SCAN Object owner=APPLSYS Object name=FND_LOOKUP_VALUES_U1 Cost=2 Cardinality=1 Bytes=36
BUFFER SORT Cost=12 Cardinality=1 Bytes=36
INDEX RANGE SCAN Object owner=APPLSYS Object name=FND_LOOKUP_VALUES_U1 Cost=2 Cardinality=1 Bytes=36
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_TRANSACTION_ACCOUNTS Cost=4 Cardinality=1 Bytes=59
INDEX RANGE SCAN Object owner=INV Object name=MTL_TRANSACTION_ACCOUNTS_N1 Cost=3 Cardinality=3
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_PARAMETERS_U1 Cost=0 Cardinality=1 Bytes=4
INDEX RANGE SCAN Object owner=APPLSYS Object name=FND_LOOKUP_VALUES_U1 Cost=2 Cardinality=1 Bytes=36
NESTED LOOPS Cost=21 Cardinality=1 Bytes=288
NESTED LOOPS Cost=19 Cardinality=1 Bytes=275
NESTED LOOPS Cost=17 Cardinality=1 Bytes=265
NESTED LOOPS Cost=17 Cardinality=1 Bytes=261
NESTED LOOPS OUTER Cost=16 Cardinality=1 Bytes=254
NESTED LOOPS Cost=15 Cardinality=1 Bytes=247
NESTED LOOPS Cost=15 Cardinality=1 Bytes=243
NESTED LOOPS OUTER Cost=15 Cardinality=1 Bytes=240
NESTED LOOPS Cost=13 Cardinality=1 Bytes=204
NESTED LOOPS Cost=9 Cardinality=1 Bytes=131
NESTED LOOPS OUTER Cost=7 Cardinality=1 Bytes=95
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_TRANSACTION_ACCOUNTS Cost=5 Cardinality=1 Bytes=59
INDEX RANGE SCAN Object owner=INV Object name=MTL_TRANSACTION_ACCOUNTS_N1 Cost=4 Cardinality=3
INDEX RANGE SCAN Object owner=APPLSYS Object name=FND_LOOKUP_VALUES_U1 Cost=2 Cardinality=1 Bytes=36
INDEX RANGE SCAN Object owner=APPLSYS Object name=FND_LOOKUP_VALUES_U1 Cost=2 Cardinality=1 Bytes=36
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_MATERIAL_TRANSACTIONS Cost=4 Cardinality=1 Bytes=73
INDEX RANGE SCAN Object owner=INV Object name=MTL_MATERIAL_TRANSACTIONS_N23 Cost=3 Cardinality=1
INDEX RANGE SCAN Object owner=APPLSYS Object name=FND_LOOKUP_VALUES_U1 Cost=2 Cardinality=1 Bytes=36
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_TXN_SOURCE_TYPES_U1 Cost=0 Cardinality=1 Bytes=3
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_TRANSACTION_TYPES_U1 Cost=0 Cardinality=1 Bytes=4
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_PARAMETERS Cost=1 Cardinality=1 Bytes=7
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_PARAMETERS_U1 Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_PARAMETERS Cost=1 Cardinality=1 Bytes=7
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_PARAMETERS_U1 Cost=0 Cardinality=1
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_PARAMETERS_U1 Cost=0 Cardinality=1 Bytes=4
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_SYSTEM_ITEMS_B_U1 Cost=2 Cardinality=1 Bytes=10
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_SYSTEM_ITEMS_TL_U1 Cost=2 Cardinality=1 Bytes=13
TABLE ACCESS BY INDEX ROWID Object owner=HR Object name=HR_ALL_ORGANIZATION_UNITS Cost=1 Cardinality=1 Bytes=7
INDEX UNIQUE SCAN Object owner=HR Object name=HR_ORGANIZATION_UNITS_PK Cost=0 Cardinality=1
INDEX UNIQUE SCAN Object owner=HR Object name=HR_ALL_ORGANIZATION_UNTS_TL_PK Cost=0 Cardinality=1 Bytes=7
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_PARAMETERS Cost=1 Cardinality=1 Bytes=8
INDEX UNIQUE SCAN Object owner=INV Object name=MTL_PARAMETERS_U1 Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=GL Object name=GL_CODE_COMBINATIONS Cost=2 Cardinality=1 Bytes=57
INDEX UNIQUE SCAN Object owner=GL Object name=GL_CODE_COMBINATIONS_U1 Cost=1 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=INV Object name=MTL_ITEM_LOCATIONS Cost=3 Cardinality=1 Bytes=24
INDEX RANGE SCAN Object owner=INV Object name=MTL_ITEM_LOCATIONS_U1 Cost=2 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=HR Object name=HR_ORGANIZATION_INFORMATION Cost=2 Cardinality=1 Bytes=28
INDEX RANGE SCAN Object owner=HR Object name=HR_ORGANIZATION_INFORMATIO_FK2 Cost=1 Cardinality=2
TABLE ACCESS BY INDEX ROWID Object owner=HR Object name=HR_ORGANIZATION_INFORMATION Cost=1 Cardinality=1 Bytes=25
INDEX RANGE SCAN Object owner=HR Object name=HR_ORGANIZATION_INFORMATIO_FK2 Cost=1 Cardinality=1
INDEX FULL SCAN Object owner=GL Object name=GL_SETS_OF_BOOKS_U2 Cost=1 Cardinality=1 Bytes=4
BUFFER SORT Cost=55 Cardinality=1
TABLE ACCESS FULL Object owner=APPLSYS Object name=FND_PRODUCT_GROUPS Cost=3 Cardinality=1 -
Loading slide show takes too long - want play to start earlier
I made a long slideshow with perhaps 80 smallish (700x500) images. It is just a simple timeline with fade ins with varying durations for displaying the images. Most images are shown for a second or more. It takes quite a while to load sometimes. One is left looking at the preload gif - which makes a bad impression.
Is there any way I can code it such that it will start to play after say 10 images or fewer are loaded. There would be plenty of time I would think for the rest to load while the show is going on - even with a bad connection.
If I had control I could tweak till I found what I think is the best compromise. It would be preferable in the worst case for there to be pauses in the playback down the line rather than at the start.
I was thinking of splitting it into chunks and making a load url action once in a while for another gaggle of images. But that sounds a very poor solution at onset - as if it would break up the action even if it was being viewed on a fast connection.
I am prepared start all over if there are any better strategies suggested
thanksHave finally found a solution for this problem: http://serverfault.com/questions/490352 … w-to-start
Now the applications do start immediately via SSH X11 forwarding as expected.
The following three lines helped:
ip6tables -A INPUT -i lo -j ACCEPT
ip6tables -A OUTPUT -o lo -j ACCEPT
ip6tables -A FORWARD -i lo -o lo -j ACCEPT
While until now, all ip6 traffic has been forbidden (to drop all ip6 traffic) at the start of the system of course.
Nevertheless, I don't understand it, why the ip6 localhost has to be granted this way even if the /etc/ssh/sshd_config is configured for ip4 only "AddressFamily inet"?
I thought, that this way the sshd will be using ip4 protocol only (including for the X11 forwarding), then why does it still need the ip6? -
Exporting report to PDF takes too long on Win 2k Advanced Server, Service Pack 4
Post Author: zaverit
CA Forum: .NET
We have written VB.Net program which extracts required information from the database in the memory and then based on the configuration, exports the data to PDF using below command
ExportToDisk(CrystalDecisions.[Shared].ExportFormatType.PortableDocFormat, outFile), where outFile is .pdf filename in same folder as the executable
The program is packaged in an MSI. It includes msvcr71.dll. When installed, this generated below assemblies;
CystalDecisions.CrystalReports.Engine
CrystalDecisons.Reportsource
CrystalDecisions.shared
When the report is run on a Windows XP Professional, Service Pack 2, it completes in about 4 minutes. Please see below for the specs of this workstation (Search for "Workstation Specs")
When the same report is installed on a Windows 2000 Advanced Server, Service Pack 4, it takes more than 2 hours. Please see below for the specs of this server (Search for "Server Specs")
Could someone point us to the problem please. We have tried following options;
checked out the dot net framework. The server and the w/s now have v2
installed adobe on the server (to ensure that there are no missing libraries or links)
Server Specs
Date: Monday, 20 August 2007 3:42:42 PM
COMPUTER & SYSTEM INFO:
Operating System: Microsoft Windows 2000 Advanced Server, Service Pack 4Internet Explorer: Version 6.0.2800.1106Domain: APPDEVSite: UnavailableComputer Type: Compaq - ProLiant DL580 G2Number of Processors: 8Processor Info: Processor 1: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195), Processor 2: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195), Processor 3: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195), Processor 4: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195), Processor 5: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195), Processor 6: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195), Processor 7: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195), Processor 8: 2195 MHz Intel(R) Xeon(TM) MP CPU 2.20GHz (x86 Family 15 Model 2 Stepping 6) - (Current Speed: 2195, Max Speed: 2195)Physical Memory: 7863624 KBytesDisk Space Available: Drive C: = 30325 MBytes, Drive D: = 37028 MBytesLast Bootup: 17/08/2007 11:20:22 AMNetDeploy Last Merge: 20/08/2007 12:08:09 PM
APPLICATIONS INFO:
ActivePerl - Version: 05.80.0806.0101 Vendor: ActiveState Date Installed: 03/08/2005 Installed By: NetDeploy Vendor URL: http://www.activestate.com/ GUID: {6B067034-782C-4DC5-92B3-F30215CE425A} Package Cache: C:\WINNT\Installer\188eb.msi Comments:
ATI Display Driver - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Package Cache: Not Provided Comments:
ControlMAgent - Version: 06.00.0001.0202 Vendor: BMC Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {F8A239AC-6CFC-11D4-84E0-009027900466} Package Cache: C:\WINNT\Installer\1409e1b.msi
DotNetFramework1.1SP1 - Version: 01.01.4322.0101 Vendor: Microsoft Date Installed: 29/11/2005 Installed By: NetDeploy Vendor URL: Not Provided GUID: {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1} Package Cache: C:\WINNT\Installer\14329d58.msi Comments:
DotNetFramework2.0 - Version: 02.00.0000.0101 Vendor: Microsoft Date Installed: 17/08/2007 Installed By: NetDeploy Vendor URL: Not Provided GUID: {7131646D-CD3C-40F4-97B9-CD9E4E6262EF} Package Cache: C:\WINNT\Installer\2e311.msi Comments:
ESM - Version: 05.10.0009.0102 Vendor: Symantec Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {9F6DC27E-A67D-4E28-A8A4-2EDDF81EA04D} Package Cache: C:\WINNT\Installer\c676.msi Comments
HP Array Configuration Utility - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP Array Configurtion Utility CLI - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP Array Diagnostic Utility - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP Insight Diagnostics Online Edition for Windows - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: {3754251E-100C-47D4-AB86-DC34047EE3C4} Installed From: Not Provided Package Cache: Not Provided Comments:
HP Insight Management Agents - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP ProLiant Integrated Management Log Viewer - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP ProLiant Legacy Port Configuration Component - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP ProLiant Remote Monitor Service - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP System Management Homepage - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HP Version Control Agent 2.1 - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
IE5 Registration - Version: 83886080 Vendor: Date Installed: Installed By: Native MSI Vendor URL: Not Provided GUID: {C1E26EED-CC8B-4371-9CC7-AD8A5814B4B2} Installed From: Package Cache: Comments:
IE60FolderViewFix - Version: 01.00.0000.0102 Vendor: Date Installed: 02/08/2005 Installed By: NetDeploy Vendor URL: GUID: {9B8697D6-0C3F-4F20-8424-FF1E32426E9E} Package Cache: C:\WINNT\Installer\18ea2.msi Comments
IE60Q831167Update - Version: 01.00.0000.0101 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy Vendor URL: GUID: {24CFEE38-7D12-42B8-AEB6-D90E54F7F6CF} Package Cache: C:\WINNT\Installer\c663.msi Comments:
IE60Q889293Update - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy GUID: {B6E19C47-6967-4BFA-9DE5-9C02418BBA75} Package Cache: C:\WINNT\Installer\11ff4d73.msi
InternetExplorer - Version: 06.00.2800.0101 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {577E42B0-A135-46BB-936D-B881FE674475} Package Cache: C:\WINNT\Installer\c667.msi
LiveUpdate - Version: 02.50.0056.0101 Vendor: Symantec Date Installed: 20/02/2007 Installed By: NetDeploy GUID: {BF457741-7A33-47CE-928B-AC1951EE09FF} Package Cache: C:\WINNT\Installer\be32ffc6.msi
LiveUpdate 2.5 (Symantec Corporation) - Version: 2.5.56.0 Vendor: Symantec Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://www.symantec.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Microsoft .NET Framework 1.1 - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Microsoft .NET Framework 2.0 - Version: Vendor: Microsoft Date Installed: Installed By: Manual Vendor URL: http://go.microsoft.com/fwlink/?LinkId=45396 GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Microsoft Internet Explorer 6 SP1 - Version: Vendor: Date Installed: Installed By: System/Hidden Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Microsoft VGX Q833989 - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
MyInfo - Version: 01.08.0000.0101
Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {6A0FF415-CE15-490A-B1A8-3905698F1C10} Package Cache: C:\WINNT\Installer\c672.msi
netDeploy Global Enterprise Client - Version: 5.62.7665 Vendor: Open Software Associates Date Installed: 02/08/2005 Installed By: Native MSI Vendor URL: http://www.osa.com GUID: {70C63628-AD92-4F6D-8A30-D9E9ACD6515F} Package Cache: C:\WINNT\Installer\c642.msi Comments:
NetDeployGlobalStartupCmd - Version: 06.01.0000.0101 Vendor: OSA Date Installed: 02/08/2005 Installed By: Native MSI Vendor URL: Not Provided GUID: {B79DCE5C-9E76-427C-9E36-9CE57A915893} Package Cache: C:\WINNT\Installer\e085.msi Comments:
NetDeployGlobalStartupGina - Version: 06.00.0000.0101 Vendor: OSA Date Installed: 02/08/2005 Installed By: Native MSI Vendor URL: Not Provided GUID: {F8296AE0-032C-4C97-BB68-E0964790789E} Package Cache: C:\WINNT\Installer\e080.msi Comments:
Razor Excess Reports - Version: 1.0.0 Vendor: ITe Date Installed: 17/08/2007 Installed By: Native MSI Vendor URL: Not Provided GUID: {FFDBCD12-D259-406B-9E52-1CB8C9066688} Installed From: D:\Apps\Razor\rzconversion\ExternalApplications\XsReport\ Package Cache: C:\WINNT\Installer\11b614e.msi Comments:
RazorPerlLibs - Version: 01.00.0000.0101 Date Installed: 03/08/2005 Installed By: NetDeploy GUID: {0F790CA2-D4C5-416E-8767-47D5F862E949}
SAVParentAdoptionScript - Version: 01.00.0000.0201 Date Installed: 11/04/2007 Installed By: NetDeploy
GUID: {32273630-3E06-41C7-91DB-F3B6D9661ABB} Package Cache: C:\WINNT\Installer\6565c930.msi
SecurityUpdateKB824151 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy GUID: {9F7C2A51-C4BD-4C19-8161-3E064127FD65} Package Cache: C:\WINNT\Installer\11ff4d63.msi
SecurityUpdateKB828741 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 01/08/2006 Installed By: NetDeploy GUID: {C1D6AA1A-BF1C-4787-9285-768548AB9D92}
SecurityUpdateKB833989 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 05/09/2005 Installed By: NetDeploy GUID: {341D7DA4-7157-47A3-9BFD-E12D99B8A776} Package Cache: C:\WINNT\Installer\1f5753d.msi
SecurityUpdateKB835732 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {4424494A-AC42-4008-8B57-AA66CA7E72FB} Package Cache: C:\WINNT\Installer\c65b.msi
SecurityUpdateKB837001 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy
GUID: {BA0A1747-BBC5-45BA-9700-A9015230C800} Package Cache: C:\WINNT\Installer\c657.msi
SecurityUpdateKB839645 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {2987E3F9-58AD-4266-BE26-A9A33A34F4EA} Package Cache: C:\WINNT\Installer\c652.msi
SecurityUpdateKB840315 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {5910D8FA-69E7-4B29-9B4E-F8DE85D59151} Package Cache: C:\WINNT\Installer\c64e.msi
SecurityUpdateKB840987 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy GUID: {4C763392-F57F-4BEB-AC73-BDAAA9D5B148} Package Cache: C:\WINNT\Installer\11ff4d67.msi
SecurityUpdateKB841356 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy GUID: {8DCF4BA9-E548-47F6-A042-AD60914092E0} Package Cache: C:\WINNT\Installer\11ff4d6b.msi
SecurityUpdateKB841533 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy GUID: {ACC99A2F-6E66-4431-974A-B6380BF6B2A0} Package Cache: C:\WINNT\Installer\11ff4d6f.msi
SecurityUpdateKB841873 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy GUID: {C5C2D41F-EA27-4F25-AD4E-3143FEA0411F} Package Cache: C:\WINNT\Installer\c64a.msi
SecurityUpdateKB885835 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 24/07/2007 Installed By: NetDeploy GUID: {FCEC933D-E7ED-4CEC-8608-4EC2D734BBB7}
Package Cache: C:\WINNT\Installer\269c0.msi
SecurityUpdateKB891781 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy
GUID: {68E54C8D-A744-48A6-9EFA-DC488DF85380}
Package Cache: C:\WINNT\Installer\11ff4d5b.msi
SecurityUpdateKB892944 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy
GUID: {82A85ED7-E685-4F89-96AC-B079AEF5C8BC}
Package Cache: C:\WINNT\Installer\11ff4d4f.msi
SecurityUpdateKB893066 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy GUID: {B65DCB9B-6ADC-48FC-9605-64F9768F4671}
Package Cache: C:\WINNT\Installer\11ff4d57.msi
SecurityUpdateKB893086 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 13/12/2005 Installed By: NetDeploy
GUID: {AD6D758F-C82E-4C94-A5CB-17DB2D8C7803}
Package Cache: C:\WINNT\Installer\11ff4d53.msi
SecurityUpdateKB899588 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 17/08/2005 Installed By: NetDeploy
GUID: {9C1DF8EE-6783-490E-883C-DFA081B86058}
Package Cache: C:\WINNT\Installer\1728c4d.msi
SymantecAntiVirus - Version: 09.03.0000.0205 Vendor: Symantec Date Installed: 20/02/2007 Installed By: NetDeploy Vendor URL: http://www.symantec.com GUID: {848AC794-8B81-440A-81AE-6474337DB527}
Package Cache: C:\WINNT\Installer\be32ffcb.msi Comments: Thank you for using Symantec security products.
UnicenterAMOServerAgents - Version: 03.20.0000.0106 Vendor: CA Date Installed: 02/08/2005 Installed By: NetDeploy
GUID: {E936AF17-4CC7-4298-8C08-EF0C846E25E7}
Package Cache: C:\WINNT\Installer\c66e.msi
WebFldrs - Version: 9.50.7522 Vendor: Microsoft Corporation Date Installed: 30/08/2004 Installed By: Native MSI Vendor URL: http://www.microsoft.com/windows GUID: {6F716D8C-398F-11D3-85E1-005004838609} Installed From: C:\WINNT\system32\ Package Cache: C:\WINNT\Installer\9bac161.msi Comments:
Windows 2000 Hotfix - KB329115 - Version: 20031024.155236 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB823182 - Version: 20030618.121409 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB824151 - Version: 20040816.154346 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB825119 - Version: 20030827.151123 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB826232 - Version: 20031007.160553 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB828035 - Version: 20031002.141358 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB828741 - Version: 20040311.130332 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB828749 - Version: 20031023.124056 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB835732 - Version: 20040323.171849 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB837001 - Version: Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB839645 - Version: 20040519.160457 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB840315 - Version: 20040622.153749 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB840987 - Version: 20040825.01015 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB841356 - Version: 20040730.185536 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB841533 - Version: 20040824.233811 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB841873 - Version: 20040610.95344 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB885835 - Version: 20041101.10457 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB889293 - Version: 20041111.235619 Vendor: Microsoft Corporation Date Installed: Installed By: Manual Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB891781 - Version: 20050113.171736 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB892944 - Version: 20050310.234736 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB893066 - Version: 20050310.221934 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB893086 - Version: 20050310.233610 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix - KB899588 - Version: 20050628.234036 Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows 2000 Hotfix (Pre-SP4) [See Q329115 for more information] - Version: Vendor: Microsoft Corporation Date Installed: Installed By: System/Hidden Vendor URL: http://support.microsoft.com GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Windows Installer 3.1 (KB893803) - Version: 3.1 Vendor: Microsoft Corporation Date Installed: Installed By: Manual Vendor URL: http://go.microsoft.com/fwlink/?LinkId=42467 GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsInstaller - Version: 3.1.4000 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsKB329115HotFix 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsKB823182Hotfix 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsKB825119Hotfix 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsKB826232Hotfix 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsKB828035Hotfix 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsKB828749Hotfix 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
WindowsQ329115HotFix - Version: 01.00.0000.0101 Vendor: Microsoft Date Installed: 02/08/2005 Installed By: NetDeploy
GUID: {C603BA89-B2BE-419B-9538-8CCCB4C44356}
Package Cache: C:\WINNT\Installer\c646.msi
WinRAR archiver - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
NETDEPLOY APPS INSTALLED BUT NOT IN NETDEPLOY POLICY INFO:
DotNetFramework1.1SP1* ESM* SecurityUpdateKB824151* WindowsInstaller* WindowsQ329115HotFix
(Report Generated by: myInfo - Ver. 01.08)
Workstation Specs
Date: Monday, 13 August 2007 9:34:29 AM
COMPUTER & SYSTEM INFO:
Operating System: Microsoft Windows XP Professional, Service Pack 2Internet Explorer: Version 6.0.2900.2180Computer Type: Dell Inc. - Latitude D610 Number of Processors: 1Processor Info: 1595 MHz Intel(R) Pentium(R) M processor 1.60GHz (x86 Family 6 Model 13 Stepping 8) - (Current Speed: 797, Max Speed: 1595)Physical Memory: 515444 KBytesDisk Space Available: 6158 MBytes - WARNING: low on disk space!!Connected Printers: Microsoft Document Imaging Writer Port: (Microsoft Office Document Image Writer), IP_150.122.114.184 (
prnau100qsm00\100QSM - 14Laser02) - Located at: (AU/VIC/Melbourne/100 Queen Street/14th Floor) (Default), IP_150.122.114.182 (
prnau100qsm01\100QSM - 14Colour01) - Located at: (AU/VIC/Melbourne/100 Queen Street/14th Floor/ ), Last Bootup: 13/08/2007 9:01:24 AMNetDeploy Last Merge: 13/08/2007 9:26:54 AM
APPLICATIONS INFO:
Access - Version: 11.00.0000.0102 Vendor: Microsoft Date Installed: 12/08/2007 Installed By: NetDeploy Vendor URL: http://www.microsoft.com/support GUID: {90150409-6000-11D3-8CFE-0150048383C9}
Package Cache: C:\WINNT\Installer\a6cd.msi Comments:
ActiveIssuesManagement - Version: 04.01.0000.0101 Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {FB8DA4B9-8A67-477E-8BB0-808A329C6573} Installed From: Package Cache: C:\WINNT\Installer\a737.msi Comments:
ActiveIssuesManagement 04 [Common] (via netDeploy) - Version: 04.01.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
ActiveRiskTracker - Version: 06.01.0000.0103 Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {57BC9BEE-DB68-4F13-8DE8-6CDC6D04CC5B} Installed From: Package Cache: C:\WINNT\Installer\a733.msi Comments:
ActiveRiskTracker 06 [Common] (via netDeploy) - Version: 06.01.0000.0103 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
AdobeReader - Version: 07.05.0000.0106 Vendor: Adobe Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {AC76BA86-7AD7-1033-7B44-A70500000002} Installed From: Package Cache: C:\WINNT\Installer\a73c.msi Comments:
AdobeReader 07 [Common] (via netDeploy) - Version: 07.05.0000.0106 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
GroupRiskTopCustomers - Version: 1.0.0 Vendor: IT&e Ltd Date Installed: 01/12/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {1A5606AC-D621-46A4-BCC2-26F9A4E73DE7} Installed From: Package Cache: C:\WINNT\Installer\3651bc.msi Comments:
BXAutoZip - Version: 01.09.0001.0102 Vendor: BAxBEx Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {E5D1A66D-078D-450C-9E52-4B6D81A3CFE2} Installed From: Package Cache: C:\WINNT\Installer\a706.msi Comments:
BXAutoZip 01 [Common] (via netDeploy) - Version: 01.09.0001.0102 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Chopper - Version: 1.0.0 Vendor: ITE Pty Ltd Date Installed: 19/01/2007 Installed By: Native MSI Vendor URL: Not Provided GUID: {28D85F68-6739-4A76-A958-C4D24E3B5938} Installed From: Package Cache: C:\WINNT\Installer\75cfae.msi Comments:
ClarityOpenWorkbench - Version: 01.10.0003.0104 Vendor: Niku Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {AED0B5AC-0771-4600-9777-9C4C910EBE09} Installed From: Package Cache: C:\WINNT\Installer\a64f.msi Comments:
ClarityOpenWorkbench 01 [Common] (via netDeploy) - Version: 01.10.0003.0104 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
ClarityScheduleConnect - Version: 07.50.0002.0104 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: {49912AF4-DDEA-434B-B1BB-73A223513180} Installed From: Not Provided Package Cache: Not Provided Comments:
ClarityScheduleConnect - Version: 07.50.0002.0104 Vendor: Niku Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {49912AF4-DDEA-434B-B1BB-73A223513180} Installed From: Package Cache: C:\WINNT\Installer\a649.msi Comments:
Code39Font - Version: 01.00.0000.0103
Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {68A4571F-367C-4D3C-8BF6-6586A0CC6DB5} Installed From: Package Cache: C:\WINNT\Installer\a729.msi Comments:
Code39Font 01 [Common] (via netDeploy) - Version: 01.00.0000.0103 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
CONTROL-M/Enterprise Manager 6.2.01 Fix Pack 1 - Version: Vendor: Date Installed: Installed By: Native MSI Vendor URL: Not Provided GUID: {58D40C23-AE89-4680-9F67-D508CCAD3740} Installed From: Package Cache: Comments:
ControlMEnterpriseMgr - Version: 06.20.0001.0101 Vendor: BMC Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {74A7476B-B7A0-415F-B77F-5D713B4CE17F} Installed From: Package Cache: C:\WINNT\Installer\a700.msi Comments:
ControlMEnterpriseMgr 06 [Common] (via netDeploy) - Version: 06.20.0001.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
DotNetFramework1.1 - Version: 01.01.4322.0101 Vendor: Microsoft Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1} Installed From: Package Cache: C:\WINNT\Installer\a6c5.msi Comments:
DotNetFramework1.1 01 [Common] (via netDeploy) - Version: 01.01.4322.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
EasyCDCreator - Version: 07.10.0000.0201 Vendor: Roxio Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {36EF4012-D58B-436A-9C73-BAD48A5174F5} Installed From: Package Cache: C:\WINNT\Installer\a6ed.msi Comments:
EasyCDCreator 07 [Common] (via netDeploy) - Version: 0000.Basic.0201 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
EndUserDesktop - Version: 05.00.0001.0101 Vendor: Actuate Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {9DAAC6CD-9632-40B6-90AD-9F7D9BE7A9CD} Installed From: Package Cache: C:\WINNT\Installer\a745.msi Comments:
EndUserDesktop 05 [Common] (via netDeploy) - Version: 05.00.0001.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
e-tax 2007 - Version: Vendor: Date Installed: Installed By: Manual Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
EzGpoTool - Version: 02.00.5038.0101
Date Installed: 19/02/2007 Installed By: NetDeploy Vendor URL: Not Provided GUID: {70E62587-C09C-4145-A084-4144C2C08089} Installed From: Package Cache: C:\WINNT\Installer\23ff48.msi Comments:
EzGpoTool 02 [Common] (via netDeploy) - Version: 02.00.5038.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Flash - Version: 08.00.0022.0101 Vendor: Macromedia Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {F605268A-6FDA-4055-86CF-CF554BBD1DBA} Installed From: Package Cache: C:\WINNT\Installer\a6dc.msi Comments:
Flash 08 [Common] (via netDeploy) - Version: 08.00.0022.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
GemplusSmartCardReaderDrivers - Version: 02.01.0000.0101 Vendor: HW Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {9322AD29-176E-4FDD-B8FC-2A3F78EEAB1F} Installed From: Package Cache: C:\WINNT\Installer\a713.msi Comments:
GemplusSmartCardReaderDrivers... [Common] (via netDeploy) - Version: 02.01.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
HDKRuntime - Version: 03.00.0000.0101 Vendor: VirtualMedia Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {F2AA17C9-1875-4B33-B8DB-43D921D084B3} Installed From: Package Cache: C:\WINNT\Installer\a63e.msi Comments:
HDKRuntime 03 [Common] (via netDeploy) - Version: 03.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
IE60KB890923Update - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {4CE096D1-BB0C-4314-AF07-0B5E9206BDBD} Installed From: Package Cache: C:\WINNT\Installer\a6c0.msi Comments:
IE60KB890923Update 01 [Common] (via netDeploy) - Version: 000.2000XP.0201 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
IPassConnect - Version: 02.40.1481.0102 Vendor: IPass Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {29829E89-5BE7-49AA-B890-8FB9E3B1F73B} Installed From: Package Cache: C:\WINNT\Installer\a70f.msi Comments:
IPassConnect 02 [Common] (via netDeploy) - Version: 02.40.1481.0102 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
ISScript - Version: 08.10.0304.0101 Vendor: InstallShield Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {82E903BD-F4E2-4539-A4ED-D079EAA804D2} Installed From: Package Cache: C:\WINNT\Installer\a6e8.msi Comments:
ISScript 08 [Common] (via netDeploy) - Version: 08.10.0304.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
iTunes - Version: 7.1.1.5 Vendor: Apple Inc. Date Installed: 06/05/2007 Installed By: Native MSI Vendor URL: Not Provided GUID: {3592F5CB-B524-43AA-92F2-2377268199CC} Installed From: Package Cache: C:\WINNT\Installer\e6c80d.msi Comments:
J2RE142 - Version: 01.04.0208.0102 Vendor: Sun Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {7148F0A8-6813-11D6-A77B-00B0D0142080} Installed From: Package Cache: C:\WINNT\Installer\a643.msi Comments:
J2RE142 01 [Common] (via netDeploy) - Version: 01.04.0208.0102 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
JavaVirtualMachine - Version: 05.00.3810.0102 Vendor: Microsoft Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {D5698D4D-5D6F-4312-9542-3F2555A58EF2} Installed From: Package Cache: C:\WINNT\Installer\a6bc.msi Comments:
JavaVirtualMachine 05 [Common] (via netDeploy) - Version: 05.00.3810.0102 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
LicenceITUpdate - Version: 01.00.0000.0104 Vendor: CA Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {E2FA4B8C-2170-4038-89F7-A9926ABAD8F6} Installed From: Package Cache: C:\WINNT\Installer\a630.msi Comments:
LicenceITUpdate 01 [Common] (via netDeploy) - Version: 01.00.0000.0104 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Log Analyser - Version: 1.0.0 Vendor: ITE Pty Ltd Date Installed: 25/05/2007 Installed By: Native MSI Vendor URL: Not Provided GUID: {CECCFC9A-BA72-4B85-9CF8-47A7F1730766} Installed From: C:\RazorData\1.6.11\Log Analyser\ Package Cache: C:\WINNT\Installer\b26c9d1.msi Comments: Razor Credit Risk Server Log Analyser
MAXShortcut - Version: 01.00.0000.0101
Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {59A1BB47-6862-467B-9D72-EDBEB7D2F18C} Installed From: Package Cache: C:\WINNT\Installer\a725.msi Comments:
MAXShortcut 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Microsoft .NET Framework 2.0 - Version: Vendor: Microsoft Corporation Date Installed: Installed By: Manual Vendor URL: http://go.microsoft.com/fwlink/?LinkId=45396 GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Microsoft .NET Framework 2.0 - Version: 2.0.50727 Vendor: Microsoft Corporation Date Installed: 25/05/2007 Installed By: Native MSI Vendor URL: Not Provided GUID: {7131646D-CD3C-40F4-97B9-CD9E4E6262EF} Installed From: C:\DOCUME1\zaverit\LOCALS1\Temp\IXP000.TMP\ Package Cache: C:\WINNT\Installer\b4e1e27.msi Comments:
Microsoft FrontPage Client - English - Version: 7.00.9209 Vendor: Microsoft Date Installed: 27/10/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {17B66E83-1BC9-11D5-A54A-0090278A1BB8} Installed From: Package Cache: C:\WINNT\Installer\570608.msi Comments:
Microsoft Visual J# .NET Redistributable Package 1.1 - Version: 1.1.4322 Vendor: Microsoft Date Installed: 27/10/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {1A655D51-1423-48A3-B748-8F5A0BE294C8} Installed From: Package Cache: C:\WINNT\Installer\570617.msi Comments:
MSDN Library for Visual Studio .NET 2003 - Version: 7.38.3053 Vendor: Microsoft Date Installed: 27/10/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {5757AE1A-1DB4-4898-9806-09F77FBD5E57} Installed From: Package Cache: C:\WINNT\Installer\a7f009.msi Comments:
MSHTMLHotfixKB926046 - Version: 01.00.0000.0201 Vendor: Microsoft Date Installed: 08/02/2007 Installed By: NetDeploy Vendor URL: Not Provided GUID: {AA6E98D3-F29A-47E9-ADDA-9522D7D101B9} Installed From: Package Cache: C:\WINNT\Installer\31e5cba.msi Comments:
MSHTMLHotfixKB926046 01 [Common] (via netDeploy) - Version: 00.0000.XP.0201 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
MyInfo - Version: 01.08.0000.0101
Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {6A0FF415-CE15-490A-B1A8-3905698F1C10} Installed From: Package Cache: C:\WINNT\Installer\a721.msi Comments:
MyInfo 01 [Common] (via netDeploy) - Version: 01.08.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
netDeploy Global Enterprise Client - Version: 5.62.7665 Vendor: Open Software Associates Date Installed: 20/10/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {70C63628-AD92-4F6D-8A30-D9E9ACD6515F} Installed From: Package Cache: C:\WINNT\Installer\a608.msi Comments:
NetDeployGlobalStartupCmd - Version: 06.01.0000.0101 Vendor: OSA Date Installed: 20/10/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {B79DCE5C-9E76-427C-9E36-9CE57A915893} Installed From: Package Cache: C:\WINNT\Installer\1a636.msi Comments:
NetDeployGlobalStartupGina - Version: 06.01.0000.0101 Vendor: OSA Date Installed: 20/10/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {D5ED5BC5-D5D3-466E-A99B-3EB30C4C5A21} Installed From: Package Cache: C:\WINNT\Installer\bceb.msi Comments:
Norton AntiVirus Corporate Edition - Version: 7.6.0.0000 Vendor: Symantec Corporation Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {BD12EB47-DBDF-11D3-BEEA-00A0CC272509} Installed From: Package Cache: C:\WINNT\Installer\a635.msi Comments:
NortonAntivirus 07 [Common] (via netDeploy) - Version: 07.60.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Office11PatchKB890169 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Office11SP2Patch 01 [Common] (via netDeploy) - Version: 01.00.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
OfficeCommunicator - Version: 01.00.0559.0102 Vendor: Microsoft Date Installed: 12/04/2007 Installed By: NetDeploy Vendor URL: Not Provided GUID: {BE5AD430-9E0C-4243-AB3F-593835869855} Installed From: Package Cache: C:\WINNT\Installer\105a2f.msi Comments:
OfficeCommunicator 01 [Common] (via netDeploy) - Version: 01.00.0559.0102 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
OfficeStandard - Version: 11.00.6361.0206 Vendor: Microsoft Date Installed: 12/08/2007 Installed By: NetDeploy Vendor URL: http://www.microsoft.com/support GUID: {90120409-6000-11D3-8CFE-0150048383C9} Package Cache: C:\WINNT\Installer\a68d.msi Comments:
Oracle - Version: 10.01.0020.0101 Vendor: Oracle Date Installed: 23/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {DE711F10-EA42-451E-A754-AF53EDB3AE7F} Installed From: Package Cache: C:\WINNT\Installer\57e15.msi Comments:
Oracle 10 [Common] (via netDeploy) - Version: 10.01.0020.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Picasa 2 - Version: 2.0 Vendor: Google, Inc. Date Installed: Installed By: Manual Vendor URL: http://www.picasa.com/support/ GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
PowerCenter - Version: 07.10.0004.0201 Vendor: Informatica Date Installed: 23/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {849715C5-F76F-4F9C-A84A-A2CCB8AEEC00} Installed From: Package Cache: C:\WINNT\Installer\57e39.msi Comments:
PowerCenter 07 [Common] (via netDeploy) - Version: 004.Client.0201 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
PVCS - Version: 07.05.0005.0101 Vendor: Merant Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {96BEB47A-109B-4587-9197-D2432D4B403B} Installed From: Package Cache: C:\WINNT\Installer\a6d3.msi Comments:
PVCS 07 [Common] (via netDeploy) - Version: 07.05.0005.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
QuickTime - Version: 7.1.6.200 Vendor: Apple Computer, Inc. Date Installed: 06/05/2007 Installed By: Native MSI Vendor URL: Not Provided GUID: {08094E03-AFE4-4853-9D31-6D0743DF5328} Installed From: Package Cache: C:\WINNT\Installer\e6c808.msi Comments:
Razor Excess Reports - Version: 1.0.0 Vendor: ITe Date Installed: 09/08/2007 Installed By: Native MSI Vendor URL: Not Provided GUID: {FFDBCD12-D259-406B-9E52-1CB8C9066688} Installed From: C:\RazorData\Razor Utils\XsReport\ Package Cache: C:\WINNT\Installer\53d73e7.msi Comments:
Razor Utils - Version: 1.0.0 Vendor: ITE Date Installed: 31/10/2006 Installed By: Native MSI Vendor URL: Not Provided GUID: {CC8F7E3F-5BC8-4E2B-8511-B400BFD1526D} Installed From: Package Cache: C:\WINNT\Installer\1057f01.msi Comments:
RazorClient - Version: 01.61.1375.0102 Vendor: ITe Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {2BFBE99A-5AAA-466F-B71B-6CB6D9EC781B} Installed From: Package Cache: C:\WINNT\Installer\a6e0.msi Comments:
RazorClient 01 [Common] (via netDeploy) - Version: 01.61.1375.0102 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
RazorClientPortfolioRisk - Version: 01.61.1375.0101 Vendor: ITe Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {3448D4E1-5D1B-4727-A2D2-A044428D9B7D} Installed From: Package Cache: C:\WINNT\Installer\a6e4.msi Comments:
RazorClientPortfolioRisk 01 [Common] (via netDeploy) - Version: 01.61.1375.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
RCSIniFile - Version: 01.00.0000.0102 Vendor: Dameware Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {00333BFA-6368-4C8F-B2E9-8C0668EDCC13} Installed From: Package Cache: C:\WINNT\Installer\a6f6.msi Comments:
RCSIniFile 01 [Common] (via netDeploy) - Version: 01.00.0000.0102 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
Roam - Version: 02.42.0000.0101 Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {33857E52-99B4-4D18-AB7B-734976C19457} Installed From: Package Cache: C:\WINNT\Installer\a70b.msi Comments:
Roam 02 [Common] (via netDeploy) - Version: 02.42.0000.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
RoamEnabler - Version: 02.40.0002.0101 Date Installed: 20/10/2006 Installed By: NetDeploy Vendor URL: Not Provided GUID: {A8C67376-9AD9-4967-AC5A-60F4DF2DAF8F} Installed From: Package Cache: C:\WINNT\Installer\a71d.msi Comments:
RoamEnabler 02 [Common] (via netDeploy) - Version: 02.40.0002.0101 Vendor: Date Installed: Installed By: NetDeploy Vendor URL: Not Provided GUID: Not Provided Installed From: Not Provided Package Cache: Not Provided Comments:
ScreenSaver - Version: 02.90.0000.0101 Date Installed: 05/02/2007 Installed By: NetDeploy Vendor URL: Not Provided GUID: {BA2C1D1C-1E79-48DC-A435-3A1AAB3274D8} Installed From: Package Cache: C:\WINNT\Installer\1693bb.msi Comments:
ScreenSaver 02 [Have finally found a solution for this problem: http://serverfault.com/questions/490352 … w-to-start
Now the applications do start immediately via SSH X11 forwarding as expected.
The following three lines helped:
ip6tables -A INPUT -i lo -j ACCEPT
ip6tables -A OUTPUT -o lo -j ACCEPT
ip6tables -A FORWARD -i lo -o lo -j ACCEPT
While until now, all ip6 traffic has been forbidden (to drop all ip6 traffic) at the start of the system of course.
Nevertheless, I don't understand it, why the ip6 localhost has to be granted this way even if the /etc/ssh/sshd_config is configured for ip4 only "AddressFamily inet"?
I thought, that this way the sshd will be using ip4 protocol only (including for the X11 forwarding), then why does it still need the ip6? -
How to tune this SQL Query?
Hi all expert out there,
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options.
I have this ERP 11i query took 3-4hours to execute. can anyone help to have a look at the Query so make it more faster? I am already out of my idea of solving this. Kindly helpzzz...
SELECT
/*+ first_rows(1)*/
hou.name "OU" ,-- e.g. Seagate Technology USOP1 ,
mc.description,
oel.ordered_item "Product Part Number",
oeh.order_number "Order Num",
hp.party_name "Bill To Cust Name",
hcsu.location "Ship To Cust Num",
oel.line_number || '.' || oel.shipment_number "Order Line Num",
ft.nls_territory "Ship To Country",
mc.segment7 "designapplication",
ccm.formattedcapacity||'GB' "Capacity",
oel.attribute1 "Order Category",
oel.Subinventory "Subinventory",
to_char(oel.actual_shipment_date,'MM/DD/YYYY DY') "Shipment Date",
NVL(oel.shipped_quantity,0) "Net Units"
FROM
oe_order_headers_all oeh
,oe_order_lines_all oel
,apps.hz_parties hp
,apps.hz_cust_accounts hca
,apps.hz_cust_site_uses_all hcsu
,apps.hz_cust_acct_sites_all hcas
, apps.seaeng_ccfamilymodelinfo ccm
,apps.hz_party_sites hps
,apps.fnd_territories ft
,apps.hz_locations hl
,apps.hr_organization_units hou
,apps.mtl_parameters mp
,apps.mtl_item_categories mic
,apps.mtl_categories_b mc
,apps.fnd_lookup_values flv
WHERE
oeh.header_id = oel.header_id
AND oel.flow_status_code = 'CLOSED'
AND oeh.invoice_to_org_id = hcsu.site_use_id
AND hl.country = ft.territory_code
AND hps.location_id = hl.location_id
AND hcas.party_site_id = hps.party_site_id
AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
AND hcas.cust_account_id = hca.cust_account_id
AND hca.party_id = hp.party_id
AND oeh.org_id = hou.organization_id
AND oel.ship_from_org_id = mp.organization_id
AND oel.inventory_item_id = mic.inventory_item_id
AND mic.category_id = mc.category_id
AND mic.category_set_id = 4
AND mc.description = ccm.stmodelnumber
AND flv.lookup_code = hca.sales_channel_code
AND flv.lookup_type = 'SALES_CHANNEL'
AND mc.segment7 IN ('PSG','ESG','NSG')
AND flv.lookup_code NOT IN ('RTL','AD-RTL','EU')
AND oel.attribute1 IN ('NB','NBEOL','NBSEA')
AND oel.subinventory IN ('KFGI','AFGI','SFGIF','FGIF')
AND hou.organization_id = 189
AND trunc(oel.actual_shipment_date) between TO_DATE('01-Jan-2009','DD-MON-YYYY') and TO_DATE('31-JAN-2009','DD-MON-YYYY')
regards,
Lygine
Edited by: user8989062 on Jun 7, 2010 6:39 PM5) The TKPROF output for this statement looks like the following:
SELECT
/*+ first_rows(1)*/
hou.name "OU" ,-- e.g. Seagate Technology USOP1 ,
mc.description,
oel.ordered_item "Product Part Number",
oeh.order_number "Order Num",
hp.party_name "Bill To Cust Name",
hcsu.location "Ship To Cust Num",
oel.line_number || '.' || oel.shipment_number "Order Line Num",
ft.nls_territory "Ship To Country",
mc.segment7 "designapplication",
ccm.formattedcapacity||'GB' "Capacity",
oel.attribute1 "Order Category",
oel.Subinventory "Subinventory",
to_char(oel.actual_shipment_date,'MM/DD/YYYY DY') "Shipment Date",
NVL(oel.shipped_quantity,0) "Net Units"
FROM
oe_order_headers_all oeh
,oe_order_lines_all oel
,apps.hz_parties hp
,apps.hz_cust_accounts hca
,apps.hz_cust_site_uses_all hcsu
,apps.hz_cust_acct_sites_all hcas
, apps.seaeng_ccfamilymodelinfo ccm
,apps.hz_party_sites hps
,apps.fnd_territories ft
,apps.hz_locations hl
,apps.hr_organization_units hou
,apps.mtl_parameters mp
,apps.mtl_item_categories mic
,apps.mtl_categories_b mc
,apps.fnd_lookup_values flv
WHERE
oeh.header_id = oel.header_id
AND oel.flow_status_code = 'CLOSED'
AND oeh.invoice_to_org_id = hcsu.site_use_id
AND hl.country = ft.territory_code
AND hps.location_id = hl.location_id
AND hcas.party_site_id = hps.party_site_id
AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
AND hcas.cust_account_id = hca.cust_account_id
AND hca.party_id = hp.party_id
AND oeh.org_id = hou.organization_id
AND oel.ship_from_org_id = mp.organization_id
AND oel.inventory_item_id = mic.inventory_item_id
AND mic.category_id = mc.category_id
AND mic.category_set_id = 4
AND mc.description = ccm.stmodelnumber
AND flv.lookup_code = hca.sales_channel_code
AND flv.lookup_type = 'SALES_CHANNEL'
AND mc.segment7 IN ('PSG','ESG','NSG')
AND flv.lookup_code NOT IN ('RTL','AD-RTL','EU')
AND oel.attribute1 IN ('NB','NBEOL','NBSEA')
AND oel.subinventory IN ('KFGI','AFGI','SFGIF','FGIF')
AND hou.organization_id = 189
AND trunc(oel.actual_shipment_date) between TO_DATE('01-Jan-2009','DD-MON-YYYY') and TO_DATE('31-JAN-2009','DD-MON-YYYY')
call count cpu elapsed disk query current rows
Parse 1 0.79 0.79 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 7 22.23 240.85 19781 536082 0 592
total 9 23.02 241.64 19781 536082 0 592
Misses in library cache during parse: 1
Optimizer mode: FIRST_ROWS
Parsing user id: 173
Rows Row Source Operation
592 NESTED LOOPS (cr=536082 pr=19781 pw=0 time=240822989 us)
592 NESTED LOOPS (cr=534885 pr=19776 pw=0 time=239960969 us)
592 NESTED LOOPS (cr=533688 pr=19776 pw=0 time=239902332 us)
594 NESTED LOOPS (cr=532493 pr=19776 pw=0 time=239811721 us)
594 NESTED LOOPS (cr=531892 pr=19776 pw=0 time=239794703 us)
594 NESTED LOOPS (cr=530693 pr=19772 pw=0 time=239325284 us)
594 NESTED LOOPS (cr=529498 pr=19770 pw=0 time=239152940 us)
594 NESTED LOOPS (cr=527709 pr=19766 pw=0 time=236850676 us)
594 NESTED LOOPS (cr=525920 pr=19764 pw=0 time=235640068 us)
2990 NESTED LOOPS (cr=516943 pr=19688 pw=0 time=195144282 us)
2990 NESTED LOOPS (cr=516936 pr=19688 pw=0 time=195120297 us)
2990 NESTED LOOPS (cr=510806 pr=19682 pw=0 time=194678671 us)
3000 HASH JOIN (cr=504799 pr=19669 pw=0 time=193829763 us)
3000 NESTED LOOPS (cr=472280 pr=360 pw=0 time=49218087 us)
1 NESTED LOOPS (cr=1029 pr=34 pw=0 time=1745829 us)
1 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS_TL (cr=424 pr=25 pw=0 time=1361442 us)
1 INDEX UNIQUE SCAN HR_ALL_ORGANIZATION_UNTS_TL_PK (cr=423 pr=25 pw=0 time=1361397 us)(object id 44637)
1 TABLE ACCESS BY INDEX ROWID HR_ALL_ORGANIZATION_UNITS (cr=605 pr=9 pw=0 time=384370 us)
1 INDEX UNIQUE SCAN HR_ORGANIZATION_UNITS_PK (cr=1 pr=0 pw=0 time=27 us)(object id 43498)
3000 TABLE ACCESS BY INDEX ROWID OE_ORDER_LINES_ALL (cr=471251 pr=326 pw=0 time=47466249 us)
156922 INDEX RANGE SCAN OE_ORDER_LINES_N20 (cr=420 pr=7 pw=0 time=787919 us)(object id 37005064)
263469 TABLE ACCESS FULL MTL_ITEM_CATEGORIES (cr=32519 pr=19309 pw=0 time=144242743 us)
2990 TABLE ACCESS BY INDEX ROWID MTL_CATEGORIES_B (cr=6007 pr=13 pw=0 time=843569 us)
3000 INDEX UNIQUE SCAN MTL_CATEGORIES_B_U1 (cr=3007 pr=2 pw=0 time=162636 us)(object id 37199)
2990 TABLE ACCESS BY INDEX ROWID SEAENG_CCFAMILYMODELINFO (cr=6130 pr=6 pw=0 time=437784 us)
2990 INDEX UNIQUE SCAN SEAENG_CCFAMILYMODELINFO_U1 (cr=2997 pr=0 pw=0 time=52872 us)(object id 35838918)
2990 INDEX UNIQUE SCAN MTL_PARAMETERS_U1 (cr=7 pr=0 pw=0 time=16332 us)(object id 37657)
594 TABLE ACCESS BY INDEX ROWID OE_ORDER_HEADERS_ALL (cr=8977 pr=76 pw=0 time=40491633 us)
2990 INDEX UNIQUE SCAN OE_ORDER_HEADERS_U1 (cr=5987 pr=45 pw=0 time=2504442 us)(object id 41952)
594 TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=1789 pr=2 pw=0 time=1208576 us)
594 INDEX UNIQUE SCAN HZ_CUST_SITE_USES_U1 (cr=1195 pr=1 pw=0 time=105934 us)(object id 25124976)
594 TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCT_SITES_ALL (cr=1789 pr=4 pw=0 time=2300224 us)
594 INDEX UNIQUE SCAN HZ_CUST_ACCT_SITES_U1 (cr=1195 pr=2 pw=0 time=152238 us)(object id 25124996)
594 TABLE ACCESS BY INDEX ROWID HZ_PARTY_SITES (cr=1195 pr=2 pw=0 time=170875 us)
594 INDEX UNIQUE SCAN HZ_PARTY_SITES_U1 (cr=601 pr=1 pw=0 time=104550 us)(object id 25124993)
594 TABLE ACCESS BY INDEX ROWID HZ_LOCATIONS (cr=1199 pr=4 pw=0 time=467329 us)
594 INDEX UNIQUE SCAN HZ_LOCATIONS_U1 (cr=601 pr=0 pw=0 time=57749 us)(object id 25124992)
594 TABLE ACCESS BY INDEX ROWID FND_TERRITORIES (cr=601 pr=0 pw=0 time=15562 us)
594 INDEX UNIQUE SCAN FND_TERRITORIES_U1 (cr=7 pr=0 pw=0 time=6492 us)(object id 33083)
592 TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=1195 pr=0 pw=0 time=88925 us)
594 INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=601 pr=0 pw=0 time=27607 us)(object id 81600)
592 INDEX RANGE SCAN FND_LOOKUP_VALUES_U1 (cr=1197 pr=0 pw=0 time=56714 us)(object id 32878)
592 TABLE ACCESS BY INDEX ROWID HZ_PARTIES (cr=1197 pr=5 pw=0 time=860140 us)
592 INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=599 pr=0 pw=0 time=51136 us)(object id 25126074)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 7 0.00 0.00
row cache lock 1 0.00 0.00
gc current block 2-way 24112 0.00 19.28
gc cr grant 2-way 406 0.00 0.19
db file sequential read 441 0.09 14.11
gc cr block 2-way 284 0.00 0.23
gc cr block busy 147 0.19 9.59
gc current block congested 2 0.00 0.00
gc cr multi block request 13079 0.00 3.98
SQL*Net message from client 7 0.27 1.87
gc cr failure 39 0.00 0.02
cr request retry 39 0.98 38.27
SQL*Net more data to client 12 0.00 0.00
db file scattered read 2446 0.13 132.58
gc cr disk read 5 0.00 0.00
********************************************************************************6) The DBMS_XPLAN.DISPLAY_CURSOR output:
SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST'));
PLAN_TABLE_OUTPUT
SQL_ID b8pfhfxscqn1m, child number 0
SELECT /*+ gather_plan_statistics */ hou.name "OU" ,-- e.g. Seagate Technology USOP1 , mc.descript
oeh.order_number "Order Num", hp.party_name "Bill To Cust Name", hcsu.location "Ship To Cust Num",
Num", ft.nls_territory "Ship To Country", mc.segment7 "designapplication", ccm.formattedcapacity
oel.Subinventory "Subinventory", to_char(oel.actual_shipment_date,'MM/DD/YYYY DY') "Shipment Date",
oe_order_headers_all oeh ,oe_order_lines_all oel ,apps.hz_parties hp ,apps.hz_cust
,apps.hz_cust_acct_sites_all hcas , apps.seaeng_ccfamilymodelinfo ccm ,apps.hz_party_sites hps
,apps.hr_organization_units hou ,apps.mtl_paramete
Plan hash value: 414863479
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | O
| 1 | NESTED LOOPS | | 1 | 1 | 592 |00:02:25.13 | 535K| 57267 | |
| 2 | NESTED LOOPS | | 1 | 1 | 592 |00:02:24.22 | 533K| 57185 |
| 3 | NESTED LOOPS | | 1 | 1 | 592 |00:02:24.15 | 532K| 57183 |
| 4 | NESTED LOOPS | | 1 | 1 | 594 |00:02:24.00 | 531K| 57171 |
| 5 | NESTED LOOPS | | 1 | 1 | 594 |00:02:23.98 | 530K| 57170 |
| 6 | NESTED LOOPS | | 1 | 1 | 594 |00:02:23.49 | 529K| 57129 |
| 7 | NESTED LOOPS | | 1 | 1 | 594 |00:02:23.08 | 528K| 57096 |
| 8 | NESTED LOOPS | | 1 | 1 | 594 |00:02:22.51 | 526K| 57031 | |
| 9 | NESTED LOOPS | | 1 | 1 | 594 |00:02:21.79 | 524K| 56968 | |
| 10 | NESTED LOOPS | | 1 | 1 | 2990 |00:02:09.65 | 515K| 55703 |
| 11 | NESTED LOOPS | | 1 | 1 | 2990 |00:02:09.62 | 515K| 55703 |
| 12 | NESTED LOOPS | | 1 | 1 | 2990 |00:02:08.47 | 509K| 55599 |
|* 13 | HASH JOIN | | 1 | 2 | 3000 |00:02:07.88 | 503K| 55516 | 974K
| 14 | NESTED LOOPS | | 1 | 2 | 3000 |00:01:39.07 | 471K| 23025 |
| 15 | NESTED LOOPS | | 1 | 1 | 1 |00:00:00.01 | 4 | 0 |
| 16 | TABLE ACCESS BY INDEX ROWID| HR_ALL_ORGANIZATION_UNITS_TL | 1 | 1 | 1 |00:00
|* 17 | INDEX UNIQUE SCAN | HR_ALL_ORGANIZATION_UNTS_TL_PK | 1 | 1 | 1 |00:00:00.0
|* 18 | TABLE ACCESS BY INDEX ROWID| HR_ALL_ORGANIZATION_UNITS | 1 | 1 | 1 |00:00:
|* 19 | INDEX UNIQUE SCAN | HR_ORGANIZATION_UNITS_PK | 1 | 1 | 1 |00:00:00.01
|* 20 | TABLE ACCESS BY INDEX ROWID | OE_ORDER_LINES_ALL | 1 | 2 | 3000 |00:01
|* 21 | INDEX RANGE SCAN | OE_ORDER_LINES_N20 | 1 | 47575 | 156K|00:00:01.76 | 420
|* 22 | TABLE ACCESS FULL | MTL_ITEM_CATEGORIES | 1 | 96977 | 263K|00:00:28.49
|* 23 | TABLE ACCESS BY INDEX ROWID | MTL_CATEGORIES_B | 3000 | 1 | 2990 |00:00:0
|* 24 | INDEX UNIQUE SCAN | MTL_CATEGORIES_B_U1 | 3000 | 1 | 3000 |00:00:00.21
| 25 | TABLE ACCESS BY INDEX ROWID | SEAENG_CCFAMILYMODELINFO | 2990 | 1 | 2990 |
|* 26 | INDEX UNIQUE SCAN | SEAENG_CCFAMILYMODELINFO_U1 | 2990 | 1 | 2990 |00:00:
|* 27 | INDEX UNIQUE SCAN | MTL_PARAMETERS_U1 | 2990 | 1 | 2990 |00:00:00.02 |
|* 28 | TABLE ACCESS BY INDEX ROWID | OE_ORDER_HEADERS_ALL | 2990 | 1 | 594 |00:00:
|* 29 | INDEX UNIQUE SCAN | OE_ORDER_HEADERS_U1 | 2990 | 1 | 2990 |00:00:04.29 |
| 30 | TABLE ACCESS BY INDEX ROWID | HZ_CUST_SITE_USES_ALL | 594 | 1 | 594 |00:00:
|* 31 | INDEX UNIQUE SCAN | HZ_CUST_SITE_USES_U1 | 594 | 1 | 594 |00:00:00.31 |
| 32 | TABLE ACCESS BY INDEX ROWID | HZ_CUST_ACCT_SITES_ALL | 594 | 1 | 594 |00:00:
|* 33 | INDEX UNIQUE SCAN | HZ_CUST_ACCT_SITES_U1 | 594 | 1 | 594 |00:00:00.23 |
| 34 | TABLE ACCESS BY INDEX ROWID | HZ_PARTY_SITES | 594 | 1 | 594 |00:00:0
|* 35 | INDEX UNIQUE SCAN | HZ_PARTY_SITES_U1 | 594 | 1 | 594 |00:00:00.17 | 601
| 36 | TABLE ACCESS BY INDEX ROWID | HZ_LOCATIONS | 594 | 1 | 594 |00:00:00.4
|* 37 | INDEX UNIQUE SCAN | HZ_LOCATIONS_U1 | 594 | 1 | 594 |00:00:00.17 |
| 38 | TABLE ACCESS BY INDEX ROWID | FND_TERRITORIES | 594 | 1 | 594 |00:00:00
|* 39 | INDEX UNIQUE SCAN | FND_TERRITORIES_U1 | 594 | 1 | 594 |00:00:00.02
|* 40 | TABLE ACCESS BY INDEX ROWID | HZ_CUST_ACCOUNTS | 594 | 1 | 592 |00:00:0
|* 41 | INDEX UNIQUE SCAN | HZ_CUST_ACCOUNTS_U1 | 594 | 1 | 594 |00:00:00.04 |
|* 42 | INDEX RANGE SCAN | FND_LOOKUP_VALUES_U1 | 592 | 1 | 592 |00:00:00.06 |
| 43 | TABLE ACCESS BY INDEX ROWID | HZ_PARTIES | 592 | 1 | 592 |00:00:00.91 |
|* 44 | INDEX UNIQUE SCAN | HZ_PARTIES_U1 | 592 | 1 | 592 |00:00:00.40 | 599
Predicate Information (identified by operation id):
13 - access("OEL"."INVENTORY_ITEM_ID"="MIC"."INVENTORY_ITEM_ID")
17 - access("HAOTL"."ORGANIZATION_ID"=189 AND "HAOTL"."LANGUAGE"=USERENV('LANG'))
filter(DECODE("HR_SECURITY"."VIEW_ALL"(),'Y','TRUE',"HR_SECURITY"."SHOW_RECORD"('HR_ALL_ORGAN
18 - filter("HAO"."BUSINESS_GROUP_ID"=DECODE("HR_GENERAL"."GET_XBG_PROFILE"(),'Y',"HAO"."BUSINESS_
19 - access("HAO"."ORGANIZATION_ID"=189)
20 - filter(("OEL"."FLOW_STATUS_CODE"='CLOSED' AND INTERNAL_FUNCTION("OEL"."ATTRIBUTE1") AND INTER
21 - access("OEL"."SYS_NC00342$">=TO_DATE(' 2009-01-01 00:00:00', 'syyyy-mm-dd hh24:mi:ss') AND "O
'syyyy-mm-dd hh24:mi:ss'))
22 - filter("MIC"."CATEGORY_SET_ID"=4)
23 - filter(("MC"."DESCRIPTION" IS NOT NULL AND INTERNAL_FUNCTION("MC"."SEGMENT7")))
24 - access("MIC"."CATEGORY_ID"="MC"."CATEGORY_ID")
26 - access("MC"."DESCRIPTION"="CCM"."STMODELNUMBER")
27 - access("OEL"."SHIP_FROM_ORG_ID"="MP"."ORGANIZATION_ID")
28 - filter("OEH"."ORG_ID"=189)
29 - access("OEH"."HEADER_ID"="OEL"."HEADER_ID")
31 - access("OEH"."INVOICE_TO_ORG_ID"="HCSU"."SITE_USE_ID")
33 - access("HCSU"."CUST_ACCT_SITE_ID"="HCAS"."CUST_ACCT_SITE_ID")
35 - access("HCAS"."PARTY_SITE_ID"="HPS"."PARTY_SITE_ID")
37 - access("HPS"."LOCATION_ID"="HL"."LOCATION_ID")
39 - access("HL"."COUNTRY"="FT"."TERRITORY_CODE")
40 - filter(("HCA"."SALES_CHANNEL_CODE"<>'RTL' AND "HCA"."SALES_CHANNEL_CODE"<>'AD-RTL' AND "HCA".
41 - access("HCAS"."CUST_ACCOUNT_ID"="HCA"."CUST_ACCOUNT_ID")
42 - access("FLV"."LOOKUP_TYPE"='SALES_CHANNEL' AND "FLV"."LOOKUP_CODE"="HCA"."SALES_CHANNEL_CODE"
filter(("FLV"."LOOKUP_CODE"<>'RTL' AND "FLV"."LOOKUP_CODE"<>'AD-RTL' AND "FLV"."LOOKUP_CODE"<
44 - access("HCA"."PARTY_ID"="HP"."PARTY_ID")
90 rows selected.
{code} &nbs -
Any general tips on getting better performance out of multi table insert?
I have been struggling with coding a multi table insert which is the first time I ever use one and my Oracle skills are pretty poor in general so now that the query is built and works fine I am sad to see its quite slow.
I have checked numerous articles on optimizing but the things I try dont seem to get me much better performance.
First let me describe my scenario to see if you agree that my performance is slow...
its an insert all command, which ends up inserting into 5 separate tables, conditionally (at least 4 inserts, sometimes 5 but the fifth is the smallest table). Some stats on these tables as follows:
Source table: 5.3M rows, ~150 columns wide. Parallel degree 4. everything else default.
Target table 1: 0 rows, 27 columns wide. Parallel 4. everything else default.
Target table 2: 0 rows, 63 columns wide. Parallel 4. default.
Target table 3: 0 rows, 33 columns wide. Parallel 4. default.
Target table 4: 0 rows, 9 columns wide. Parallel 4. default.
Target table 5: 0 rows, 13 columns wide. Parallel 4. default.
The parallelism is just about the only customization I myself have done. Why 4? I dont know it's pretty arbitrary to be honest.
Indexes?
Table 1 has 3 index + PK.
Table 2 has 0 index + FK + PK.
Table 3 has 4 index + FK + PK
Table 4 has 3 index + FK + PK
Table 5 has 4 index + FK + PK
None of the indexes are anything crazy, maybe 3 or 4 of all of them are on multiple columns, 2-3 max. The rest are on single columns.
The query itself looks something like this:
insert /*+ append */ all
when 1=1 then
into table1 (...) values (...)
into table2 (...) values (...)
when a=b then
into table3 (...) values (...)
when a=c then
into table3 (...) values (...)
when p=q then
into table4(...) values (...)
when x=y then
into table5(...) values (...)
select .... from source_table
Hints I tried are with append, without append, and parallel (though adding parallel seemed to make the query behave in serial, according to my session browser).
Now for the performance:
It does about 8,000 rows per minute on table1. So that means it should also have that much in table2, table3 and table4, and then a subset of that in table5.
Does that seem normal or am I expecting too much?
I find articles talking about millions of rows per minute... Obviously i dont think I can achieve that much... but maybe 30k or so on each table is a reasonable goal?
If it seems my performance is slow, what else do you think I should try? Is there any information I may try to get to see if maybe its a poorly configured database for this?
P.S. Is it possible I can run this so that it commits every x rows or something? I had the heartbreaking event of a network issue giving me this sudden "ora-25402: transaction must roll back" after it was running for 3.5 hours. So I lost all the progress it made... have to start over. plus i wonder if the sheer amount of data being queued for commit/rollback is causing some of the problem?
Edited by: trant on Jun 27, 2011 9:29 PMLooks like there are about 54 sessions on my database, 7 of the sessions belong to me (2 taken by TOAD and 4 by my parallel slave sessions and 1 by the master of those 4)
In v$session_event there are 546 rows, if i filter it to the SIDs of my current session and order my micro_wait_time desc:
510 events in waitclass Other 30670 9161 329759 10.75 196 3297590639 1736664284 1893977003 0 Other
512 events in waitclass Other 32428 10920 329728 10.17 196 3297276553 1736664284 1893977003 0 Other
243 events in waitclass Other 21513 5 329594 15.32 196 3295935977 1736664284 1893977003 0 Other
223 events in waitclass Other 21570 52 329590 15.28 196 3295898897 1736664284 1893977003 0 Other
241 row cache lock 1273669 0 42137 0.03 267 421374408 1714089451 3875070507 4 Concurrency
241 events in waitclass Other 614793 0 34266 0.06 12 342660764 1736664284 1893977003 0 Other
241 db file sequential read 13323 0 3948 0.3 13 39475015 2652584166 1740759767 8 User I/O
241 SQL*Net message from client 7 0 1608 229.65 1566 16075283 1421975091 2723168908 6 Idle
241 log file switch completion 83 0 459 5.54 73 4594763 3834950329 3290255840 2 Configuration
241 gc current grant 2-way 5023 0 159 0.03 0 1591377 2685450749 3871361733 11 Cluster
241 os thread startup 4 0 55 13.82 26 552895 86156091 3875070507 4 Concurrency
241 enq: HW - contention 574 0 38 0.07 0 378395 1645217925 3290255840 2 Configuration
512 PX Deq: Execution Msg 3 0 28 9.45 28 283374 98582416 2723168908 6 Idle
243 PX Deq: Execution Msg 3 0 27 9.1 27 272983 98582416 2723168908 6 Idle
223 PX Deq: Execution Msg 3 0 25 8.26 24 247673 98582416 2723168908 6 Idle
510 PX Deq: Execution Msg 3 0 24 7.86 23 235777 98582416 2723168908 6 Idle
243 PX Deq Credit: need buffer 1 0 17 17.2 17 171964 2267953574 2723168908 6 Idle
223 PX Deq Credit: need buffer 1 0 16 15.92 16 159230 2267953574 2723168908 6 Idle
512 PX Deq Credit: need buffer 1 0 16 15.84 16 158420 2267953574 2723168908 6 Idle
510 direct path read 360 0 15 0.04 4 153411 3926164927 1740759767 8 User I/O
243 direct path read 352 0 13 0.04 6 134188 3926164927 1740759767 8 User I/O
223 direct path read 359 0 13 0.04 5 129859 3926164927 1740759767 8 User I/O
241 PX Deq: Execute Reply 6 0 13 2.12 10 127246 2599037852 2723168908 6 Idle
510 PX Deq Credit: need buffer 1 0 12 12.28 12 122777 2267953574 2723168908 6 Idle
512 direct path read 351 0 12 0.03 5 121579 3926164927 1740759767 8 User I/O
241 PX Deq: Parse Reply 7 0 9 1.28 6 89348 4255662421 2723168908 6 Idle
241 SQL*Net break/reset to client 2 0 6 2.91 6 58253 1963888671 4217450380 1 Application
241 log file sync 1 0 5 5.14 5 51417 1328744198 3386400367 5 Commit
510 cursor: pin S wait on X 3 2 2 0.83 1 24922 1729366244 3875070507 4 Concurrency
512 cursor: pin S wait on X 2 2 2 1.07 1 21407 1729366244 3875070507 4 Concurrency
243 cursor: pin S wait on X 2 2 2 1.06 1 21251 1729366244 3875070507 4 Concurrency
241 library cache lock 29 0 1 0.05 0 13228 916468430 3875070507 4 Concurrency
241 PX Deq: Join ACK 4 0 0 0.07 0 2789 4205438796 2723168908 6 Idle
241 SQL*Net more data from client 6 0 0 0.04 0 2474 3530226808 2000153315 7 Network
241 gc current block 2-way 5 0 0 0.04 0 2090 111015833 3871361733 11 Cluster
241 enq: KO - fast object checkpoint 4 0 0 0.04 0 1735 4205197519 4217450380 1 Application
241 gc current grant busy 4 0 0 0.03 0 1337 2277737081 3871361733 11 Cluster
241 gc cr block 2-way 1 0 0 0.06 0 586 737661873 3871361733 11 Cluster
223 db file sequential read 1 0 0 0.05 0 461 2652584166 1740759767 8 User I/O
223 gc current block 2-way 1 0 0 0.05 0 452 111015833 3871361733 11 Cluster
241 latch: row cache objects 2 0 0 0.02 0 434 1117386924 3875070507 4 Concurrency
241 enq: TM - contention 1 0 0 0.04 0 379 668627480 4217450380 1 Application
512 PX Deq: Msg Fragment 4 0 0 0.01 0 269 77145095 2723168908 6 Idle
241 latch: library cache 3 0 0 0.01 0 243 589947255 3875070507 4 Concurrency
510 PX Deq: Msg Fragment 3 0 0 0.01 0 215 77145095 2723168908 6 Idle
223 PX Deq: Msg Fragment 4 0 0 0 0 145 77145095 2723168908 6 Idle
241 buffer busy waits 1 0 0 0.01 0 142 2161531084 3875070507 4 Concurrency
243 PX Deq: Msg Fragment 2 0 0 0 0 84 77145095 2723168908 6 Idle
241 latch: cache buffers chains 4 0 0 0 0 73 2779959231 3875070507 4 Concurrency
241 SQL*Net message to client 7 0 0 0 0 51 2067390145 2000153315 7 Network
(yikes, is there a way to wrap that in equivalent of other forums' tag?)
v$session_wait;
223 835 PX Deq Credit: send blkd sleeptime/senderid 268697599 000000001003FFFF passes 1 0000000000000001 qref 0 00 1893977003 0 Other 0 10 WAITING
241 22819 row cache lock cache id 13 000000000000000D mode 0 00 request 5 0000000000000005 3875070507 4 Concurrency -1 0 WAITED SHORT TIME
243 747 PX Deq Credit: send blkd sleeptime/senderid 268697599 000000001003FFFF passes 1 0000000000000001 qref 0 00 1893977003 0 Other 0 7 WAITING
510 10729 PX Deq Credit: send blkd sleeptime/senderid 268697599 000000001003FFFF passes 1 0000000000000001 qref 0 00 1893977003 0 Other 0 2 WAITING
512 12718 PX Deq Credit: send blkd sleeptime/senderid 268697599 000000001003FFFF passes 1 0000000000000001 qref 0 00 1893977003 0 Other 0 4 WAITING
v$sess_io:
223 0 5779 5741 0 0
241 38773810 2544298 15107 27274891 0
243 0 5702 5688 0 0
510 0 5729 5724 0 0
512 0 5682 5678 0 0 -
Book layout question due to lack of functionality in InDesign
I am a doctoral student (cancer cell biology) starting to write my dissertation (in Word 2007) and I'm using InDesign CS3 (5.0.4) for the layout (I refuse to layout figures and tables in Word... tried it... giant pain in the a$$). My original plan was to create a Book in InDesign and have each chapter be a separate file. Due to the bibliography software I need to use the Word file has to be a single file (see this thread for details). InDesign cannot just Place a range of pages (it's seems to be all or nothing) and this creates a problem (see the previous thread).
The question I have, is it smart to break each chapter out into a separate file? My thinking was that since I would be bringing in a fair number Photoshop and Illustrator files into each chapter it would be wise to keep the file size down (I'm not doing this on the best of computers, at least by graphic designer standards) and it would make rearranging a little easier (my mentor has a habit of changing his mind and chapter 3 could easily switch places with chapter 7).
This is my first book so any thoughts or advice you have would be greatly appreciated.
Regards,
Adrian.Nah, it's just me. My mentor wants paper output for the markup, the committee will take a PDF or paper and the university has (thankfully) instituted an electronic submission criteria. The final product has to be a PDF to the school and I'll have some output to paper and bound for my mentor, my family (as a gift) and myself.
The two students before me did everything in Word and yeah you can make Word do it but I just don't hassle with it. I make religious use of styles in Word (and only 4 styles at that... talked to a graphic designer who does books for a living "Keep the styles to minimum!!"... Done), so getting it into InDesign is cake. Also, my mentor has a nasty of habit of constantly changing his mind and doing things like, "Can you move that picture about a centimeter to left, I just want a little space in there". I have been through this with Word, it will do it but the voices in your head will start suggesting that you kill again (and nobody wants that). I plan on doing my grants this way, manuscripts this way, everything. Everybody (NIH, journals, other funding sources) requires a PDF now and some require rather optimized PDFs (people think I'm crazy but I swear there is a difference between the PDFs that InDesign outputs and the ones that my wife's Mac does--just using the built-in PDF renderer or some of the other PDF creators for Windows), so I just went ahead and went through a tutorial on VTC.com and then read a couple of books. I wouldn't be able to layout a magazine but I can do grants, manuscripts, dissertations. -
Ssh X11 forwarding takes too long to start any app. remotely
Hi,
I have a bizzare problem with %subject% for some time already.
Affected are all my Arch linux installations (all with: systemd, openbox (without Display Manager), and latest updates):
1. home desktop (core 2 duo, 2.4GHz, 3GB RAM).
2. one testing desktop in virtualbox on the desktop from prev. point.
3. work laptop (Intel Core i5, 4GB RAM).
All of these are connected via cable to the same home network 100MB router (using openwrt on asus wl-500g).
Normal ssh transmissions, like entering commands, or transfer of data via scp (even large amount of data for testing purposes because of this) works quick like expected.
The problem is, that if I try to start app. remotely via ssh X forwarding from and to any of these (affected also bidirectional), it takes always aprox. 2 minutes to start the app.
Afterwards, it works fast and fine.
Doesn't change anything, whether the X server is running on the server's side or not.
Have been testing it with some lightweight apps too, but makes no difference if it's e.g. mousepad, gedit, thunderbird, always the same 2 min. delay at their start.
Also, some time ago, I had an older (more than 10 years) laptop, also with Arch installed, using LXDE, and connected via wifi to this same router, which worked perfectly without any delay. Also the same time ago, I was yet running Ubuntu on the home desktop, when I installed Arch to the virtualbox mentioned in point 2, and the problem was already present on the virtual pc, but not on the Ubuntu or the older laptop with Arch I had before.
Later, when I switched home desktop to Arch (or I got new laptop in the work), the issue appeared instantly on the new Arch installations.
The sshd configuration is the basic from the package, with X forwarding enabled of course, thus no strange changes of mine.
I monitored the ssh communications with tcpdump, not to read the encrypted data itself , but to see whether the data is flowing, and there are flow outages (absolute quiet except of below mentioned exceptions) in the mentioned 2 minutes duration till app. startup:
- after ssh authentication, there is about 1 minute silence, when after this 1st minute some few data is flowing
- next, there is another 1 minute silence, after which the app. finally starts
I've also gathered ssh debugging informations, from both, server (where I'm connecting and trying to start app. remotely) and client, with description when waiting has been detected.
server:
/usr/sbin/sshd -ddd
debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 501
debug2: parse_server_config: config /etc/ssh/sshd_config len 501
debug3: /etc/ssh/sshd_config:15 setting ListenAddress 0.0.0.0
debug3: /etc/ssh/sshd_config:16 setting ListenAddress ::
debug3: /etc/ssh/sshd_config:35 setting LogLevel INFO
debug3: /etc/ssh/sshd_config:42 setting PermitRootLogin no
debug3: /etc/ssh/sshd_config:52 setting AuthorizedKeysFile .ssh/authorized_keys
debug3: /etc/ssh/sshd_config:68 setting PermitEmptyPasswords no
debug3: /etc/ssh/sshd_config:71 setting ChallengeResponseAuthentication no
debug3: /etc/ssh/sshd_config:92 setting UsePAM yes
debug3: /etc/ssh/sshd_config:94 setting AllowAgentForwarding yes
debug3: /etc/ssh/sshd_config:95 setting AllowTcpForwarding yes
debug3: /etc/ssh/sshd_config:97 setting X11Forwarding yes
debug3: /etc/ssh/sshd_config:98 setting X11DisplayOffset 10
debug3: /etc/ssh/sshd_config:99 setting X11UseLocalhost yes
debug3: /etc/ssh/sshd_config:104 setting UsePrivilegeSeparation sandbox
debug3: /etc/ssh/sshd_config:106 setting Compression delayed
debug3: /etc/ssh/sshd_config:109 setting UseDNS no
debug3: /etc/ssh/sshd_config:120 setting Subsystem sftp /usr/lib/ssh/sftp-server
debug1: sshd version OpenSSH_6.1p1
debug3: Incorrect RSA1 identifier
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Incorrect RSA1 identifier
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug3: Incorrect RSA1 identifier
debug1: read PEM private key done: type ECDSA
debug1: private host key: #2 type 3 ECDSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-ddd'
debug3: oom_adjust_setup
Set /proc/self/oom_score_adj from 0 to -1000
debug2: fd 3 setting O_NONBLOCK
debug3: sock_set_v6only: set socket 3 IPV6_V6ONLY
debug1: Bind to port 22 on ::.
Server listening on :: port 22.
debug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
debug3: fd 5 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 8 config len 501
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 5 out 5 newsock 5 pipe -1 sock 8
debug1: inetd sockets after dupping: 3, 3
Connection from CLIENT_IP port 43333
debug1: Client protocol version 2.0; client software version OpenSSH_6.1
debug1: match: OpenSSH_6.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.1
debug2: fd 3 setting O_NONBLOCK
debug3: ssh_sandbox_init: preparing seccomp filter sandbox
debug2: Network child is on pid 6379
debug3: preauth child monitor started
debug3: privsep user:group 99:99 [preauth]
debug1: permanently_set_uid: 99/99 [preauth]
debug3: ssh_sandbox_child: setting PR_SET_NO_NEW_PRIVS [preauth]
debug3: ssh_sandbox_child: attaching seccomp filter program [preauth]
debug1: list_hostkey_types: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 [preauth]
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [preauth]
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 [preauth]
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected] [preauth]
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected] [preauth]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 [preauth]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 [preauth]
debug2: kex_parse_kexinit: none,[email protected] [preauth]
debug2: kex_parse_kexinit: none,[email protected] [preauth]
debug2: kex_parse_kexinit: [preauth]
debug2: kex_parse_kexinit: [preauth]
debug2: kex_parse_kexinit: first_kex_follows 0 [preauth]
debug2: kex_parse_kexinit: reserved 0 [preauth]
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [preauth]
debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-rsa,ssh-dss [preauth]
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected] [preauth]
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected] [preauth]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 [preauth]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96 [preauth]
debug2: kex_parse_kexinit: none,[email protected],zlib [preauth]
debug2: kex_parse_kexinit: none,[email protected],zlib [preauth]
debug2: kex_parse_kexinit: [preauth]
debug2: kex_parse_kexinit: [preauth]
debug2: kex_parse_kexinit: first_kex_follows 0 [preauth]
debug2: kex_parse_kexinit: reserved 0 [preauth]
debug2: mac_setup: found hmac-md5 [preauth]
debug1: kex: client->server aes128-ctr hmac-md5 none [preauth]
debug2: mac_setup: found hmac-md5 [preauth]
debug1: kex: server->client aes128-ctr hmac-md5 none [preauth]
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
debug3: mm_key_sign entering [preauth]
debug3: mm_request_send entering: type 4 [preauth]
debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN [preauth]
debug3: mm_request_receive_expect entering: type 5 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 4
debug3: mm_answer_sign
debug3: mm_answer_sign: signature 0x13e3f80(100)
debug3: mm_request_send entering: type 5
debug2: monitor_read: 4 used once, disabling now
debug2: kex_derive_keys [preauth]
debug2: set_newkeys: mode 1 [preauth]
debug1: SSH2_MSG_NEWKEYS sent [preauth]
debug1: expecting SSH2_MSG_NEWKEYS [preauth]
debug2: set_newkeys: mode 0 [preauth]
debug1: SSH2_MSG_NEWKEYS received [preauth]
debug1: KEX done [preauth]
debug1: userauth-request for user USERNAME service ssh-connection method none [preauth]
debug1: attempt 0 failures 0 [preauth]
debug3: mm_getpwnamallow entering [preauth]
debug3: mm_request_send entering: type 6 [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 6
debug3: mm_answer_pwnamallow
debug2: parse_server_config: config reprocess config len 501
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 7
debug2: monitor_read: 6 used once, disabling now
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM [preauth]
debug3: mm_request_receive_expect entering: type 7 [preauth]
debug3: mm_request_receive entering [preauth]
debug2: input_userauth_request: setting up authctxt for USERNAME [preauth]
debug3: mm_start_pam entering [preauth]
debug3: mm_request_send entering: type 45 [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 45
debug1: PAM: initializing for "USERNAME"
debug1: PAM: setting PAM_RHOST to "CLIENT_IP"
debug1: PAM: setting PAM_TTY to "ssh"
debug2: monitor_read: 45 used once, disabling now
debug3: mm_inform_authserv entering [preauth]
debug3: mm_request_send entering: type 3 [preauth]
debug2: input_userauth_request: try method none [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 3
debug3: mm_answer_authserv: service=ssh-connection, style=
debug2: monitor_read: 3 used once, disabling now
debug1: userauth-request for user USERNAME service ssh-connection method publickey [preauth]
debug1: attempt 1 failures 0 [preauth]
debug2: input_userauth_request: try method publickey [preauth]
debug1: test whether pkalg/pkblob are acceptable [preauth]
debug3: mm_key_allowed entering [preauth]
debug3: mm_request_send entering: type 20 [preauth]
debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED [preauth]
debug3: mm_request_receive_expect entering: type 21 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 20
debug3: mm_answer_keyallowed entering
debug3: mm_answer_keyallowed: key_from_blob: 0x13e1e20
debug1: temporarily_use_uid: 1000/100 (e=0/0)
debug1: trying public key file /home/USERNAME/.ssh/authorized_keys
debug1: Could not open authorized keys '/home/USERNAME/.ssh/authorized_keys': No such file or directory
debug1: restore_uid: 0/0
Failed publickey for USERNAME from CLIENT_IP port 43333 ssh2
debug3: mm_answer_keyallowed: key 0x13e1e20 is not allowed
debug3: mm_request_send entering: type 21
debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss [preauth]
debug1: userauth-request for user USERNAME service ssh-connection method password [preauth]
debug1: attempt 2 failures 1 [preauth]
debug2: input_userauth_request: try method password [preauth]
debug3: mm_auth_password entering [preauth]
debug3: mm_request_send entering: type 10 [preauth]
debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD [preauth]
debug3: mm_request_receive_expect entering: type 11 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 10
debug3: PAM: sshpam_passwd_conv called with 1 messages
debug1: PAM: password authentication accepted for USERNAME
debug3: mm_answer_authpassword: sending result 1
debug3: mm_request_send entering: type 11
debug3: mm_request_receive_expect entering: type 46
debug3: mm_request_receive entering
debug1: do_pam_account: called
debug3: PAM: do_pam_account pam_acct_mgmt = 0 (Success)
debug3: mm_request_send entering: type 47
Accepted password for USERNAME from CLIENT_IP port 43333 ssh2
debug3: mm_auth_password: user authenticated [preauth]
debug3: mm_do_pam_account entering [preauth]
debug3: mm_request_send entering: type 46 [preauth]
debug3: mm_request_receive_expect entering: type 47 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_do_pam_account returning 1 [preauth]
debug3: mm_send_keystate: Sending new keys: 0x13e1c40 0x13e34c0 [preauth]
debug3: mm_newkeys_to_blob: converting 0x13e1c40 [preauth]
debug3: mm_newkeys_to_blob: converting 0x13e34c0 [preauth]
debug3: mm_send_keystate: New keys have been sent [preauth]
debug3: mm_send_keystate: Sending compression state [preauth]
debug3: mm_request_send entering: type 24 [preauth]
debug3: mm_send_keystate: Finished sending state [preauth]
debug1: monitor_read_log: child log fd closed
debug1: monitor_child_preauth: USERNAME has been authenticated by privileged process
debug3: mm_get_keystate: Waiting for new keys
debug3: mm_request_receive_expect entering: type 24
debug3: mm_request_receive entering
debug3: mm_newkeys_from_blob: 0x13f3b20(122)
debug2: mac_setup: found hmac-md5
debug3: mm_get_keystate: Waiting for second key
debug3: mm_newkeys_from_blob: 0x13f3b20(122)
debug2: mac_setup: found hmac-md5
debug3: mm_get_keystate: Getting compression state
debug3: mm_get_keystate: Getting Network I/O buffers
debug3: mm_share_sync: Share sync
debug3: mm_share_sync: Share sync end
debug3: ssh_sandbox_parent_finish: finished
debug1: PAM: establishing credentials
debug3: PAM: opening session
User child is on pid 6387
debug1: PAM: establishing credentials
debug1: permanently_set_uid: 1000/100
debug2: set_newkeys: mode 0
debug2: set_newkeys: mode 1
debug1: Entering interactive session for SSH2.
debug2: fd 7 setting O_NONBLOCK
debug2: fd 9 setting O_NONBLOCK
debug1: server_init_dispatch_20
debug1: server_input_channel_open: ctype session rchan 0 win 2097152 max 32768
debug1: input_session_request
debug1: channel 0: new [server-session]
debug2: session_new: allocate (allocated 0 max 10)
debug3: session_unused: session id 0 unused
debug1: session_new: session 0
debug1: session_open: channel 0
debug1: session_open: session 0: link with channel 0
debug1: server_input_channel_open: confirm session
debug1: server_input_global_request: rtype [email protected] want_reply 0
debug1: server_input_channel_req: channel 0 request x11-req reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req x11-req
debug3: sock_set_v6only: set socket 10 IPV6_V6ONLY
debug2: fd 10 setting O_NONBLOCK
debug3: fd 10 is O_NONBLOCK
debug1: channel 1: new [X11 inet listener]
debug2: fd 11 setting O_NONBLOCK
debug3: fd 11 is O_NONBLOCK
debug1: channel 2: new [X11 inet listener]
debug1: server_input_channel_req: channel 0 request exec reply 1
debug1: session_by_channel: session 0 channel 0
debug1: session_input_channel_req: session 0 req exec
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug2: fd 14 setting O_NONBLOCK
debug2: fd 13 setting O_NONBLOCK
debug2: fd 16 setting O_NONBLOCK
debug2: channel 0: read 210 from efd 16
debug2: channel 0: rwin 2097152 elen 210 euse 1
debug2: channel 0: sent ext data 210
debug2: channel 0: read 380 from efd 16
debug2: channel 0: rwin 2096942 elen 380 euse 1
debug2: channel 0: sent ext data 380
debug2: channel 0: read 121 from efd 16
debug2: channel 0: rwin 2096562 elen 121 euse 1
debug2: channel 0: sent ext data 121
### Here started the waiting on the server's side, and continued later till the start of app.:
debug1: X11 connection requested.
debug2: fd 12 setting TCP_NODELAY
debug2: fd 12 setting O_NONBLOCK
debug3: fd 12 is O_NONBLOCK
debug1: channel 3: new [X11 connection from 127.0.0.1 port 46968]
debug2: channel 3: open confirm rwindow 2097152 rmax 16384
debug2: channel 0: read 62 from efd 16
debug2: channel 0: rwin 2096441 elen 62 euse 1
debug2: channel 0: sent ext data 62
debug1: X11 connection requested.
debug2: fd 15 setting TCP_NODELAY
debug2: fd 15 setting O_NONBLOCK
debug3: fd 15 is O_NONBLOCK
debug1: channel 4: new [X11 connection from 127.0.0.1 port 46972]
debug2: channel 4: open confirm rwindow 2097152 rmax 16384
debug2: channel 3: rcvd adjust 51268
debug2: channel 3: rcvd adjust 65536
debug2: channel 3: rcvd adjust 65536
debug2: channel 3: rcvd adjust 65536
debug2: channel 3: rcvd adjust 65536
debug2: channel 3: rcvd adjust 32768
debug2: channel 3: rcvd adjust 147456
debug2: channel 3: rcvd adjust 55788
debug2: channel 3: window 32740 sent adjust 32796
client:
ssh -Xvvv USERNAME@SERVER_IP mousepad
OpenSSH_6.1p1, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to SERVER_IP [SERVER_IP] port 22.
debug1: Connection established.
debug1: identity file /home/USERNAME/.ssh/id_rsa type -1
debug1: identity file /home/USERNAME/.ssh/id_rsa-cert type -1
debug1: identity file /home/USERNAME/.ssh/id_dsa type 2
debug1: identity file /home/USERNAME/.ssh/id_dsa-cert type -1
debug1: identity file /home/USERNAME/.ssh/id_ecdsa type -1
debug1: identity file /home/USERNAME/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.1
debug1: match: OpenSSH_6.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.1
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "SERVER_IP" from file "/home/USERNAME/.ssh/known_hosts"
debug3: load_hostkeys: found key type ECDSA in file /home/USERNAME/.ssh/known_hosts:4
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected],[email protected],[email protected],ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[email protected],zlib
debug2: kex_parse_kexinit: none,[email protected],zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,[email protected]
debug2: kex_parse_kexinit: none,[email protected]
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ECDSA ABC123...
debug3: load_hostkeys: loading entries for host "SERVER_IP" from file "/home/USERNAME/.ssh/known_hosts"
debug3: load_hostkeys: found key type ECDSA in file /home/USERNAME/.ssh/known_hosts:4
debug3: load_hostkeys: loaded 1 keys
debug1: Host 'SERVER_IP' is known and matches the ECDSA host key.
debug1: Found key in /home/USERNAME/.ssh/known_hosts:4
debug1: ssh_ecdsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/USERNAME/.ssh/id_rsa ((nil))
debug2: key: /home/USERNAME/.ssh/id_dsa (0x)
debug2: key: /home/USERNAME/.ssh/id_ecdsa ((nil))
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /home/USERNAME/.ssh/id_rsa
debug3: no such identity: /home/USERNAME/.ssh/id_rsa
debug1: Offering DSA public key: /home/USERNAME/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/USERNAME/.ssh/id_ecdsa
debug3: no such identity: /home/USERNAME/.ssh/id_ecdsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
USERNAME@SERVER_IP's password:
debug3: packet_send2: adding 48 (len 68 padlen 12 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to SERVER_IP ([SERVER_IP]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-mHE6faU7YJF2/xauthfile generate :0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-mHE6faU7YJF2/xauthfile list :0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 1
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug1: Sending command: mousepad
debug2: channel 0: request exec confirm 1
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: X11 forwarding request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
### After successful authentication, here above started the first waiting, where after first 1 min. continued with:
debug2: channel 0: rcvd ext data 210
debug2: channel 0: rcvd ext data 380
debug2: channel 0: rcvd ext data 121
debug3: Copy environment: XDG_SESSION_COOKIE=0d937ee20c7e42bdbf828421a30eaa2f-1357144247.348263-1841400888
debug3: Copy environment: XDG_SESSION_ID=5
debug3: Copy environment: XDG_RUNTIME_DIR=/run/user/1000
debug2: channel 0: written 711 to efd 6
### After another 1 min. continued with + started the app.
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 46968
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug2: channel 0: rcvd ext data 62
Xlib: extension "RANDR" missing on display "localhost:10.0".
debug2: channel 0: written 62 to efd 6
debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 46972
debug2: fd 8 setting O_NONBLOCK
debug3: fd 8 is O_NONBLOCK
debug1: channel 2: new [x11]
debug1: confirm x11
debug2: channel 1: window 2045884 sent adjust 51268
debug2: channel 1: window 2031616 sent adjust 65536
debug2: channel 1: window 2031616 sent adjust 65536
debug2: channel 1: window 2031616 sent adjust 65536
debug2: channel 1: window 2031616 sent adjust 65536
debug2: channel 1: window 2031616 sent adjust 32768
debug2: channel 1: window 1949696 sent adjust 147456
debug2: channel 1: window 2041364 sent adjust 55788
debug2: channel 1: rcvd adjust 32796
debug1: client_input_channel_open: ctype x11 rchan 5 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 46974
debug2: fd 9 setting O_NONBLOCK
debug3: fd 9 is O_NONBLOCK
debug1: channel 3: new [x11]
debug1: confirm x11
debug2: channel 1: rcvd adjust 32800
It's quite strange, as I have no more ideas what to check next.
Any ideas pls?
thx in advance.Have finally found a solution for this problem: http://serverfault.com/questions/490352 … w-to-start
Now the applications do start immediately via SSH X11 forwarding as expected.
The following three lines helped:
ip6tables -A INPUT -i lo -j ACCEPT
ip6tables -A OUTPUT -o lo -j ACCEPT
ip6tables -A FORWARD -i lo -o lo -j ACCEPT
While until now, all ip6 traffic has been forbidden (to drop all ip6 traffic) at the start of the system of course.
Nevertheless, I don't understand it, why the ip6 localhost has to be granted this way even if the /etc/ssh/sshd_config is configured for ip4 only "AddressFamily inet"?
I thought, that this way the sshd will be using ip4 protocol only (including for the X11 forwarding), then why does it still need the ip6? -
It's hard to present AWR report content here as if i go for copy paste the content alinment and format get changed. Is there any better way to present AWR report in my query.
Here is my query.
In a 2 hour AWR reports for a database I can see the below top 5 wait event's
the database is running on high CPU consumption (there are very less physical reads on database and Logical read is high i suppose ) so I also gather the Segments by Logical Reads. Please provide any suggestion how can i avoid logical reads I/o for the dataabse. If you see at bottom only two segments are responsible for high logical reads.
Please let me know if more content of AWR report is required.
Per Second Per Transaction
Redo size: 12,765.52 2,030.27
Logical reads: 324,030.64 51,534.93
Block changes: 71.62 11.39
Physical reads: 28.26 4.49
Physical writes: 3.84 0.61
User calls: 333.61 53.06
Parses: 157.16 24.99
Hard parses: 0.17 0.03
Sorts: 30.07 4.78
Logons: 1.71 0.27
Executes: 156.35 24.87
Transactions: 6.29
% Blocks changed per Read: 0.02 Recursive Call %: 28.05
Rollback per transaction %: 16.17 Rows per Sort: 29.99
Top 5 Timed Events
Event Waits Time(s) Avg Wait(ms) % Total Call TimeWait Class
CPU time 4,711 88.0
db file sequential read 190,548 356 2 6.7 User I/O
gc current block 2-way 172,948 151 1 2.8 Cluster
gc cr grant 2-way 128,668 67 1 1.2 Cluster
log file sync 37,920 54 1 1.0 Commit
Segments by Logical Reads
Total Logical Reads: 2,342,983,880
Captured Segments account for 99.8% of Total
Owner Tablespace Name Object Name Subobject Name Obj. Type Logical Reads %Total
web_dc DECOINDX D_1F01BC958000013B INDEX 909,141,504 38.80
web_dc DECODATA DM_RELATION_TYPE_S TABLE 908,104,384 38.76
web_dc DECOINDX D_1F01BC9580000518 INDEX 165,716,752 7.07
web_dc DECODATA DM_RELATION_S TABLE 136,235,504 5.81
web_dc DECOINDX D_1F01BC9580000024 INDEX 62,935,008 2.69
Regards
balvindarIn a 2 hour AWR reports for a database I can see the below top 5 wait event's
Comment: 2 hour is a too big interval to draw any conclusion. It should be 15-30 mins maximum.
Apart from that: 88 percent of the wall time is devoted to CPU, so do you have a problem? Not at all!!! Your database is doing pretty nothing.
the database is running on high CPU consumption (there are very less physical reads on database and Logical read is high i suppose ) so I also gather the Segments by Logical Reads. Please provide any suggestion how can i avoid logical reads I/o for the dataabse. If you see at bottom only two segments are responsible for high logical reads.
Comment: the database is not running on high CPU consumption. You would need to run an ADDM report to be able to ascertain that. We have no data on the CPU load of the server, nor how much Oracle is contributing to the load.
You cannot avoid logical read I/O, other than just stopping the application. You can tune them by tuning statements.
In the future, please wrap the output in tags (no spaces, lowercase), or I will need new glasses ;)
Sybrand Bakker
Senior Oracle DBA -
Hi Fellas,
I am new to query tuning. I have a big query with a TKPROF details. It is just fetching 34 records and taking approx 30 mins.
The TKPROF detail will follow after the query.
SELECT /*+ NO_INDEX(A, RA_CUSTOMER_TRX_N11 ) USE_NL(TYPES,A) */ a.customer_trx_id CUSTOMER_TRX_ID ,
a.trx_number TRX_NUMBER ,
A . INTERFACE_HEADER_ATTRIBUTE5 BILLING_STAGE ,
A . INTERFACE_HEADER_CONTEXT PBRR_TYPE ,
A . INTERFACE_HEADER_ATTRIBUTE11 BILLING_TERM ,
NVL ( TL . SEQUENCE_NUM , 1 ) TERM_SEQUENCE_NUMBER ,
types.type TRX_TYPE ,
l_types.meaning TRX_TYPE_NAME ,
TYPES . ACCOUNTING_AFFECT_FLAG OPEN_RECEIVABLE_FLAG ,
a.trx_date TRX_DATE , SHIP_TO_CUSTOMER_ID SHIP_TO_CUSTOMER_ID ,
SHIP_TO_CONTACT_ID SHIP_TO_CONTACT_ID ,
REMIT_TO_ADDRESS_ID REMIT_TO_ADDRESS_ID ,
A . PRIMARY_SALESREP_ID PRIMARY_SALESREP_ID ,
B . ACCOUNT_NUMBER CUSTOMER_NUMBER ,
A . INTERNAL_NOTES INTERNAL_NOTES ,
A . COMMENTS TRX_COMMENTS ,
PREVIOUS_CUSTOMER_TRX_ID PREVIOUS_CUSTOMER_TRX_ID ,
SHIP_TO_SITE_USE_ID SHIP_TO_SITE_USE_ID ,
NVL ( PRINTING_COUNT , 0 ) PRINTING_COUNT ,
PRINTING_ORIGINAL_DATE PRINTING_ORIGINAL_DATE ,
PRINTING_LAST_PRINTED PRINTING_LAST_PRINTED ,
PRINTING_PENDING PRINTING_PENDING ,
LAST_PRINTED_SEQUENCE_NUM LAST_PRINTED_SEQUENCE_NUMBER ,
START_DATE_COMMITMENT START_DATE_COMMITMENT ,
END_DATE_COMMITMENT END_DATE_COMMITMENT ,
INITIAL_CUSTOMER_TRX_ID INITIAL_CUSTOMER_TRX_ID ,
A . INVOICE_CURRENCY_CODE INVOICE_CURRENCY_CODE ,
A . REASON_CODE CREDIT_HEADER_REASON_CODE_CSTM ,
A . TERM_ID TERM_ID ,
A . SHIP_DATE_ACTUAL SHIP_DATE_ACTUAL ,
A . SHIP_VIA SHIP_VIA ,
A . WAYBILL_NUMBER WAYBILL_NUMBER ,
A . PURCHASE_ORDER PURCHASE_ORDER_NUMBER ,
A . PURCHASE_ORDER_REVISION PURCHASE_ORDER_REVISION ,
A . PURCHASE_ORDER_DATE PURCHASE_ORDER_DATE ,
A . CREATED_BY ORDER_CREATED_BY_CSTM ,
P . DUE_DATE TERM_DUE_DATE_FROM_PS ,
NVL ( TL . RELATIVE_AMOUNT , 100 ) * ( 100 / NVL ( T . BASE_AMOUNT , 100 ) ) TERM_RELATIVE_AMOUNT ,
T . NAME TERM_NAME ,
A . BILL_TO_CUSTOMER_ID BILL_TO_CUSTOMER_ID ,
A . BILL_TO_CONTACT_ID BILL_TO_CONTACT_ID ,
A . BILL_TO_SITE_USE_ID BILL_TO_SITE_USE_ID ,
U_BILL . LOCATION BILL_TO_LOCATION ,
SUBSTRB ( PARTY . PARTY_NAME , 1 , 50 ) BILL_CUST_NAME ,
RTRIM ( RPAD ( LOC . ADDRESS1 , 40 ) ) BILL_ADDRESS1 ,
RTRIM ( RPAD ( LOC . ADDRESS2 , 40 ) ) BILL_ADDRESS2 ,
RTRIM ( RPAD ( LOC . ADDRESS3 , 40 ) ) BILL_ADDRESS3 ,
RTRIM ( RPAD ( LOC . ADDRESS4 , 40 ) ) BILL_ADDRESS4 ,
LOC . CITY BILL_CITY , NVL ( LOC . STATE ,
LOC . PROVINCE ) BILL_STATE ,
LOC . POSTAL_CODE BILL_POSTAL_CODE ,
LOC . COUNTRY BILL_COUNTRY ,
U_BILL . TAX_REFERENCE BILL_SITE_TAX_REFERENCE ,
PARTY . TAX_REFERENCE BILL_CUST_TAX_REFERENCE ,
nvl(amount_line_items_original + decode(a.initial_customer_trx_id, '', 0, nvl(com_adj.amount,0)), to_number(null)) TRX_LINE_AMOUNT ,
nvl(tax_original, to_number(null)) TRX_TAX_AMOUNT ,
nvl(freight_original, to_number(null)) TRX_FREIGHT_AMOUNT ,
p.amount_due_original + decode(a.initial_customer_trx_id, '', 0, nvl(com_adj.amount,0)) TRX_ALL_AMOUNT ,
DECODE ( : P_ORDER_BY , 'TRX_NUMBER' , A . TRX_NUMBER , 'ADJUSTMENT_NUMBER' , A.TRX_NUMBER , 'CUSTOMER' , SUBSTRB ( PARTY . PARTY_NAME , 1 , 50 ) , 'POSTAL_CODE' , LOC . POSTAL_CODE , A . TRX_NUMBER ) ORDER_BY ,
LOC . ADDRESS1 BILL_TO_ADDRESS1 ,
LOC . ADDRESS2 BILL_TO_ADDRESS2 ,
LOC . ADDRESS3 BILL_TO_ADDRESS3 ,
LOC . ADDRESS4 BILL_TO_ADDRESS4 ,
LOC . STATE BILL_TO_STATE ,
LOC . PROVINCE BILL_TO_PROVINCE ,
T . description Term_Description ,
a . org_id ,
a . created_from
FROM
AR_ADJUSTMENTS COM_ADJ,
AR_PAYMENT_SCHEDULES P,
RA_CUST_TRX_LINE_GL_DIST REC,
RA_CUSTOMER_TRX A,
HZ_CUST_ACCOUNTS B,
RA_TERMS T,
RA_TERMS_LINES TL,
RA_CUST_TRX_TYPES TYPES,
AR_LOOKUPS L_TYPES,
HZ_PARTIES PARTY,
HZ_CUST_ACCT_SITES A_BILL,
HZ_PARTY_SITES PARTY_SITE,
HZ_LOCATIONS LOC,
HZ_CUST_SITE_USES U_BILL
WHERE
A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID AND
REC.CUSTOMER_TRX_ID = A.CUSTOMER_TRX_ID AND
REC.LATEST_REC_FLAG = 'Y' AND
REC.ACCOUNT_CLASS = 'REC' AND
P.PAYMENT_SCHEDULE_ID + DECODE ( P.CLASS , 'INV' , 0 , '' ) = COM_ADJ.PAYMENT_SCHEDULE_ID (+) AND
COM_ADJ.SUBSEQUENT_TRX_ID IS NULL AND 'C' = COM_ADJ.ADJUSTMENT_TYPE (+) AND
A.COMPLETE_FLAG = 'Y' AND
A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID AND
L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ' AND
A.PRINTING_OPTION IN ( 'PRI' , 'REP' ) AND
L_TYPES.LOOKUP_CODE = DECODE ( TYPES.TYPE , 'DEP' , 'INV' , TYPES.TYPE ) AND
NVL ( P.TERMS_SEQUENCE_NUMBER , nvl ( TL.SEQUENCE_NUM , 0 ) ) = nvl ( TL.SEQUENCE_NUM , nvl ( p.terms_sequence_number , 0 ) ) AND
DECODE ( P.PAYMENT_SCHEDULE_ID , '' , 0 , NVL ( T.PRINTING_LEAD_DAYS , 0 ) ) = 0 AND
A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID AND
U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID AND
A_BILL.party_site_id = party_site.party_site_id AND
B.PARTY_ID = PARTY.PARTY_ID AND
loc.location_id = party_site.location_id AND
NVL ( P.AMOUNT_DUE_REMAINING , 0 ) <> 0 AND
A.CUST_TRX_TYPE_ID = 2526 AND
TYPES.TYPE = 'INV' AND
A.TERM_ID = TL.TERM_ID (+) AND
A.TERM_ID = T.TERM_ID (+) AND
A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID (+) AND
A.PRINTING_PENDING = 'Y' AND
NVL ( TL.SEQUENCE_NUM , 1 ) > NVL ( A.LAST_PRINTED_SEQUENCE_NUM , 0 ) and 1 = 1 AND
NOT EXISTS ( SELECT 'X' from ECE_TP_DETAILS ETD ,
ECE_TP_HEADERS ETH
WHERE
ETH.TP_HEADER_ID = A_BILL.TP_HEADER_ID AND
ETD.TP_HEADER_ID = ETH.TP_HEADER_ID AND
ETD.EDI_FLAG = 'Y' AND
ETD.DOCUMENT_ID = 'INO' AND
ETD.DOCUMENT_TYPE = DECODE ( TYPES.TYPE , 'CM' , DECODE ( A.PREVIOUS_CUSTOMER_TRX_ID , NULL , 'OACM' , 'CM' ) , TYPES.TYPE ) ) AND
A.PRINTING_OPTION IN ( 'PRI' , 'REP' ) AND
T.NAME not like 'PB%' AND
1 = 1 AND
MIT_AR.GE_AR_COAKLEY_ELIGIBLE ( 'NEW' , P.CUSTOMER_TRX_ID , A.ORG_ID ) = 0 AND
A.org_id = TYPES.org_id UNION SELECT /*+ NO_INDEX(A, RA_CUSTOMER_TRX_N11 ) USE_NL(TYPES,A) */
a.customer_trx_id , a.trx_number ,
A . INTERFACE_HEADER_ATTRIBUTE5 ,
A . INTERFACE_HEADER_CONTEXT ,
A . INTERFACE_HEADER_ATTRIBUTE11 ,
NVL ( P . TERMS_SEQUENCE_NUMBER , 1 ) ,
types.type , l_types.meaning ,
TYPES . ACCOUNTING_AFFECT_FLAG ,
a.trx_date ,
A . SHIP_TO_CUSTOMER_ID ,
A . SHIP_TO_CONTACT_ID ,
A . REMIT_TO_ADDRESS_ID ,
A . PRIMARY_SALESREP_ID ,
B . ACCOUNT_NUMBER ,
A . INTERNAL_NOTES ,
A . COMMENTS ,
PREVIOUS_CUSTOMER_TRX_ID ,
SHIP_TO_SITE_USE_ID ,
NVL ( PRINTING_COUNT , 0 ) ,
PRINTING_ORIGINAL_DATE ,
PRINTING_LAST_PRINTED ,
PRINTING_PENDING ,
LAST_PRINTED_SEQUENCE_NUM ,
START_DATE_COMMITMENT ,
END_DATE_COMMITMENT ,
INITIAL_CUSTOMER_TRX_ID ,
A . INVOICE_CURRENCY_CODE ,
A . REASON_CODE ,
A . TERM_ID ,
A . SHIP_DATE_ACTUAL ,
A . SHIP_VIA ,
A . WAYBILL_NUMBER ,
A . PURCHASE_ORDER ,
A . PURCHASE_ORDER_REVISION ,
A . PURCHASE_ORDER_DATE ,
A . CREATED_BY ,
P . DUE_DATE ,
NVL ( TL . RELATIVE_AMOUNT , 100 ) * ( 100 / NVL ( T . BASE_AMOUNT , 100 ) ) ,
T . NAME , A . BILL_TO_CUSTOMER_ID ,
A . BILL_TO_CONTACT_ID ,
A . BILL_TO_SITE_USE_ID ,
U_BILL . LOCATION BILL_TO_LOCATION ,
SUBSTRB ( PARTY . PARTY_NAME , 1 , 50 ) BILL_CUST_NAME ,
RTRIM ( RPAD ( LOC . ADDRESS1 , 40 ) ) ,
RTRIM ( RPAD ( LOC . ADDRESS2 , 40 ) ) ,
RTRIM ( RPAD ( LOC . ADDRESS3 , 40 ) ) ,
RTRIM ( RPAD ( LOC . ADDRESS4 , 40 ) ) ,
LOC . CITY ,
NVL ( LOC . STATE , LOC . PROVINCE ) ,
LOC . POSTAL_CODE ,
LOC . COUNTRY ,
U_BILL . TAX_REFERENCE ,
PARTY . TAX_REFERENCE ,
nvl(amount_line_items_original + decode(a.initial_customer_trx_id, '', 0, nvl(com_adj.amount,0)), to_number(null)) ,
nvl(tax_original, to_number(null)) ,
nvl(freight_original, to_number(null)) ,
p.amount_due_original + decode(a.initial_customer_trx_id, '', 0, nvl(com_adj.amount,0)) ,
DECODE ( : P_ORDER_BY , 'TRX_NUMBER' ,
A . TRX_NUMBER , 'ADJUSTMENT_NUMBER' ,
A.TRX_NUMBER , 'CUSTOMER' ,
SUBSTRB ( PARTY . PARTY_NAME , 1 , 50 ) , 'POSTAL_CODE' ,
LOC . POSTAL_CODE , A . TRX_NUMBER ) ORDER_BY ,
LOC . ADDRESS1 ,
LOC . ADDRESS2 ,
LOC . ADDRESS3 ,
LOC . ADDRESS4 ,
LOC . STATE ,
LOC . PROVINCE ,
T . description ,
a . org_id ,
a . created_from
FROM
RA_TERMS_LINES TL,
RA_CUST_TRX_TYPES TYPES,
AR_LOOKUPS L_TYPES,
HZ_CUST_ACCOUNTS B,
HZ_PARTIES PARTY,
HZ_CUST_SITE_USES U_BILL,
HZ_CUST_ACCT_SITES A_BILL,
HZ_PARTY_SITES PARTY_SITE,
HZ_LOCATIONS LOC,
AR_ADJUSTMENTS COM_ADJ,
RA_CUSTOMER_TRX A,
AR_PAYMENT_SCHEDULES P,
RA_TERMS T
WHERE
A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID
AND P.PAYMENT_SCHEDULE_ID + DECODE ( P.CLASS , 'INV' , 0 , '' ) = COM_ADJ.PAYMENT_SCHEDULE_ID (+) AND
COM_ADJ.SUBSEQUENT_TRX_ID IS NULL AND
'C' = COM_ADJ.ADJUSTMENT_TYPE (+) AND
A.COMPLETE_FLAG = 'Y' AND
A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID AND
A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID AND
L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ' AND
A.PRINTING_OPTION IN ( 'PRI' , 'REP' ) AND
L_TYPES.LOOKUP_CODE = DECODE ( TYPES.TYPE , 'DEP' , 'INV' , TYPES.TYPE ) AND
NVL ( T.PRINTING_LEAD_DAYS , 0 ) > 0 AND
A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID AND
U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID AND
A_BILL.PARTY_SITE_ID = PARTY_SITE.PARTY_SITE_ID AND
B.PARTY_ID = PARTY.PARTY_ID AND
LOC.LOCATION_ID = PARTY_SITE.LOCATION_ID AND
NVL ( P.TERMS_SEQUENCE_NUMBER , TL.SEQUENCE_NUM ) = TL.SEQUENCE_NUM AND
NVL ( P.AMOUNT_DUE_REMAINING , 0 ) <> 0 AND
A.CUST_TRX_TYPE_ID = 2526 AND
TYPES.TYPE = 'INV' AND
T.TERM_ID = P.TERM_ID AND
TL.TERM_ID (+) = T.TERM_ID AND
A.PRINTING_PENDING = 'Y' AND
P.TERMS_SEQUENCE_NUMBER > NVL ( A.LAST_PRINTED_SEQUENCE_NUM , 0 ) and 1 = 1 AND
NOT EXISTS ( SELECT 'X' from
ECE_TP_DETAILS ETD ,
ECE_TP_HEADERS ETH
WHERE
ETH.TP_HEADER_ID = A_BILL.TP_HEADER_ID AND
ETD.TP_HEADER_ID = ETH.TP_HEADER_ID AND
ETD.EDI_FLAG = 'Y' AND
ETD.DOCUMENT_ID = 'INO' AND
ETD.DOCUMENT_TYPE = DECODE ( TYPES.TYPE , 'CM' , DECODE ( A.PREVIOUS_CUSTOMER_TRX_ID , NULL , 'OACM' , 'CM' ) , TYPES.TYPE ) ) AND
NVL ( A.PRINTING_OPTION , 'REP' ) IN ( 'PRI' , 'REP' ) AND
T.NAME not like 'PB%' AND 1 = 1 AND
MIT_AR.GE_AR_COAKLEY_ELIGIBLE ( 'NEW' , P.CUSTOMER_TRX_ID , A.ORG_ID ) = 0 AND
A.org_id = TYPES.org_id
ORDER BY 60 ASC,68 ASC,2 ASC,3 ASC,4 ASC,5 ASC,44 ASC
call count cpu elapsed disk query current rows
Parse 1 0.06 0.08 0 364 0 0
Execute 1 5.11 4.98 0 0 0 0
Fetch 18 81.35 1375.73 203636 357435 0 34
total 20 86.52 1380.80 203636 357799 0 34
Misses in library cache during parse: 1
Optimizer mode: ALL_ROWS
Parsing user id: 25
Number of plan statistics captured: 1
Rows (1st) Rows (avg) Rows (max) Row Source Operation
34 34 34 SORT UNIQUE (cr=569992 pr=227554 pw=0 time=1658548772 us)
34 34 34 UNION-ALL (cr=569992 pr=227554 pw=0 time=773822949 us)
34 34 34 FILTER (cr=228022 pr=107808 pw=0 time=773820837 us)
34 34 34 FILTER (cr=228022 pr=107808 pw=0 time=773820394 us)
34 34 34 NESTED LOOPS OUTER (cr=228022 pr=107808 pw=0 time=771070499 us)
34 34 34 NESTED LOOPS (cr=227986 pr=107806 pw=0 time=773799735 us)
34 34 34 NESTED LOOPS (cr=227882 pr=107806 pw=0 time=773742298 us)
34 34 34 NESTED LOOPS (cr=227812 pr=107806 pw=0 time=773688021 us)
34 34 34 NESTED LOOPS (cr=227708 pr=107806 pw=0 time=773636699 us)
34 34 34 FILTER (cr=227638 pr=107806 pw=0 time=773566978 us)
4616 4616 4616 NESTED LOOPS OUTER (cr=220679 pr=106836 pw=0 time=823009777 us)
4610 4610 4610 NESTED LOOPS (cr=206836 pr=102712 pw=0 time=623651066 us)
4610 4610 4610 NESTED LOOPS (cr=188367 pr=96450 pw=0 time=531982352 us)
4610 4610 4610 NESTED LOOPS (cr=179145 pr=96449 pw=0 time=530980660 us)
4610 4610 4610 FILTER (cr=165290 pr=96448 pw=0 time=529149297 us)
4610 4610 4610 NESTED LOOPS OUTER (cr=165290 pr=96448 pw=0 time=530066499 us)
4607 4607 4607 NESTED LOOPS (cr=156074 pr=96442 pw=0 time=762671095 us)
4615 4615 4615 NESTED LOOPS (cr=146842 pr=96441 pw=0 time=751255741 us)
4615 4615 4615 NESTED LOOPS (cr=137610 pr=96435 pw=0 time=751144978 us)
4615 4615 4615 NESTED LOOPS (cr=123763 pr=96435 pw=0 time=750949543 us)
4615 4615 4615 TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_ALL (cr=114531 pr=96435 pw=0 time=750675597 us)
*329687 329687 329687 INDEX RANGE SCAN RA_CUSTOMER_TRX_N17 (cr=6232 pr=6046 pw=0 time=31982795 us)(object id 4788)* 4615 4615 4615 TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_TYPES_ALL (cr=9232 pr=0 pw=0 time=239450 us)
4615 4615 4615 INDEX UNIQUE SCAN RA_CUST_TRX_TYPES_U1 (cr=4617 pr=0 pw=0 time=160139 us)(object id 55731)
4615 4615 4615 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=13847 pr=0 pw=0 time=180337 us)
4615 4615 4615 INDEX UNIQUE SCAN FND_LOOKUP_VALUES_U1 (cr=9232 pr=0 pw=0 time=135717 us)(object id 491822)
4615 4615 4615 TABLE ACCESS BY INDEX ROWID RA_TERMS_B (cr=9232 pr=6 pw=0 time=155074 us)
4615 4615 4615 INDEX UNIQUE SCAN RA_TERMS_B_U1 (cr=4617 pr=0 pw=0 time=60566 us)(object id 55734)
4607 4607 4607 TABLE ACCESS BY INDEX ROWID RA_TERMS_TL (cr=9232 pr=1 pw=0 time=181115 us)
4615 4615 4615 INDEX UNIQUE SCAN RA_TERMS_TL_U1 (cr=4617 pr=1 pw=0 time=82153 us)(object id 55755)
4610 4610 4610 TABLE ACCESS BY INDEX ROWID RA_TERMS_LINES (cr=9216 pr=6 pw=0 time=259864 us)
4610 4610 4610 INDEX RANGE SCAN RA_TERMS_LINES_U1 (cr=4609 pr=1 pw=0 time=104110 us)(object id 6703)
4610 4610 4610 TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=13855 pr=1 pw=0 time=1350357 us)
4610 4610 4610 INDEX UNIQUE SCAN HZ_CUST_SITE_USES_U1 (cr=9222 pr=1 pw=0 time=434079 us)(object id 44870)
4610 4610 4610 TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCT_SITES_ALL (cr=9222 pr=1 pw=0 time=1024466 us)
4610 4610 4610 INDEX UNIQUE SCAN HZ_CUST_ACCT_SITES_U1 (cr=4612 pr=1 pw=0 time=337477 us)(object id 46883)
4610 4610 4610 TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_LINE_GL_DIST_ALL (cr=18469 pr=6262 pw=0 time=86754686 us)
4610 4610 4610 INDEX RANGE SCAN RA_CUST_TRX_LINE_GL_DIST_N6 (cr=13836 pr=4061 pw=0 time=55844483 us)(object id 1510967)
4616 4616 4616 TABLE ACCESS BY INDEX ROWID AR_PAYMENT_SCHEDULES_ALL (cr=13843 pr=4124 pw=0 time=50689789 us)
4616 4616 4616 INDEX RANGE SCAN AR_PAYMENT_SCHEDULES_N2 (cr=9233 pr=1494 pw=0 time=15169412 us)(object id 4877)
34 34 34 TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=70 pr=0 pw=0 time=24450 us)
34 34 34 INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=36 pr=0 pw=0 time=5962 us)(object id 85278)
34 34 34 TABLE ACCESS BY INDEX ROWID HZ_PARTY_SITES (cr=104 pr=0 pw=0 time=58609 us)
34 34 34 INDEX UNIQUE SCAN HZ_PARTY_SITES_U1 (cr=70 pr=0 pw=0 time=31189 us)(object id 45527)
34 34 34 TABLE ACCESS BY INDEX ROWID HZ_LOCATIONS (cr=70 pr=0 pw=0 time=52502 us)
34 34 34 INDEX UNIQUE SCAN HZ_LOCATIONS_U1 (cr=36 pr=0 pw=0 time=23883 us)(object id 45692)
34 34 34 TABLE ACCESS BY INDEX ROWID HZ_PARTIES (cr=104 pr=0 pw=0 time=49042 us)
34 34 34 INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=70 pr=0 pw=0 time=22106 us)(object id 757879)
0 0 0 TABLE ACCESS BY INDEX ROWID AR_ADJUSTMENTS_ALL (cr=36 pr=2 pw=0 time=19638 us)
0 0 0 INDEX RANGE SCAN AR_ADJUSTMENTS_N3 (cr=36 pr=2 pw=0 time=19271 us)(object id 5473)
0 0 0 NESTED LOOPS (cr=0 pr=0 pw=0 time=9 us)
0 0 0 INDEX UNIQUE SCAN ECE_TP_HEADERS_U1 (cr=0 pr=0 pw=0 time=7 us)(object id 46119)
0 0 0 TABLE ACCESS BY INDEX ROWID ECE_TP_DETAILS (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN ECE_TP_DETAILS_U2 (cr=0 pr=0 pw=0 time=0 us)(object id 6271)
0 0 0 FILTER (cr=341970 pr=119746 pw=0 time=883424760 us)
0 0 0 FILTER (cr=341970 pr=119746 pw=0 time=883424758 us)
0 0 0 NESTED LOOPS OUTER (cr=341970 pr=119746 pw=0 time=883424757 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424752 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424749 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424742 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424740 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424735 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424731 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424726 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424724 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424721 us)
0 0 0 NESTED LOOPS (cr=341970 pr=119746 pw=0 time=883424715 us)
34 34 34 NESTED LOOPS (cr=341900 pr=119746 pw=0 time=882400482 us)
4615 4615 4615 NESTED LOOPS (cr=123763 pr=93484 pw=0 time=674293279 us)
4615 4615 4615 TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_ALL (cr=114531 pr=93484 pw=0 time=674030164 us)
329687 329687 329687 INDEX RANGE SCAN RA_CUSTOMER_TRX_N17 (cr=6232 pr=6130 pw=0 time=36621510 us)(object id 4788)
4615 4615 4615 TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_TYPES_ALL (cr=9232 pr=0 pw=0 time=249893 us)
4615 4615 4615 INDEX UNIQUE SCAN RA_CUST_TRX_TYPES_U1 (cr=4617 pr=0 pw=0 time=169485 us)(object id 55731)
34 34 34 TABLE ACCESS BY INDEX ROWID AR_PAYMENT_SCHEDULES_ALL (cr=218137 pr=26262 pw=0 time=310068873 us)
3304 3304 3304 INDEX RANGE SCAN AR_PAYMENT_SCHEDULES_N2 (cr=214841 pr=24355 pw=0 time=283359418 us)(object id 4877)
0 0 0 TABLE ACCESS BY INDEX ROWID RA_TERMS_B (cr=70 pr=0 pw=0 time=829 us)
34 34 34 INDEX UNIQUE SCAN RA_TERMS_B_U1 (cr=36 pr=0 pw=0 time=527 us)(object id 55734)
0 0 0 TABLE ACCESS BY INDEX ROWID HZ_CUST_SITE_USES_ALL (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN HZ_CUST_SITE_USES_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 44870)
0 0 0 TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCT_SITES_ALL (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN HZ_CUST_ACCT_SITES_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 46883)
0 0 0 TABLE ACCESS BY INDEX ROWID HZ_CUST_ACCOUNTS (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN HZ_CUST_ACCOUNTS_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 85278)
0 0 0 TABLE ACCESS BY INDEX ROWID HZ_PARTIES (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN HZ_PARTIES_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 757879)
0 0 0 TABLE ACCESS BY INDEX ROWID HZ_PARTY_SITES (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN HZ_PARTY_SITES_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 45527)
0 0 0 TABLE ACCESS BY INDEX ROWID HZ_LOCATIONS (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN HZ_LOCATIONS_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 45692)
0 0 0 TABLE ACCESS BY INDEX ROWID RA_TERMS_TL (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN RA_TERMS_TL_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 55755)
0 0 0 TABLE ACCESS BY INDEX ROWID RA_TERMS_LINES (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX RANGE SCAN RA_TERMS_LINES_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 6703)
0 0 0 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN FND_LOOKUP_VALUES_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 491822)
0 0 0 TABLE ACCESS BY INDEX ROWID AR_ADJUSTMENTS_ALL (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX RANGE SCAN AR_ADJUSTMENTS_N3 (cr=0 pr=0 pw=0 time=0 us)(object id 5473)
0 0 0 NESTED LOOPS (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN ECE_TP_HEADERS_U1 (cr=0 pr=0 pw=0 time=0 us)(object id 46119)
0 0 0 TABLE ACCESS BY INDEX ROWID ECE_TP_DETAILS (cr=0 pr=0 pw=0 time=0 us)
0 0 0 INDEX UNIQUE SCAN ECE_TP_DETAILS_U2 (cr=0 pr=0 pw=0 time=0 us)(object id 6271)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
row cache lock 6 0.00 0.00
SQL*Net message to client 18 0.00 0.00
SQL*Net more data to client 2 0.00 0.00
gc current block 2-way 5375 0.02 3.76
gc cr grant 2-way 49175 0.05 24.09
db file sequential read 203636 0.51 1289.70
gcs drm freeze in enter server mode 7 0.28 1.30
latch: KCL gc element parent latch 4 0.00 0.00
gc remaster 2 0.07 0.12
latch: gcs resource hash 26 0.00 0.00
latch free 1 0.00 0.00
gc cr block 2-way 9 0.00 0.00
latch: cache buffers chains 1 0.00 0.00
SQL*Net message from client 18 0.00 0.00
Thanks in Advance..Hi,
it looks like your problem stems from the wrong choice of the driving table:
4615 4615 4615 NESTED LOOPS (cr=123763 pr=96435 pw=0 time=750949543 us)
4615 4615 4615 TABLE ACCESS BY INDEX ROWID RA_CUSTOMER_TRX_ALL (cr=114531 pr=96435 pw=0 time=750675597 us)
329687 329687 329687 INDEX RANGE SCAN RA_CUSTOMER_TRX_N17 (cr=6232 pr=6046 pw=0 time=31982795 us)(object id 4788) 4615 4615 4615 TABLE ACCESS BY INDEX ROWID RA_CUST_TRX_TYPES_ALL (cr=9232 pr=0 pw=0 time=239450 us)
4615 4615 4615 INDEX UNIQUE SCAN RA_CUST_TRX_TYPES_U1 (cr=4617 pr=0 pw=0 time=160139 us)(object id 55731)
4615 4615 4615 TABLE ACCESS BY INDEX ROWID FND_LOOKUP_VALUES (cr=13847 pr=0 pw=0 time=180337 us)Here, you are spending 750 seconds retriveing 329k rows, 98% of which are rejected on the next step. And the reason this is happening is because the optimizer underestimates the cardinatlity of this step by a factor of x50 (6.2k estimated, 329k actual value). Find out why this is happening or post relevant diagnostic information here (predicates, columns stats etc.), and fix this -- this should make your query twice as fast.
The second half is coming from the SORT UNIQUE step. This looks weird: why on Earth it would take over 800 seconds to sort 34 rows?! Maybe there is something in the plan that I'm missing -- it's really hard to read because it's not formatted. Please obtain a plan with rowsource stats using dbms_xplan.display_cursor and post it here (google dbms_xplan.display_cursor allstats last if not sure how to do that).
Best regards,
Nikolay -
Automatic Parallelism causes Merge statement to take longer.
We have a problem in a new project as part of the ETL load into the Oracle datawarehouse we perform a merge statement to update rows in a global temporary table then load
the results into a permanant table, when testing with automatic parallel execution enabled the plan changes and the merge never finishes and consumes vast amounts of resources.
The database version is:-
Database version :11.2.0.3
OS: redhat 64bit
three node rac 20 cores per node
when executing serially the query response is typically similar to the following:
MERGE /*+ gather_plan_statistics no_parallel */ INTO T_GTTCHARGEVALUES USING
(SELECT
CASTACCOUNTID,
CHARGESCHEME,
MAX(CUMULATIVEVALUE) AS MAXMONTHVALUE,
MAX(CUMULATIVECOUNT) AS MAXMONTHCOUNT
FROM
V_CACHARGESALL
WHERE
CHARGEDATE >= TRUNC(TO_DATE(:B1,'YYYY-MM-DD'),'MM')
AND CHARGEDATE < TO_DATE(:B1,'YYYY-MM-DD')
GROUP BY
CASTACCOUNTID,
CHARGESCHEME
HAVING MAX(CUMULATIVECOUNT) IS NOT NULL ) MTOTAL
ON
(T_GTTCHARGEVALUES.CASTACCOUNTID=MTOTAL.CASTACCOUNTID AND
T_GTTCHARGEVALUES.CHARGESCHEME=MTOTAL.CHARGESCHEME)
WHEN MATCHED
THEN UPDATE SET
CUMULATIVEVALUE=CUMULATIVEVALUE+MTOTAL.MAXMONTHVALUE ,
CUMULATIVECOUNT=CUMULATIVECOUNT+MTOTAL.MAXMONTHCOUNT;
1448340 rows merged.
select * from table(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | OMem | 1Mem | Used-Mem |
| 0 | MERGE STATEMENT | | 1 | | 0 |00:03:08.43 | 2095K| 186K| | | |
| 1 | MERGE | T_GTTCHARGEVALUES | 1 | | 0 |00:03:08.43 | 2095K| 186K| | | |
| 2 | VIEW | | 1 | | 1448K|00:02:53.14 | 619K| 177K| | | |
|* 3 | HASH JOIN | | 1 | 1 | 1448K|00:02:52.70 | 619K| 177K| 812K| 812K| 1218K (0)|
| 4 | VIEW | | 1 | 1 | 203 |00:02:51.26 | 608K| 177K| | | |
|* 5 | FILTER | | 1 | | 203 |00:02:51.26 | 608K| 177K| | | |
| 6 | SORT GROUP BY | | 1 | 1 | 480 |00:02:51.26 | 608K| 177K| 73728 | 73728 | |
|* 7 | FILTER | | 1 | | 21M|00:02:56.04 | 608K| 177K| | | |
| 8 | PARTITION RANGE ITERATOR| | 1 | 392K| 21M|00:02:51.32 | 608K| 177K| | | |
|* 9 | TABLE ACCESS FULL | T_CACHARGES | 24 | 392K| 21M|00:02:47.48 | 608K| 177K| | | |
| 10 | TABLE ACCESS FULL | T_GTTCHARGEVALUES | 1 | 1451K| 1451K|00:00:00.48 | 10980 | 0 | | | |
Predicate Information (identified by operation id):
3 - access("T_GTTCHARGEVALUES"."CASTACCOUNTID"="MTOTAL"."CASTACCOUNTID" AND "T_GTTCHARGEVALUES"."CHARGESCHEME"="MTOTAL"."CHARGESCHEME")
5 - filter(MAX("CUMULATIVECOUNT") IS NOT NULL)
7 - filter(TRUNC(TO_DATE(:B1,'YYYY-MM-DD'),'fmmm')<TO_DATE(:B1,'YYYY-MM-DD'))
9 - filter(("LOGICALLYDELETED"=0 AND "CHARGEDATE">=TRUNC(TO_DATE(:B1,'YYYY-MM-DD'),'fmmm') AND "CHARGEDATE"<TO_DATE(:B1,'YYYY-MM-DD')))removing the no_parallel hint results in the following, (this is pulled from the sql monitoring report and editied to remove the lines relating to individual parallel servers)
I understand that the query is considered for parallel execution due to the estimated length of time it will run for and although the degree of parallleism seems excessive
it is the default maximum for the server configuration, what we are tryig to understand is which statistics could be inacurate or missing and could cause this kind of problem.
In this case we can add the no_parallel hint in the etl package as a workaround but would really liek to identify the root cause to avoid similar problems elsewhere.
SQL Monitoring Report
SQL Text
MERGE INTO T_GTTCHARGEVALUES USING (SELECT CASTACCOUNTID, CHARGESCHEME, MAX(CUMULATIVEVALUE) AS MAXMONTHVALUE,
MAX(CUMULATIVECOUNT) AS MAXMONTHCOUNT FROM V_CACHARGESALL WHERE CHARGEDATE >= TRUNC(TO_DATE(:B1,'YYYY-MM-DD'),'MM')
AND CHARGEDATE < to_date(:B1,'YYYY-MM-DD')
GROUP BY CASTACCOUNTID, CHARGESCHEME HAVING MAX(CUMULATIVECOUNT) IS NOT NULL ) MTOTAL
ON (T_GTTCHARGEVALUES.CASTACCOUNTID=MTOTAL.CASTACCOUNTID AND
T_GTTCHARGEVALUES.CHARGESCHEME=MTOTAL.CHARGESCHEME) WHEN MATCHED THEN UPDATE SET
CUMULATIVEVALUE=CUMULATIVEVALUE+MTOTAL.MAXMONTHVALUE ,
CUMULATIVECOUNT=CUMULATIVECOUNT+MTOTAL.MAXMONTHCOUNT
Error: ORA-1013
ORA-01013: user requested cancel of current operation
Global Information
Status : DONE (ERROR)
Instance ID : 1
Session : XXXX(2815:12369)
SQL ID : 70kzttjbyyspt
SQL Execution ID : 16777216
Execution Started : 04/27/2012 09:43:27
First Refresh Time : 04/27/2012 09:43:27
Last Refresh Time : 04/27/2012 09:48:43
Duration : 316s
Module/Action : SQL*Plus/-
Service : SYS$USERS
Program : sqlplus@XXXX (TNS V1-V3)
Binds
========================================================================================================================
| Name | Position | Type | Value |
========================================================================================================================
| :B1 | 1 | VARCHAR2(32) | 2012-04-25 |
========================================================================================================================
Global Stats
====================================================================================================================
| Elapsed | Queuing | Cpu | IO | Application | Concurrency | Cluster | Other | Buffer | Read | Read |
| Time(s) | Time(s) | Time(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Waits(s) | Gets | Reqs | Bytes |
====================================================================================================================
| 7555 | 0.00 | 4290 | 2812 | 0.08 | 27 | 183 | 243 | 3M | 294K | 7GB |
====================================================================================================================
SQL Plan Monitoring Details (Plan Hash Value=323941584)
==========================================================================================================================================================================================================
| Id | Operation | Name | Rows | Cost | Time | Start | Execs | Rows | Read | Read | Mem | Activity | Activity Detail |
| | | | (Estim) | | Active(s) | Active | | (Actual) | Reqs | Bytes | (Max) | (%) | (# samples) |
==========================================================================================================================================================================================================
| 0 | MERGE STATEMENT | | | | | | 1 | | | | | | |
| 1 | MERGE | T_GTTCHARGEVALUES | | | | | 1 | | | | | | |
| 2 | PX COORDINATOR | | | | 57 | +1 | 481 | 0 | 317 | 5MB | | 4.05 | latch: shared pool (40) |
| | | | | | | | | | | | | | os thread startup (17) |
| | | | | | | | | | | | | | Cpu (7) |
| | | | | | | | | | | | | | DFS lock handle (36) |
| | | | | | | | | | | | | | SGA: allocation forcing component growth (14) |
| | | | | | | | | | | | | | latch: parallel query alloc buffer (200) |
| 3 | PX SEND QC (RANDOM) | :TQ10003 | 1 | 19054 | | | | | | | | | |
| 4 | VIEW | | | | | | | | | | | | |
| 5 | FILTER | | | | | | | | | | | | |
| 6 | SORT GROUP BY | | 1 | 19054 | | | | | | | | | |
| 7 | PX RECEIVE | | 1 | 19054 | | | | | | | | | |
| 8 | PX SEND HASH | :TQ10002 | 1 | 19054 | | | 240 | | | | | | |
| 9 | SORT GROUP BY | | 1 | 19054 | 246 | +70 | 240 | 0 | | | 228M | 49.32 | Cpu (3821) |
| 10 | FILTER | | | | 245 | +71 | 240 | 3G | | | | 0.08 | Cpu (6) |
| 11 | HASH JOIN | | 1 | 19054 | 259 | +57 | 240 | 3G | | | 276M | 4.31 | Cpu (334) |
| 12 | PX RECEIVE | | 1M | 5 | 259 | +57 | 240 | 1M | | | | 0.04 | Cpu (3) |
| 13 | PX SEND HASH | :TQ10000 | 1M | 5 | 6 | +56 | 240 | 1M | | | | 0.01 | Cpu (1) |
| 14 | PX BLOCK ITERATOR | | 1M | 5 | 6 | +56 | 240 | 1M | | | | 0.03 | Cpu (1) |
| | | | | | | | | | | | | | PX Deq: reap credit (1) |
| 15 | TABLE ACCESS FULL | T_GTTCHARGEVALUES | 1M | 5 | 7 | +55 | 5486 | 1M | 5487 | 86MB | | 2.31 | gc cr grant 2-way (3) |
| | | | | | | | | | | | | | gc current block lost (7) |
| | | | | | | | | | | | | | Cpu (7) |
| | | | | | | | | | | | | | db file sequential read (162) |
| 16 | PX RECEIVE | | 78M | 19047 | 255 | +61 | 240 | 801K | | | | 0.03 | IPC send completion sync (2) |
| 17 | PX SEND HASH | :TQ10001 | 78M | 19047 | 250 | +66 | 240 | 3M | | | | 0.06 | Cpu (5) |
| 18 | PX BLOCK ITERATOR | | 78M | 19047 | 250 | +66 | 240 | 4M | | | | | |
| 19 | TABLE ACCESS FULL | T_CACHARGES | 78M | 19047 | 254 | +62 | 1016 | 4M | 288K | 6GB | | 37.69 | gc buffer busy acquire (104) |
| | | | | | | | | | | | | | gc cr block 2-way (1) |
| | | | | | | | | | | | | | gc cr block lost (9) |
| | | | | | | | | | | | | | gc cr grant 2-way (14) |
| | | | | | | | | | | | | | gc cr multi block request (1) |
| | | | | | | | | | | | | | gc current block 2-way (3) |
| | | | | | | | | | | | | | gc current block 3-way (2) |
| | | | | | | | | | | | | | gc current block busy (1) |
| | | | | | | | | | | | | | gc current grant busy (2) |
| | | | | | | | | | | | | | Cpu (58) |
| | | | | | | | | | | | | | latch: gc element (1) |
| | | | | | | | | | | | | | db file parallel read (26) |
| | | | | | | | | | | | | | db file scattered read (207) |
| | | | | | | | | | | | | | db file sequential read (2433) |
| | | | | | | | | | | | | | direct path read (1) |
| | | | | | | | | | | | | | read by other session (57) |
==========================================================================================================================================================================================================
Parallel Execution Details (DOP=240 , Servers Allocated=480)
Instances : 3chris_c wrote:
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | OMem | 1Mem | Used-Mem |
|* 9 | TABLE ACCESS FULL | T_CACHARGES | 24 | 392K| 21M|00:02:47.48 | 608K| 177K| | | |
Based on the discrepancy between the estimated number of rows and the actual, and the below posted bind value of 2012-04-25 i'd first be checking if the statistics on T_CACHARGES are up to date.
As a reference
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4399338600346902127
So that would be my first avenue of exploration.
Cheers, -
How unhealthy is this RAC?
Here's is the contents of v$system_event..
Is this
EVENT TOTAL_WAITS TIME_WAITED AVERAGE_WAIT
enq: TX - index contention 40564851 214701526 5.29
enq: TX - row lock contention 188846 12454614 65.95
enq: SQ - contention 141971 70568 0.5
cause for concern?
EVENT TOTAL_WAITS TIME_WAITED AVERAGE_WAIT
SQL*Net message to client 6015051449 607254 0
SQL*Net message from client 6015048542 178177969892 29.62
gcs remote message 2948555287 2633481757 0.89
CGS wait for IPC msg 1517805027 634397 0
db file sequential read 1500615188 816364485 0.54
ges remote message 1247679701 1407300224 1.13
gc cr multi block request 778432813 9913464 0.01
gc current block 2-way 747852637 38030616 0.05
db file scattered read 709428365 460939295 0.65
rdbms ipc message 708473316 37650068633 53.14
gc buffer busy acquire 671285134 1033621285 1.54
PX Deq: reap credit 667784615 484449 0
gcs log flush sync 592376026 171712257 0.29
gc cr block 2-way 530861847 19607062 0.04
library cache pin 437937120 15126237 0.03
log file sync 379523272 797193932 2.1
DIAG idle wait 359607166 2822108755 7.85
log file parallel write 351225436 259263769 0.74
LNS ASYNC end of log 350170653 1398410516 3.99
LNS wait on SENDREQ 321652621 3209301 0.01
PX qref latch 297396661 94308 0
read by other session 289140108 148440270 0.51
buffer deadlock 163505781 983055 0.01
gc current block busy 119223825 467716658 3.92
PX Deq: Table Q Normal 117332841 23574867 0.2
ksxr poll remote instances 110480324 90333 0
buffer busy waits 106938153 19933900 0.19
direct path read 93429599 108427028 1.16
SQL*Net more data from client 86471785 23026529 0.27
gc current grant busy 84978157 28215346 0.33
control file sequential read 82646297 23694583 0.29
PX Deq Credit: send blkd 78641669 9569299 0.12
latch: cache buffers chains 74218671 690277 0.01
gc current grant 2-way 72557796 1920419 0.03
library cache: mutex X 71106697 75993 0
DFS lock handle 70722498 2716407 0.04
gc cr grant 2-way 64558237 1633004 0.03
PX Deq: Execution Msg 61706261 314222076 5.09
gc cr block busy 61469863 119850802 1.95
library cache lock 52428649 3773354 0.07
PX Deq: Slave Session Stats 48040224 1886805 0.04
db file parallel read 46415188 118467902 2.55
IPC send completion sync 46250594 965101 0.02
enq: TX - index contention 40564851 214701526 5.29
PX Deq: Execute Reply 39689685 17243721 0.43
gc buffer busy release 36976909 242714774 6.56
SQL*Net more data to client 36627952 44167 0
PX Deq: Msg Fragment 30501244 343397 0.01
rdbms ipc reply 29725302 1352370 0.05
RMAN backup & recovery I/O 28824547 37722662 1.31
reliable message 27892263 3082134 0.11
PX Idle Wait 27356097 4651277341 170.03
ASM file metadata operation 25098749 8850323 0.35
gc object scan 22705857 7485 0
db file parallel write 19896252 52152606 2.62
latch: ges resource hash list 19336183 427451 0.02
enq: PS - contention 19143961 707455 0.04
PX Deq: Parse Reply 19093356 895799 0.05
gc cr disk read 17816846 448909 0.03
ASM background timer 16101806 1383957874 85.95
PX Deq: Slave Join Frag 16044789 233149 0.01
wait for unread message on broadcast channel 15056320 1413552546 93.88
cursor: mutex X 13435193 24140 0
KJC: Wait for msg sends to complete 13268497 11397 0
PX Deq: Signal ACK RSG 13214824 101941 0.01
KSV master wait 13206286 4235645 0.32
direct path read temp 12617694 5487608 0.43
PX Deq Credit: need buffer 11675868 879967 0.08
row cache lock 11536185 398216 0.03
PX Deq Credit: Session Stats 9480862 78910 0.01
SQL*Net message to dblink 9312894 1538 0
SQL*Net message from dblink 9312894 6279631 0.67
control file parallel write 7760982 11854435 1.53
pmon timer 7558889 1412576090 186.88
PX Deq: Join ACK 7548816 498931 0.07
gc current multi block request 6035173 155898 0.03
PING 5706961 1413230267 247.63
enq: XR - database force logging 4662671 198813 0.04
class slave wait 4561877 7097429006 1555.81
Streams AQ: waiting for messages in the queue 4495828 1543411682 343.3
SQL*Net more data from dblink 3696582 444575 0.12
LGWR wait for redo copy 3655353 17840 0
log file sequential read 3387305 6610414 1.95
Log archive I/O 2990486 276772 0.09
SQL*Net break/reset to client 2971976 2385935 0.8
direct path write temp 2839390 2522114 0.89
Space Manager: slave idle wait 2827526 1412987186 499.73
latch: shared pool 2808517 298150 0.11
latch: gc element 2421717 24688 0.01
SGA: MMAN sleep for component shrink 2336447 2458094 1.05
latch: enqueue hash chains 2279645 15435 0.01
latch free 2089418 78732 0.04
gc current split 2044784 1864009 0.91
PX Deq: Signal ACK EXT 1976164 19263 0.01
enq: FB - contention 1473469 61036 0.04
cursor: pin S wait on X 1313129 1464789 1.12
SQL*Net more data to dblink 1232891 986 0
Streams AQ: RAC qmn coordinator idle wait 1211300 788 0
enq: HW - contention 1175390 2077008 1.77
latch: session allocation 1167768 21883 0.02
Streams AQ: qmn coordinator idle wait 1144699 1412546634 1233.99
Streams AQ: qmn slave idle wait 1031585 2227183681 2158.99
lock deadlock retry 962937 4698 0
enq: CF - contention 956154 609647 0.64
latch: cache buffers lru chain 902764 37552 0.04
latch: object queue header operation 817911 27717 0.03
global enqueue expand wait 768633 654105 0.85
Data file init write 756191 329758 0.44
latch: gcs resource hash 647021 4147 0.01
local write wait 603007 286191 0.47
latch: row cache objects 599358 6453 0.01
ges lmd/lmses to freeze in rcfg - mrcvr 481759 156345 0.32
shared server idle wait 471190 1413238589 2999.3
enq: RF - DG Broker Current File ID 469833 23209 0.05
smon timer 432383 1411851085 3265.28
SGA: allocation forcing component growth 363333 379008 1.04
gc current retry 341104 1121252 3.29
enq: RF - synch: DG Broker metadata 319143 588290 1.84
enq: PG - contention 313659 14830 0.05
enq: TT - contention 260134 11207172 43.08
enq: KO - fast object checkpoint 236745 820808 3.47
dispatcher timer 236637 1413242481 5972.2
direct path write 231382 191008 0.83
cursor: pin S 229011 394 0
Streams AQ: waiting for time management or cleanup tasks 199981 1413148548 7066.41
enq: TX - row lock contention 188846 12454614 65.95
enq: TX - allocate ITL entry 153703 54252 0.35
enq: SQ - contention 141971 70568 0.5
ksdxexeother 141885 56 0
latch: redo allocation 138912 1858 0.01
recovery area: computing applied logs 126415 45925 0.36
gc current block congested 126318 21768 0.17
resmgr:cpu quantum 123074 151384 1.23
jobq slave wait 120678 35574221 294.79
Datapump dump file I/O 90431 9127 0.1
ges inquiry response 89402 4041 0.05
os thread startup 83809 222586 2.66
cr request retry 80062 71896 0.9
PX Deq: Table Q Sample 79665 133402 1.67
gc cr block congested 79026 14792 0.19
gc cr failure 77521 25019 0.32
enq: WF - contention 73983 825388 11.16
enq: TQ - TM contention 72871 3319 0.05
lock escalate retry 65714 1574 0.02
buffer exterminate 59775 64919 1.09
fbar timer 47136 1413183353 29980.98
log file switch completion 46911 452097 9.64
recovery area: computing obsolete files 45699 8547 0.19
enq: US - contention 40401 8805 0.22
enq: TM - contention 39149 5435032 138.83
library cache load lock 36311 382575 10.54
kjbdrmcvtq lmon drm quiesce: ping completion 31668 47443 1.5
enq: TD - KTF dump entries 31468 1424 0.05
enq: RO - fast object reuse 28422 31772 1.12
parallel recovery slave wait for change 27558 3163 0.11
name-service call wait 23694 181533 7.66
control file single write 22375 1624 0.07
kksfbc child completion 21239 106926 5.03
PX Deq: Table Q qref 19325 245 0.01
enq: TX - contention 18805 113253 6.02
latch: messages 17203 181 0.01
enq: RS - prevent file delete 16913 1013 0.06
enq: RS - prevent aging list update 15682 642 0.04
PX Deq: Table Q Get Keys 14322 42935 3
gc current grant congested 14292 2192 0.15
cursor: mutex S 13285 8 0
log file single write 13164 5371 0.41
latch: undo global data 12649 178 0.01
kksfbc research 11894 12680 1.07
parallel recovery slave idle wait 11193 5872 0.52
wait list latch free 11026 11794 1.07
enq: CT - state 11001 417 0.04
latch: checkpoint queue latch 10526 132 0.01
enq: PE - contention 10506 1139 0.11
ARCH wait on SENDREQ 9957 216480 21.74
gc cr grant congested 9465 1584 0.17
wait for scn ack 9377 3155 0.34
enq: TA - contention 8856 324 0.04
log buffer space 8777 89323 10.18
enq: TK - Auto Task Serialization 8542 343 0.04
enq: DR - contention 7842 323 0.04
process diagnostic dump 7707 2072 0.27
JOX Jit Process Sleep 7612 11286431 1482.72
enq: TC - contention 7357 340817 46.33
ges global resource directory to be frozen 7140 12299 1.72
enq: CO - master slave det 6850 312 0.05
enq: JS - job run lock - synchronize 6704 397 0.06
gcs drm freeze in enter server mode 6542 40742 6.23
enq: TS - contention 5959 89332 14.99
ARCH wait for archivelog lock 5600 36 0.01
PX Nsq: PQ load info query 5377 104798 19.49
db file single write 5373 3452 0.64
gc remaster 5315 50625 9.52
latch: parallel query alloc buffer 4939 1906 0.39
enq: TO - contention 4799 143 0.03
enq: AF - task serialization 4395 161 0.04
enq: PI - contention 4251 163 0.04
ges2 LMON to wake up LMD - mrcvr 4210 28 0.01
enq: DL - contention 3889 239 0.06
kjctssqmg: quick message send wait 3408 22 0.01
LNS wait on DETACH 3275 741 0.23
ksfd: async disk IO 3274 1 0
LNS wait on ATTACH 3273 51940 15.87
ARCH wait on DETACH 3231 714 0.22
ARCH wait on ATTACH 3226 43238 13.4
enq: BR - file shrink 2787 116 0.04
write complete waits 2631 1070 0.41
enq: MD - contention 2596 67 0.03
enq: WL - contention 2198 266518 121.25
single-task message 2098 25896 12.34
enq: OD - Serializing DDLs 2054 66 0.03
resmgr:internal state change 2001 14735 7.36
ARCH wait on c/f tx acquire 2 1751 175230 100.07
enq: WR - contention 1636 69 0.04
latch: cache buffer handles 1610 29 0.02
statement suspended, wait error to be cleared 1497 22626 15.11
Streams AQ: qmn coordinator waiting for slave to start 1214 678966 559.28
enq: PD - contention 1182 33 0.03
JS kgl get object wait 1096 4922 4.49
undo segment extension 1070 10065 9.41
PL/SQL lock timer 949 8739819 9209.5
enq: AE - lock 937 28 0.03
LGWR-LNS wait on channel 832 913 1.1
ges DFS hang analysis phase 2 acks 816 495 0.61
latch: redo writing 729 9 0.01
gc quiesce 665 564 0.85
enq: JS - queue lock 482 2111 4.38
PX Deq: Test for credit 442 13 0.03
enq: SS - contention 386 274 0.71
recovery area: computing dropped files 328 1400 4.27
recovery area: computing backed up files 328 496 1.51
ksdxexeotherwait 279 10592 37.97
log switch/archive 250 137570 550.28
gc domain validation 223 39964 179.21
auto-sqltune: wait graph update 195 96514 494.95
wait for a undo record 170 1214 7.14
parallel recovery coord send blocked 168 4 0.02
enq: JS - wdw op 168 3741 22.27
enq: KT - contention 165 5 0.03
switch logfile command 156 6290 40.32
gcs resource directory to be unfrozen 149 12839 86.17
Data Guard Broker Wait 139 10906 78.46
enq: SK - contention 129 4 0.03
enq: JS - job recov lock 128 4 0.03
gc cr block lost 125 6772 54.17
virtual circuit wait 122 3 0.03
ges LMON to get to FTDONE 100 187 1.87
enq: CU - contention 80 242 3.02
enq: JQ - contention 78 7 0.09
cursor: pin X 73 83 1.14
parallel recovery coord wait for reply 70 510 7.29
PX Deq: Txn Recovery Start 67 3436 51.29
SQL*Net break/reset to dblink 60 0 0
gc current block lost 57 2869 50.33
ges LMD suspend for testing event 51 709 13.89
inactive session 46 4550 98.91
recovery read 45 5 0.11
JS kill job wait 41 3548 86.53
enq: AS - service activation 40 1 0.03
enq: TL - contention 35 2 0.05
enq: UL - contention 34 524 15.42
gcs enter server mode 33 1559 47.24
wait for stopper event to be increased 30 218 7.27
enq: TQ - DDL contention 24 300 12.52
enq: MR - contention 21 1 0.03
ges reconfiguration to start 20 54 2.72
ges enter server mode 20 502 25.08
buffer latch 18 1337 74.26
enq: SR - contention 18 1 0.05
Streams: RAC waiting for inter instance ack 18 3748 208.21
enq: PR - contention 17 46 2.72
kupp process wait 16 166 10.39
checkpoint completed 15 3678 245.19
PX Deque wait 14 68 4.87
enq: BF - allocation contention 14 1 0.08
enq: XL - fault extent map 14 51 3.66
enq: FU - contention 14 17 1.18
enq: TH - metric threshold evaluation 13 114 8.78
enq: MW - contention 12 0 0.04
enq: DD - contention 10 0 0.04
process terminate 8 41 5.08
ges cgs registration 8 151 18.9
buffer resize 7 0 0
ktm: instance recovery 7 698 99.66
LNS wait on LGWR 6 0 0
ASM background starting 6 381 63.43
gc cr block 3-way 5 0 0.08
enq: PV - syncstart 5 9 1.74
Global transaction acquire instance locks 4 4 1.09
enq: RS - read alert level 4 0 0.04
LGWR wait on LNS 3 0 0
gc recovery 3 540 179.85
Streams AQ: enqueue blocked on low memory 3 544 181.2
DBWR range invalidation sync 3 17 5.83
enq: DM - contention 3 0 0.03
enq: RF - FSFO Observer Heartbeat 3 0 0.03
enq: JS - q mem clnup lck 3 0 0
DG Broker configuration file I/O 2 0 0
enq: RC - Result Cache: Contention 2 493 246.6
enq: KM - contention 2 0 0.03
enq: RT - contention 2 0 0.04
instance state change 2 0 0.12
kkdlgon 2 10 5.11
enq: TQ - INI contention 2 292 146.07
enq: JS - contention 2 0 0
ARCH wait for netserver start 1 400 400.02
log file switch (checkpoint incomplete) 1 3 3.44
JS coord start wait 1 50 50.09
ges lmd and pmon to attach 1 1 1.26
wait for tmc2 to complete 1 3 3.03
control file heartbeat 1 400 400.02
enq: SW - contention 1 0 0.04
enq: PW - perwarm status in dbw0 1 0 0.09
enq: FS - contention 1 0 0.04
enq: XR - quiesce database 1 0 0.04
enq: RS - write alert level 1 0 0.02
enq: CN - race with init 1 0 0.03
enq: FE - contention 1 4 3.77
Wait for shrink lock2 1 10 10.03
enq: IA - contention 1 0 0.02
enq: RF - atomicity 1 0 0.05
enq: RF - synchronization: aifo master 1 0 0.02
enq: RF - RF - Database Automatic Disable 1 0 0.06
enq: WP - contention 1 0 0.02
enq: TB - SQL Tuning Base Cache Load 1 0 0.05
enq: JS - evt notify 1 0 0.02Edited by: steffi on Mar 20, 2011 12:21 AM
Edited by: steffi on Mar 20, 2011 8:18 AM
Edited by: steffi on Mar 20, 2011 8:19 AMText can be formatted by tagging the beginning and end of the block of text with the code ta
\Formatted text goes here.
\Example:
This is formatted.When cutting and pasting text such as execution plans, excerpts from AWR reports, etc, it will maintain spacing and formatting, and make for much easier reading.
As to the content, well, dumping the contents of v$system_event is pretty close to useless.
As to the first three events you listed, 'enq: TX - index contention', 'enq: TX - row lock contention', 'enq: SQ - contention', well, all of those are easily tunable.
First, for 'enq: SQ - contention', check your sequences. Do you have any NOCACHE sequences? Or sequences with small caches?
As for 'enq: TX - row lock contention', well that's fairly self-explanatory. You have multiple sessions trying to lock the same row in the same table at the same time.
Last, 'enq: TX - index contention', that's non-row level contention on an index. For example, if you have a unique index, insert a row w/ column value 1, but don't commit, then try to insert that same value from another session.
But, before you do any of that, I think you need to clearly understand where the bottlenecks are. Try taking some AWR snapshots, about 5 minutes apart, when you're having performance problems. Look at the AWR report for that 5 minute period. In particular, look at your Top 5 timed events.
Hope that helps,
-Mark
Maybe you are looking for
-
This is the second major problem I have had with this phone (first was the SIM card issue where I had no service because the software of the phone wouldn't read the SIM card, has been fixed by an update I downloaded in December). I really would like
-
Windows Server 2008r2 Printer Sharing
Hi folks, I have a Windows Server 2008r2 set up as my workstation and I'd like to share the printer with my wife's MacBook. I've set up Printing Services on WS2008r2 and enabled IPP, LPD and everything else I could think of. The printer sharing works
-
That's the maximum disk size or volume size supported? Thanks for any insights.
-
Hello everybody, I could able to see a 5 part series of ABAP Objects by the author Thomas Jung in the e-laerning. The duration of each part is 1 hour. But when I run the video,it runs for only 10 minutes. Does anybody where to find the full version ?
-
Spry Horizontal Menu - Need Submenu HELP!
Using DW CS3 - Spry v. 1.6.1 I've created a horizontal menu with drop down submenus. After many hours, I finally figured out how to change the background of the main menu items, but cannot for the life of me figure out how to style the submenus witho