Quantcast
Viewing all articles
Browse latest Browse all 10

By: Tanel Poder

@CJ
Use a dev instance, suspend all other processes so they couldn’t do LIOs and then run various queries on various index types (with equality predicate and range predicate) and then measure the “consistent gets”, “consistent gets – examination” and correlate this to the number of CBC latch gets from v$latch. Snapper allows to show all (you can run it with gather=a option to get latch gets too)

That’s the easiest way and assumes that Oracle’s v$sesstat + v$latch instrumentation works properly. There are more hard-core ways too ;-)


Viewing all articles
Browse latest Browse all 10

Trending Articles