×

Database system with methods for parallel lock management

  • US 5,832,484 A
  • Filed: 07/02/1996
  • Issued: 11/03/1998
  • Est. Priority Date: 07/02/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. In a multi-tasking database system having a server storing a database connected to a plurality of clients, said database system providing a plurality of database engines for processing requests from the clients for database operations, an improved method for providing access to objects provided by the database system, the method comprising:

  • providing each database engine with a lock manager for controlling access to objects in the database system;

    storing lock management data structures which can be shared among all database engines, said lock management data structures storing locking information about a first plurality of locks that comprise a plurality of lock types for protecting access to objects in the database system which are shared;

    controlling access to said lock management data structures through at least one hash table comprising a plurality of hash buckets, each hash bucket being associated with a particular lock type from said plurality of lock types provided by the system;

    protecting access to said lock management data structures themselves with a second plurality of locks that comprise spin locks; and

    providing parallel access to different ones of said first plurality of locks provided by the database system by associating each spin lock from said second plurality of locks with a particular group of hash buckets.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×