Peerless Tips About How To Reduce Consistent Gets In Oracle
Oracle consulting tips by burleson.
How to reduce consistent gets in oracle. A query will generally perform. The sum of db block gets and consistent gets equals the total read from the ram data buffer cache (db_cache_size, db_nnk_cache_size). O racle metric consistent gets.
“consistent gets” is higher when query is executed for the first time i have the following query which when executed for the first time returns 'consistent gets' 628066. To minimize the time and space required for such exports, you. So, we have a somewhat complex sql query.
Select name, value from v$sysstat where name in ('db block gets from cache', 'consistent gets from cache', 'physical reads cache'); Oracle recommends that you avoid making metadata changes during an export process in which consistent=y is selected. Each consistent get introduces serialization to the system, and by tuning sql to use more efficient access paths, you can get the same answer to the same query but do less.
The consistent gets oracle metric is the number of times a consistent read (a logical ram buffer i/o) was requested to get. The performance on our system returns the results in about 1.1 seconds. Create table t1 nologging as.
Still i'm unsure about the logical io (db block gets + consistent gets). I want to reduce 'consistent gets' for this query sql> set autotrace traceonly sql> select * from. In a nutshell, we must remember that oracle.
On the customers environment, the query returns.