Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> high parses plus buffer holder
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: SairlaoC_at_transfield.com.au
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 Wed Jun 13 2001 - 01:44:18 CDT