dbTalk Databases Forums  

how to find what sql being cached

comp.databases.oracle.server comp.databases.oracle.server


Discuss how to find what sql being cached in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Susan
 
Posts: n/a

Default how to find what sql being cached - 05-29-2007 , 07:30 PM






Is v$sqlarea a view that stored all sql that are being cached in
shared pool? If not, where can I find such information? Thanks.


Reply With Quote
  #2  
Old   
Charles Hooper
 
Posts: n/a

Default Re: how to find what sql being cached - 05-29-2007 , 08:52 PM






On May 29, 8:30 pm, Susan <susan... (AT) hotmail (DOT) com> wrote:
Quote:
Is v$sqlarea a view that stored all sql that are being cached in
shared pool? If not, where can I find such information? Thanks.
http://www.oracle.com/pls/db102/sear...qlarea&partno=

The first link returned by the search engine is this page:
http://download-east.oracle.com/docs...views_2129.htm

At the top of that page is the following "V$SQLAREA lists statistics
on shared SQL area and contains one row per SQL string. It provides
statistics on SQL statements that are in memory, parsed, and ready for
execution."

Another interesting link is this one, which provides quick access to
the many V$ views, among other things:
http://download-east.oracle.com/docs...4237/index.htm

The Instance Tuning portion of the Oracle 10g R2 Performance Tuning
Guide makes several references to the V$SQLAREA view:
http://download-east.oracle.com/docs...tance_tune.htm

Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.