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,
Vijay

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,
Vijay

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 PM

    Hi;
    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 remaster waits

    Hi,
    my db version is 10.2.0.5
    i have these waits high in 5 minutes period in 2 node rac cluster.
    what may be the reason.
    Is there a workaround.
    Thanks,

    Here is the AWR report :
    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Release     RAC Host       
    XXXXXXX       985096646 YYYYYY             1 10.2.0.5.0  YES ZZZZZZ  
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     60910 02-Aug-11 10:00:15       511      12.5
      End Snap:     60912 02-Aug-11 11:00:11       496       9.3
       Elapsed:               59.93 (mins)
       DB Time:              658.65 (mins)
    Cache Sizes
    ~~~~~~~~~~~                       Begin        End
                   Buffer Cache:    75,136M    75,136M  Std Block Size:         8K
               Shared Pool Size:     6,720M     6,720M      Log Buffer:    14,176K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:            199,638.95              4,481.69
                  Logical reads:            111,069.18              2,493.39
                  Block changes:              1,139.51                 25.58
                 Physical reads:              4,477.47                100.51
                Physical writes:                200.85                  4.51
                     User calls:              1,681.64                 37.75
                         Parses:                295.75                  6.64
                    Hard parses:                 18.27                  0.41
                          Sorts:                229.12                  5.14
                         Logons:                  3.70                  0.08
                       Executes:                723.08                 16.23
                   Transactions:                 44.55
      % Blocks changed per Read:    1.03    Recursive Call %:    58.29
    Rollback per transaction %:    0.12       Rows per Sort:   662.19
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:   99.99       Redo NoWait %:  100.00
                Buffer  Hit   %:   98.72    In-memory Sort %:  100.00
                Library Hit   %:   94.36        Soft Parse %:   93.82
             Execute to Parse %:   59.10         Latch Hit %:   99.80
    Parse CPU to Parse Elapsd %:   24.11     % Non-Parse CPU:   91.61
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   57.92   57.86
        % SQL with executions>1:   74.08   77.89
      % Memory for SQL w/exec>1:   68.45   68.87
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    db file sequential read           2,180,370       8,450      4   21.4   User I/O
    CPU time                                          5,562          14.1          
    gc current block 2-way            1,368,857       4,049      3   10.2    Cluster
    gc remaster                           1,606       2,776   1728    7.0    Cluster
    gc cr block 2-way                   312,527       1,615      5    4.1    Cluster
              -------------------------------------------------------------      

  • Gc current block 2-way wait evet p1, p2, p3 values

    Anybody knows what p1, p2 and p3 columns for "gc current block 2-way" wait event correspond to ? I found only a blog at following link in which it is assumed that these are file/block information. p1text, p2text and p3text are null for this event.
    http://berxblog.blogspot.com/2008/08/gc-current-block-2-way-p1p2p3.html
    regards,
    erkan

    ok i solved my problem... The answer is almost yes...
    SQL >select count(*) from dba_hist_active_sess_history where snap_id between 26425 and 26434 and wait_class = 'Cluster' and event='gc current block 2-way';
    COUNT(*)
    100
    1 row selected.
    Elapsed: 00:00:00.01
    SQL >select count(*) from dba_hist_active_sess_history
    2 where
    3 snap_id between 26425 and 26434 and
    4 wait_class = 'Cluster' and
    5 event='gc current block 2-way' and
    6 (p1 <> current_file# or p2 <> current_block#);
    COUNT(*)
    2
    1 row selected.
    Elapsed: 00:00:00.00

  • Is there a way to block Firefox from closing while files are downloading? I don't want to accidentally quit the program and cut off current downloads.

    Basically, I was downloading a game from Game Agent and I accidentally quit Firefox. This stopped the download and I was not allowed to resume it, forcing me to spend $30 to buy the same game AGAIN to get a new download file. Is there a way to add a warning box to Firefox that says something like: "Are you sure you want to quit Firefox? Files are downloading" when I try to quit?

    Untested, but according to http://www.phil.im/2011/04/27/how-to-enable-firefox-download-warning-on-quit/ set browser.download.manager.quitBehavior to 2 in about:config

  • How to find icon position of currently executed VI on caller's block diagram

    Dear forum,
    I currently try to use a LabVIEV VI as a simple sequencer: Several (very slow) actions have to execute one after another. Each action is represented by a Sub-VI, some actions are executed several times. My task is to visualize the currently executed Sub-VI somehow.
    My first intention (simply manipulate the icon of the currently running VI with "VI Icon.Get as Image Data" / "VI Icon.Set from Image Data" invoke nodes) failed, because this changes the icon of ALL instances of this VI; if you use the same VI several times, the icons of all these VI are changed (see here: http://forums.ni.com/t5/LabVIEW/How-to-change-animate-icon-of-currently-running-VI/m-p/3120754/highl...
    My current approach is to use an image of the block diagram (with "VI: Block Diagram: Get Image Scaled" invoke method) within a picture control of the front panel and to work within this control. But for this I need to know the position of the icon of the currently executed VI. I know that I can evaluate Bounds and Position via the GObj properties, but how do I find the currently running VI (note that a VI may reside several times on the block diagram, so the name of the VI is not unique)? IMHO the simpliest way would be if a VI could find its icon on the caller's block diagram itself when executed...
    It's clear that this position is not the position on the picture yet, but this conversion is a small piece of work...
    Regards,
    cpschnuffel
    Solved!
    Go to Solution.

    Yamaeda wrote:
    Run it in highlight mode, done.
    Sure if you don't mind having functional checks taking hours instead of minutes...okay maybe that is exagerating for a simple VI like this, but it would increase cycle time.  Honestly I think the best solution would be to use the helper VI that was mentiond before, which keeps track of what VI is running.  You can of course use scripting to get the block diagram image, but there isn't a good way to know what exact VI is running using VI server.  Here are a few discussions.
    https://lavag.org/topic/16660-how-to-get-actual-vi-execution-state/
    https://decibel.ni.com/content/thread/18687
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Is Verizon currently IP blocking japan?

    Is Verizon currently IP blocking certain severs in japan? and if so is there a way to get them to let my connection get through?

    well ive been trying to access some sites that wont load up anymore ive heard that some places in japan and in the US were having DDOS attacks and people theorized this caused some places to be blocked.
    these are some of the few I buy gooods overseas and suck and connecting to relatives
    gs016.pso2gs.net
    210.129.209.16

  • How to compare, current value in :block.text_item with the database value

    Hi
    Could you please tell me
    How to compare the current value in :block.text_item with the corresponding database column value.
    I am using forms 10g
    There is block and there is an text Item in that block.
    When I run the form and query the block (tabular), the :block.text_item shows me, whatever value there in the database.
    Now I add some value in the :block.text_item to the existing value.
    now
    the :block.text_item contains old+ new added value
    whereas
    the database table contains 'old' value
    Now on a button click , I want to find out what is the value that I have added
    Could you please tell me, is it possible without writing a select query?

    Hello,
    Now on a button click , I want to find out what is the value that I have addedSo you mean always user will add value in the existing value. Because this way will fail in one case. Let say
    Value in Database is = ABCD
    User opened the form and he removed the D and write E and now value is ABCE and length is still same 4. So, there is no addition.
    Anyway you can know the database value at runtime there is one property for item called DATABASE_VALUE. It gives the value which is in database while you are running the form before save. and you can use like this..
    Trigger = WHEN-MOUSE-DOUBLE-CLICK on item level
    DECLARE
      vItemValue DATATYPE; -- Set the data type according to your desired field.
      vValueAdded DATATYPE; -- Set the data type according to your desired field.
    BEGIN
      vItemValue:=GET_ITEM_PROPERTY('ITEM_NAME',DATABASE_VALUE);  -- It will return you the database value in vItemValue variable.
      IF LENGTH(vItemValue)>LENGTH(:FORM_ITEM_NAME) THEN  -- It mean something change or added
        vValueAdded:=SUBSTR(:FORM_ITEM_NAME,LENGTH(vItemValue)+1);
        MESSAGE('Added value is : '||vValueAdded);  -- It will show you the added value.
      END IF;
      -- now suppose you want to show the old and new value in message not the added one
      -- Then no need of IF condition. You can just use message like this
      -- And i would prefer to use like this way
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
      MESSAGE('Old Value : '||vItemValue||'  New Value - '||:FORM_ITEM_NAME);
    END;Hope it is clear.
    -Ammad

  • Input variable takes value from current filter setting in navigation block

    Hi
    Is there is a way in SAP, maybe with customer exit, to fill a input variable for 0CALMONTH (which in the end will get a value like "06.2005") with the current value from the selected month in the filter settings of the time characteristic 0CALMONTH in the navigation block of a query?
    I guess the filter values are transferred back to the OLAP engine so the server knows the filter values of course and theoretically might be able to fill a variable with it...?
    Full points will be assigned.
    Thanks,
    German

    Thanks for your suggestion Vikram.  But if i change in the Info-object leve, i hope it will be reflected in all the Queries that are using this info-object.  I want it for a particular query alone.
    Also, in the Info-object level, for the option 'Query execution Filter value' the value is given as 'Value in Master Data Table' only.  Still, it is User specific.
    Regards,
    Murali

  • GC current block busy

    Hi ,
    I have two node Oracle RAC.Version is 11.2.0.2
    When i do an online inquire transaction for higher load, I am observing 'gc current block busy' in AWR as one of the top events.GV$SESSION_WAIT
    doesnt show anything as below.
    Kindly let me know how to tune it.
    AWR top events.
    DB CPU   32   64.34  
    log file sync 5,972 9 2 18.36 Commit
    gc current block busy 2,448 7 23 13.32 Cluster
    gc current block 2-way 4,665 3 1 5.41 Cluster
    gc current grant busy 2,446 1 0 2.20 Cluster
    SQL> SELECT
      INST_ID,
      EVENT,
      P1 FILE_NUMBER,
      P2 BLOCK_NUMBER,
      WAIT_TIME
    FROM
      GV$SESSION_WAIT
    WHERE
      EVENT IN ('buffer busy global cr', 'global cache busy',
                'buffer busy global cache');
      2    3    4    5    6    7    8    9   10   11
    no rows selectedThanks

    user10698496 wrote:
    I have two node Oracle RAC.Version is 11.2.0.2
    When i do an online inquire transaction for higher lRoad, I am observing 'gc current block busy' in AWR as one of the top events.GV$SESSION_WAIT
    doesnt show anything as below.
    Kindly let me know how to tune it.(Note: Your query against v$session_Wait doesn't seem to match the events listed in the AWR.)
    (Note 2: Your snapshot seems to be for a very short time - which doesn't really give an idea of how serious the problem may be in the bigger picture.)
    There are many GC events that you won't see in v$session_wait because the session doesn't know the event consuming the time until after the wait has completed - so when you check v$session_wait you will often see "gc cr request", or "gc current request" (I think I may have the names wrong, but I don't have an instance in front of me right now) - these are known as "placeholders" to Oracle and may change to things like "gc current block 2-way" or "gc current block 3-way".
    You've looked at the ADDM (so you're licensed for the diagnostic), and seen the top object. Had you not done so I would have suggested looking at the "Segments by .." sections of the AWR report, checking the two sections on CR and CUR traffic; then check the "SQL ordered by ...." sections for the sections on global cache time. If your offenders are insert statements that match primary key indexes then you probably need to stop the instances from inserting into the same index leaf block at the same time.
    A key question to ask is whether the primary key is a meaningless value generated by an Oracle sequence; if so have you set the sequence cache size to a large enough value (in the order of thousands or tens of thousands). This is the first step in resolving sequence-based RAC issues. (There are other strategies - but we need more information to determine best action.)
    Regards
    Jonathan Lewis
    P.S. The best place on the Internet for information about details of how RAC works and the interpretation of RAC events is probably Riyaj Shamsudeen's blog at: http://orainternals.wordpress.com/
    Edited by: Jonathan Lewis on May 14, 2012 8:24 AM

  • Re: Apple puts DRM blocks on there current generation of Video iPods

    Ok so Apple seems to be placing a limit on the playback of music videos with the "TV On" feature of the current crop of iPods with iTunes 7.0.2.
    Try this for yourself you can play all the music videos and playlists you want with the "TV Off" feature but when you try to play it out to a TV it will only basically play purchased videos or one video out at a time.
    What's next a "TV On" block on movies or Tv Shows? This is WEAK and now I have to find a way to go and buy a used Video iPod in the 60gb format with older iTunes.
    My old 60gb video iPod had no problem other that it got stolen.

    Try it yourself,
    I gave the outline of how to create the potential issue and you will see what I'm talking about. I'm a longtime owner and believer of the iPod and iTunes platform.
    Try shuffling music videos with some not bought from the iTunes store .. it will only play 24 tops now and it always plays the same one with a preference to iTunes bought purchases.
    Or try playing a whole artist list of videos with "TV On" it will only play one at a time. If you leave "TV Off" it will play the whole artist list without a hitch.

  • Hi All can anyone help me, I have a Iphone 4s and I'm currently recieving nuisance calls via a blocked number is there anyway I can stop my phone accepting blocked numbers? Cheers

    Hi all I'm Currently recieving Nuisance Calls via a Blocked number is there anyway I can stop my Iphone accepting Blocked Numbers? Thanks

    There is a way! I'm very happy to share this and hope it helps those who find themselves plagued, as I was.
    I have been getting nuisance calls for months from some muppet, who hides his phone number before he calls at 3am. I need to keep my phone on, in case any of my immediate family have an emergency. I'm sure many have the same problem, just turning off the phone is not an option. I have been to two or three shops to ask the experts and none could offer me a solution. I was on the verge of tring to jailbreak my phone or even get rid of it to get an andriod one...That's how bad things had become.
    Anyway, this is my solution, which I found by trawling through page after page on the internet, for ages and trying various other solutions first. I have an iPhone 4S and the operating system is 6.1.3 and I am in the UK, on Orange, or EE as we should now call it. I cannot promise it will help everyone, but it works for me.
    Go to Settings, Do Not Disturb and switch this on. Underneath here, go to Notifications, then Do Not Disturb again. Then Scheduled and set the times you want the restrictions to start and end. For example, I use 7pm to 8am, so that I know I won't get nuisance calls during this period, but whatever times work for you. Underneath, it says Allow calls from and you can select your favourites. If you haven't saved any of your contacts as Favourites, do so, it's very easy. Just go to contacts, open one and underneath the number there is a button to Add to favourites. Repeat for all close friends and family you want to be able to reach you at any time. All your favourites should be allowed to call. I think you can have 50 numbers in the favourites. But any unknown caller should be simply sent to voicemail.
    Apple have had some previous issues with the Do Not Disturb feature and to be honest this didnt work 100% of the time for me. If you find the same, don't give up. I suggest you do as I did at this point and use an app called Call Bliss, which seems to have cracked it. (I have NO connection to them and it's no skin off my nose if you use this app or not). There may be other apps that do the same, or even better for all I know. You have a free one day trial then it's £3 if you want to continue to use it. For me, £3 to solve the problem was money very well spent. If you need this app, download it, then do as suggested above to the point where it says Allow calls from and this time you select Bliss Exceptions. Follow the instructions in the app.
    There are two modes, I use suppress mode, which allows all calls to get through except those from unknown callers and those specified by you. I believe the other mode blocks all calls, except those you specify. Please note, the app only works when the iPhone is locked. Your lock might come on after the phone is not used for 5 minutes or so, or you can lock the phone by single clicking the on/off button (not holding it down).
    I hope this helps anyone as much as it has done me.

  • Global cache average current block request

    Hi all experts,
    I am getting this error frequently through 12C EM. Please tell me how I can suppress this alert so that I don't get it in future.
    Name=<sid>_<instancename>
    Type=Database Instance
    Host=<servername>.<domainname>
    Metric=Global Cache Average Current Block Request Time (centi-seconds)
    Timestamp xxxxxxxxxxxxxxxxxxxxxxxx
    Severity=Critical
    Message=Metrics "Global Cache Average Current Get Time 62" is at 1.46154
    Rule Name=XXProd
    Rule Owner=SYS

    this metric needs to be disabled in EM at the target level for each instance. you can disable "Global Cache Statistics" metrics in two different ways:
    Navigate to the instance, then click the Oracle Database drop-down -> Monitoring -> All Metrics -> (expand) Global Cache Statistics
    -> Global Cache Average CR Block Request Time (centi-seconds)
    -> Global Cache Average Current Block Request Time (centi-seconds)
    -> Global Cache Blocks Corrupt
    -> Global Cache Blocks Lost
    a. At the top level (Global Cache Statistics), click the [Modify] button , then the (*) Disable radio button to disable the entire group
    b. If only disabling the individual metric (Global Cache Average CR Block Request Time (centi-seconds)), click on Modify Thresholds button to delete the values. Note that empty Thresholds will disable alerts for that metric.
    Same can be done via navigation to the Cluster database instance -> Oracle Database drop-down -> Monitoring -> Metric and Collection Settings -> Global Cache Statistics

  • How to check a material being blocked by system at current time?

    hi,
    is there a method to to check a material being blocked by system at current time?
    Thanks!

    Call the function module ENQUEUE_EMMARAE with the required material number. If sy-subrc is not 0, after the function module has executed completely then the material is locked by a different user.
    Please mark points if the solution was useful.
    Regards,
    Manoj

  • Firefox 34.0.5 says Adobe Flash plugin is blocked, but update check reports my Flash plugin (ver. 16.0.0.235) is current. How to fix???

    About 1 month ago, I updated Flash and Firefox to most current versions. Firefox 34.0.5, running on WinXP, SP3, shows Adobe Flash plugin as ver. 16.0.0.235, but this is now being blocked again. No other versions of Flash are evident. When I choose option on Flash screen to check plugins are up to date, Firefox reports Flash plugin is up to date.
    This program behaviour is wrong and should be fixed. Checking at Adobe, current Flash is 16.0.0.305.
    Who or what is broken here? Is Firefox broken, and not reporting correctly that more current Flash plugin is available?
    I do not appear to have previous versions of Flash installed on system. This combo of software was working correctly for a while, and then became broken, without a proper path to allow users to resolve it. If Firefox is rigged to "Block" a plugin, then it *MUST* be configured to easily and **CORRECTLY** allow that plugin to be updated. Using most current software, my clicking on the "Check for updates" feature reports that Adobe Flash is most current version. Arrrrgh!!
    I am now back to "diagnose and fix broken Firefox+Flash" exercise, which I just went thru.
    Best solution here would be to allow user to easily override the "blocking" mechanism. This would assist users who only use Flash video access on trusted sites.
    If there is an obvious solution to this current Flash "BLocking" goofery, please inform. Otherwise, if and when I resolve this, I will post a reply to my own question here, indicating what I did to fix this, as it appears to be affecting other Firefox+Flash users, without a clear solution being posted.

    Adobe issued 3 new Flash 16 versions in January alone, then another new one - .305 - in February, ''along with one in early December. Five new versions in 2 months time''. So with updating Flash "about 1 month ago", you are probably 2 or 3 versions behind the latest Flash 16 version.
    Note that Adobe has its own internal updater, which by default is set to check for an update ''(only)'' once a month. Adobe does their own updates for their software, Firefox just tells you when your version is on the blocklist due to known security issues with the version you have installed. It is up to you to do a manual update between the monthly update check that Flash does for your installation.
    The "solution" is for Adobe to fix their stuff. Like maybe an updater that checks for updates more frequently, and not hide their updater user preferences where users don't know where they are and be able to set it for more a frequent update check cycle. ''[Firefox "checks" every time Firefox is launched, as does Chrome]''. Or fix the code in Flash that leads to it being so exploitable, and not have to do 5 separate security fixes in as little as a 2 month time span. ''Flash went almost 2 years prior to Dec 2014 without Mozilla needing to blocklist it, and when Mozilla did first blocklist it in Dec it was / is a soft-block where the user can still use it by using Allow per Flash presentation.''
    My advice is to grab the Extended Support Release - Flash Player 13.0.0.269 from here - https://www.adobe.com/products/flashplayer/distribution3.html - over 3/4 down that page. IMO the best version for WinXP users, as the later versions have features for Vista and later versions of Windows - won't work on WinXP or may cause problems on WinXP.

Maybe you are looking for

  • Flatten to sring doesn't work properly.

    Using LV8.20, found "flatten to string" function under 7.x function group. but it doesn't work properly in lv8.20. Is there a function "flatten to string" function in LV8? Thanks.

  • Online Archive only visible in Outlook 2010 after OWA logon

    Dear. We implemented Exchange 2010 native archiving. We created our own retention policies, applied them to the mailboxes and archiving started successfully exactly as we want it. We're using Outlook 2010 clients with both: cached and non-cached mode

  • Calling html file within web.show document as a report output

    /* this is blank html file included javascript for disabling mouse right click working fine*/ WEB.SHOW_DOCUMENT ('http://prod.artisticmilliners.com:8000/files/file.html','_blank'); /* this is oracle report output within model frame working fine*/ WEB

  • Mail back up Snow Leopard - Lion

    My hard drive broke. Now I have Lion 10.7.5 on my new hard drive. However, I can´t get my saved mails from the Mail program retrieved. My former system was running on Snow Leopard. I backed up my files regularily with Time Machine. How can I retrieve

  • BDC,ALE

    hi gurus I am narayan having 3 years of functional experience in SAP SD module. Now i am interesting to learn ABAP Concepts of BDC, ALE. so if any one please send me meterial of these concepts. my mail id is  :  <REMOVED BY MODERATOR> Thanks narayan