Check out DBMS_SHARED_POOL - you can also pin cursors.

hth
connor

--- "Sairlao, Chark" <[EMAIL PROTECTED]>
wrote: > hi all,
> 
> I got this application , they are not using any
> packages ,triggers or
> procedure. And there are lots of statements number
> of parsing = number of
> execute. Is there any way you can pinned the sql
> statsments into sga, beside
> increasing the sga size.
> 
> buffer holder.
> 
> I ran this statements
> 
> select decode(state,0, 'FREE',
> 1,decode(lrba_seq,0,'AVAILABLE','BEING USED'),
> 3, 'BEING USED', state) "BLOCK STATUS",
> count(*)
> from x$bh
> group by
>
decode(state,0,'FREE',1,decode(lrba_seq,0,'AVAILABLE',
> 'BEING USED'),3, 'BEING USED', state)
> 
> and got the following result. 
> 
> BLOCK STATUS                                  COUNT(*)
> ----------------------------------------      
> ----------
> AVAILABLE                                              5889
> BEING USED                                             299
> FREE                                           13012
> 
> Just for the purpose of testing it, I alter a table
> which has about 500
> blocks to be cached and select * from that table.
> execute the above statements againg I got the same
> result. Where I expected
> to have 500 blocks lesser in free block.  What have 
> done wrong here?
> 
> Thanks And Regards
> Chark Sairlao
> 
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Sairlao, Chark
>   INET: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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).


=====
Connor McDonald
http://www.oracledba.co.uk (mirrored at 
http://www.oradba.freeserve.co.uk)

"Some days you're the pigeon, some days you're the statue"

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: =?iso-8859-1?q?Connor=20McDonald?=
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to