Library.Latch.Buffer three key indicators of the percentage of hits

- oracle database system in the Library, Latch, Buffer hit the target three key statistics sql, target is 100%:
- Library Hit
select round (sum (pinhits) / sum (pins) * 100,2) "Library Hit (%)"
from v $ librarycache;

- Latch Hit
select round ((1-sum (misses) / sum (gets)) * 100,2) "Latch Hit (%)"
from v $ latch;

- Buffer Hit
select round (100 * (1 - (a.value-b.value-nvl (c.value, 0)) / d.value), 2) "Buffer Hit (%)"
from v $ sysstat a, v $ sysstat b, v $ sysstat c, v $ sysstat d
where a.name = 'physical reads'
and b.name = 'physical reads direct'
and c.name = 'physical reads direct (lob)'
and d.name = 'session logical reads';
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb
Tags:

Related Posts of Library.Latch.Buffer three key indicators of the percentage of hits

  • Latch and latch conflicts

    rn Latch and latch conflicts Introduction Oracle Rdbms application of a variety of different types of locking mechanism, latch, that is one of them, this article will focus on the latch (latch) the concept of latch implementations to understand and e ...

  • Latch Free wait for events

    <Latch Free Waiting for an event .doc> read a document, part of the contents of the excerpt. + + + 1) Shared pool and library cache latch contention one reason - Analysis Oracle's shared pool formed by the different structures. Include: dat ...

  • Latch Series 1: Introducion

    Taken from the http://www.oracledba.com.cn/blog/?p=26 What is latch? latch is a low-level serialization of memory locks for the protection of SGA in shared-memory architecture. (1) to ensure the implementation of the kernel code sequences; (2) preven ...

  • oracle latch (latch) Overview

    Chapter 10 latch, locking and concurrency Database system itself is a multi-user concurrent processing system, at the same time, there may be multiple users to simultaneously operate the database. Here involves two very important issues. Operation be ...

  • Latch wait events

    latch is used to protect the memory (system global area, SGA) in the structure of the shared memory mutual exclusion mechanism. Latch on the memory like a lock, a process can be activated very quickly and release is used to prevent the structure of a ...

  • Finishing the latch free event

    Latches are like short duration locks that protect critical bits of code. LatchFree event that the process of waiting for a process held by other latch. This event a total of three parameters, the meaning is as follows: p1 said address latch, the gen ...

  • Understand the view of some systems

    V $ LIBRARYCACHE This view contains a library buffer performance and actions of Which reloads that had previously been cached sql statement, after aging, the number of times they have been reproduced in. invalidation that the number of times library ...

  • Adjustment Buffer Cache Size (zz)

    Buffer Cache store real data buffer, shared Pool which is stored in sql command (LC in one compilation run several times to speed up processing power, cache hit ratio is higher), while the real buffer cache stored inside the query results. Buffer Cac ...

  • pctused and pctfree

    pctused: a block of the percentage of the use of water, the water level will allow the block to return to the list available to wait for more of the insert. pctfree: used to block a percentage of space reserved in order to prevent the update operatio ...

  • Oracle Performance Miscellanies

    Buffer (buffer hit ratio) shooting rn Buffer (buffer hit ratio) hit rate is to investigate the performance of Oracle database, an important indicator, which represents the data in memory to find the ratio of need, in general, if the value is less tha ...

Leave a Reply

Recent
Recent Entries
Tag Cloud
Random Entries
Latest Comments