Database Tuning (MOSC)

MOSC Banner

How to tune interconnet activity on RAC

edited Jul 14, 2009 11:16PM in Database Tuning (MOSC) 1 commentAnswered
 I want to identify which queries cause most interconnect related waits on 2-node RAC cluster and which object-blocks are participated. I wrote following query for this purpose. Can you suggest any other idea or do you think sql below is a correct way to do this?
select /*+ rule */
  ash.sql_id, de.owner, de.segment_name, de.segment_type,
  ash.event,
  sum(ash.time_waited) total_time,
  count(*) count,
  trunc(sum(ash.time_waited)/count(*)) Avg_wait
from
  gV$ACTIVE_SESSION_HISTORY ash,
  dba_extents de
where
  ash.event like 'gc%' and
  ash.P1TEXT='file#' and
  ash.P2TEXT='block#' and

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center