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

Home -> Community -> Usenet -> c.d.o.server -> Re: DB_BLOCK_BUFFERS * DB_BLOCK_SIZE

Re: DB_BLOCK_BUFFERS * DB_BLOCK_SIZE

From: Rniemic <rniemic_at_aol.com>
Date: 29 Jun 1999 19:31:07 GMT
Message-ID: <19990629153107.08643.00006092@ng-fa1.aol.com>


Here is a query from my book (see the x$ chapter of the book for elaboration) that will let you know how much of that 800Mb that you are using ... you really don't want to waste it if you're not using it...also, don't forget to save memory for the shared_pool_size (x$ksmsp to get the contiguous free mem) and sort_area_size.

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);

BLOCK STATUS      	COUNT(*)
AVAILABLE            	779
BEING USED        	154
FREE              		167

Rich Niemiec
Oracle Performance Tips and Techniques, Oracle Press ISBN: 0078824346 Received on Tue Jun 29 1999 - 14:31:07 CDT

Original text of this message

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