Q
Problem solve Get help with specific problems with your technologies, process and projects.

Which column in tkprof specifies consistent gets?

Which column in the the tkprof ouput of pass, execute and fetch specifies the consistent gets? How do I decrease that value?

Which column in the the tkprof ouput of pass, execute and fetch specifies the consistent gets? How do I decrease that value?
A legend appears near the top of each tkprof output file:
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
As you can see, consistent reads are reported as "query."

As for how to decrease that value, I'm tempted to say "by reducing the number of database block visits your query requires." There is no one way to reduce logical I/O. Experiment with different approaches, represented by different SQL, to a problem; the best-performing solution is usually the one that requires the fewest database block visits.

Dig Deeper on Oracle database performance problems and tuning

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close