Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: buffer cache

Re: buffer cache

From: Tim Gorman <Tim_at_SageLogix.com>
Date: Tue, 11 Jun 2002 20:30:40 -0800
Message-ID: <F001.0047B6C4.20020611203040@fatcity.com>


The X$BH table is a view into the Buffer Cache which has a column OBJ which can be joined to the OBJ$ table (a.k.a. DBA_OBJECTS view) via the column DATAOBJ# (a.k.a. column DATA_OBJECT_ID in DBA_OBJECTS). But for rollback segments, the OBJ column needs some special treatment, so I wouldn't recommend querying X$BH directly. Besides, you'd have to be SYS to do that, and it's never a good idea to fool around logged on as SYS often. Anybody is bound to get burned doing that, sooner or later...

A good view that performs this join (and translates the TYPE# numeric column to a readable string as well as handling the translation of OBJ for rollback segments) is V$CACHE, which is normally associated with OPS/RAC but can be created in non-OPS/RAC environments too. Just CONNECT INTERNAL and run the script "catparr.sql" in the "$ORACLE_HOME/rdbms/admin" directory to create V$CACHE (and other views)...

Hope this helps...

  Hi Guys ,
  IS there any way I can find what is occupying how much of buffer cache . Like .. what table is taking most of space etc   Thanks ,
  Bp

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Tim Gorman
  INET: Tim_at_SageLogix.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Jun 11 2002 - 23:30:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US