Skip to Content
Oracle Internals: An Introduction
book

Oracle Internals: An Introduction

by Steve Adams
October 1999
Intermediate to advanced
136 pages
4h 15m
English
O'Reilly Media, Inc.
Content preview from Oracle Internals: An Introduction

Global Locks

Many of the resources protected by local locks in single-instance Oracle require global exposure in a parallel server database. Whenever one of these local locks is needed, a corresponding instance lock must be held as well, to protect the resource across all instances. The instance locks used to protect local locks globally are called global locks . However, the term is sometimes used informally as a synonym for all instance locks generally.

Row Cache Instance Locks

Row cache instance locks correspond directly to local row cache enqueue locks. They do not supersede the local locks, but give them global exposure.

When a process needs a row cache instance lock, it posts the LCK0 background process to obtain the lock on behalf of the instance, and waits on a row cache lock wait. This same wait is also recorded when waiting for the corresponding local lock. LCK0 obtains the instance lock asynchronously. When LCK0 receives the acquisition or conversion AST from LMDn, it posts the waiting process.

When the local process releases its row cache enqueue lock, the dictionary row remains cached, and so the instance lock is not released but downgraded to null mode in the background by the LCK0 process. However, the row cache instance lock is released if the dictionary cache entry is flushed from the shared pool.

Although dictionary cache entries and row cache enqueue locks are dynamically allocated in the shared pool, the lock state information for the corresponding instance locks ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Oracle PL/SQL for DBAs

Oracle PL/SQL for DBAs

Arup Nanda, Steven Feuerstein
Oracle in a Nutshell

Oracle in a Nutshell

Rick Greenwald, David C. Kreines

Publisher Resources

ISBN: 156592598XCatalog PageErrata