Tuning Buffer Hit Ratio on Oracle 8i [message #161682] |
Mon, 06 March 2006 12:43 |
Vamshee
Messages: 32 Registered: February 2005
|
Member |
|
|
Hi
We have Oracle 8i here on NT server.
On Checking the buffer Hit ratio on our current environment,its giving a value of 56%,
Where as i heard that this value should be around 90%.
Herez the query that iam using for this:
SELECT ROUND((1-(phy.value / (cur.value +
2 con.value)))*100,2) "Cache Hit Ratio"
3 FROM v$sysstat cur, v$sysstat con, v$sysstat phy
4 WHERE cur.name = 'db block gets'
5 AND con.name = 'consistent gets'
6 AND phy.name = 'physical reads';
Could you please suggest me a few ways of Performace Tuning to enhance this value.
Question 2:
_______________
Also, for instance if a table has a set of indexes, how to know as which particular columns of the table have the index and which ones do not.
Thanks in Advance,
Vamshee
|
|
|
|
|