Dictionary cache

Dictionary cache

The Oracle data dictionary is a collection of database tables, owned by the SYS and SYSTEM schemas, that contain the metadata about the database, its structures, the privileges and roles of database users. The data dictionary cache holds cached blocks from the data dictionary. Data blocks from tables in the data dictionary are used continually to assist in processing user queries and other DML commands. If the data dictionary cache is too small, requests for information from the data dictionary will cause extra I/O to occur; these I/O-bound data dictionary requests are called recursive calls and should be avoided by sizing the data dictionary cache correctly.

Fast Access

Oracle constantly accesses the data dictionary during database operation to validate user access and to verify the state of schema objects. All information is stored in memory using the least recently used (LRU) algorithm. The data dictionary cache is accessed for each SQL statement at parse time and again at runtime when the SQL gathers dynamic storage for execution.

Dictionary Cache Hit Ratio

The data dictionary cache hit ratio is used to measure the ratio of dictionary hits to misses meaning how many times dictionary cache has the dictionary tables data blocks for requested information and how many times Oracle has to do I/O for missing on cache. For optimal performance, the overall dictionary cache hit ratio should be greater than 90%

To monitor the efficiency of the Data Dictionary Cache, below sql statement can be used:

select (1-(sum(getmisses) / (sum(gets) + sum(getmisses)))) * 100
       "Dictionary Hit Rate" from v$rowcache;

A figure of 90–95 % should be maintained; if the rate starts to drop, SHARED_POOL_SIZE should be increased


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Cache — This article is about the computer science optimization concept. For other uses, see Cache (disambiguation). In computer engineering, a cache (  /ˈk …   Wikipedia

  • Cache-sexe — A cache sexe is an item, often a small garment, that covers its user s genitals. [ [http://dictionary.reference.com/browse/cache sexe Cache sexe] , Webster s New Millennium Dictionary of English , Preview Edition (v 0.9.7), via Dictionary.com.]… …   Wikipedia

  • Oracle Database — Developer(s) Oracle Corporation Development status Active Written in …   Wikipedia

  • Área Global del Sistema — Este artículo o sección necesita ser wikificado con un formato acorde a las convenciones de estilo. Por favor, edítalo para que las cumpla. Mientras tanto, no elimines este aviso puesto el 18 de octubre de 2011. También puedes ayudar wikificando… …   Wikipedia Español

  • System Global Area — In the database management systems developed by the Oracle Corporation, the System Global Area (SGA) forms the part of the RAM shared by all the processes belonging to a single Oracle database instance. The SGA contains all information necessary… …   Wikipedia

  • System Global Area — (SGA) nennt man die prozessübergreifenden Speicherbereiche im Hauptspeicher des Datenbankservers einer Oracle Datenbank. Dort liegen alle notwendigen Daten für die Instanz Operationen. In diesem Speicherbereich befindet sich Buffer Cache: Hier… …   Deutsch Wikipedia

  • thesaurus — Synonyms and related words: armory, arsenal, biographical dictionary, cache, chemical dictionary, desk dictionary, dialect dictionary, dictionary, dictionary of quotations, electronics dictionary, etymological dictionary, foreign language… …   Moby Thesaurus

  • Системная Глобальная Область — В СУБД, разработанных Oracle Corporation, Системной Глобальной Областью (от англ. System Global Area или сокр. SGA) называют часть оперативной памяти, разделяемой всеми процессами одного экземпляра базы Oracle. SGA содержит всю необходимую… …   Википедия

  • RAID — This article is about the data storage technology. For other uses, see Raid (disambiguation). RAID, an acronym for Redundant Array of Independent Disks (originally Redundant Array of Inexpensive Disks),[1] is a storage… …   Wikipedia

  • Fruit (slang) — Fruit and Fruit cake (as well as many variations) are slang Sexual s te. dyke.cite web first=Danny title=Strange Fruit publisher=Nighttours.com date=2007 url =http://www.nighttours.nl/amsterdam/gayguide/strange fruit.php accessdate=2007 11 15]… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”