Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3320320B2 - A buffer management method using a buffer lock technique in a multi-user environment storage system - Google Patents
[go: Go Back, main page]

JP3320320B2 - A buffer management method using a buffer lock technique in a multi-user environment storage system - Google Patents

A buffer management method using a buffer lock technique in a multi-user environment storage system

Info

Publication number
JP3320320B2
JP3320320B2 JP25002696A JP25002696A JP3320320B2 JP 3320320 B2 JP3320320 B2 JP 3320320B2 JP 25002696 A JP25002696 A JP 25002696A JP 25002696 A JP25002696 A JP 25002696A JP 3320320 B2 JP3320320 B2 JP 3320320B2
Authority
JP
Japan
Prior art keywords
buffer
lock
page
chain
disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25002696A
Other languages
Japanese (ja)
Other versions
JPH09179767A (en
Inventor
ヤン パク スン
ソ リー ジン
ヤン ファ デ
チュル パク ヤン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electronics and Telecommunications Research Institute ETRI
Original Assignee
Electronics and Telecommunications Research Institute ETRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Electronics and Telecommunications Research Institute ETRI filed Critical Electronics and Telecommunications Research Institute ETRI
Publication of JPH09179767A publication Critical patent/JPH09179767A/en
Application granted granted Critical
Publication of JP3320320B2 publication Critical patent/JP3320320B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99931Database or file accessing
    • Y10S707/99938Concurrency, e.g. lock management in shared database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、多重使用者(mult
i-user)環境の貯蔵システムにおいて、バッファーのロ
ック技法を用いたバッファー管理方法に関するものであ
って、特に同一のディスクページに対する多くの使用者
の同時アクセス(concurrent access)を効率的に処理
し、貯蔵システムの性能を向上させるために使われるバ
ッファー管理の効果を極大化するためのものである。
TECHNICAL FIELD The present invention relates to a multi-user (mult
In i-user) environment storage system, comprising relates buffer management method using the locking techniques buffer, treated in particular simultaneous access of many users for the same disk page (concurrent access) efficiently, This is to maximize the effect of buffer management used to improve the performance of the storage system.

【0002】[0002]

【従来の技術】バッファーは物理的貯蔵空間であるディ
スクのデータの中でよく使われるデータをメモリに保持
するために使われるメモリ空間である。
2. Description of the Related Art A buffer is a memory space used to hold frequently used data among data on a disk, which is a physical storage space, in a memory.

【0003】貯蔵システムを構成するモジュールの中で
バッファー管理モジュールは、メモリの内に割当したバ
ッファーの空間を管理するモジュールであって、物理的
な貯蔵空間がディスクのデータの中でよく使われるデー
タをバッファーに保持して全体の性能を高める機能を有
する。
[0003] Among the modules constituting the storage system, a buffer management module is a module for managing the space of a buffer allocated in a memory, and a physical storage space is frequently used in disk data. In a buffer to enhance the overall performance.

【0004】このようなバッファーマネージャーの主要
機能は、よく使われているディスクのページをすぐに
クセスが可能なメモリ内のバッファーに読み込み、メモ
リのバッファーに保持されたページをシステムの回復
ネージャー(Recovery manager)と連動して、ディスク
の該当ページに適切に反映し(flush)、データ処理の
ためのディスクのアクセスを最小化することである。
[0004] The main function of such a buffer manager, immediately A page of disks that are commonly used
Access read into the buffer of the memory can be a page held in the buffer memory system recovery Ma
In conjunction with the Recovery Manager , this means properly flushing the relevant page on the disk and minimizing disk access for data processing.

【0005】バッファーは、貯蔵システムにおいて、も
っとも頻繁にアクセスされる資源の中の一つであって、
バッファーマネージャーの効率的なバッファー管理方式
により、データ処理のためのディスクの入出力が最小化
され、これによって貯蔵システムの全体性能が向上され
る。
[0005] Buffers are one of the most frequently accessed resources in storage systems,
The buffer manager 's efficient buffer management scheme minimizes disk I / O for data processing, thereby improving the overall performance of the storage system.

【0006】従来技術では、使用者の要求を処理するた
めにページへアクセスする時、該当ページのイメージが
バッファーに存在しなければ、データの処理のためにそ
のページはディスクからバッファーへ読み出されるべき
である。
In the prior art, when accessing a page to process a user's request, if the image of the page does not exist in the buffer, the page should be read from the disk to the buffer for data processing. It is.

【0007】このような要求は、貯蔵システムを使用す
る多数の使用者により同時に行なうことができ、この
時、ページがディスクからバッファーへ読み出される演
算(operation)は、使用者の要求だけ反復することが
できる。
Such a request can be made simultaneously by a number of users using the storage system, wherein the operation of reading a page from disk to a buffer is repeated by the user's request. Can be.

【0008】しかし、多数の使用者により同時に同一の
ページをディスクからバッファーへ読み出す演算が行な
われる場合には、同一のディスクのページに対し多数の
バッファーが重複使用され、次のような問題が発生す
る。
However, when an operation for reading the same page from a disk to a buffer is performed simultaneously by a large number of users, a large number of buffers are used repeatedly for the page of the same disk, and the following problem occurs. I do.

【0009】第1.バッファー空間の浪費が発生し、第
2.不必要なディスク入出力が発生する。
First. 1. Waste of buffer space occurs. Unnecessary disk I / O occurs.

【0010】第3.バッファー交替(buffer replaceme
nt)のオーバーヘッド(overhead)が発生し、第4.バ
ッファーの内容とディスクページの内容との間に不一致
(inconsistency)が発生する。
Third. Buffer replaceme
nt), and an overhead of 4th. An inconsistency occurs between the contents of the buffer and the contents of the disk page.

【0011】このような問題によるシステムの性能低下
を防止するために、同一のページに対するディスクの入
出力が重複して発生されないように処理するべきであ
る。
In order to prevent the system performance from deteriorating due to such a problem, it is necessary to perform processing so that disk input / output for the same page is not duplicated.

【0012】これを解決するために従来から使用してい
た代表的な方法は、次の二種類の形態で区分される。
Typical methods conventionally used to solve this problem are classified into the following two types.

【0013】第1.所望のページにアクセスするために
該当バッファーを管理するバッファーハッシアンカー
(Buffer Hash Anchor)に、排他的なラッチ(exclusiv
e latch)を適用させ(acquire)、所望のページのイメ
ージを有しているバッファーをバッファーフレームチェ
ーン(Buffer Frame Chain)から検索(scan)する。
First. An exclusive latch (exclusiv) is attached to a buffer hash anchor (Buffer Hash Anchor) that manages the corresponding buffer to access a desired page.
e latch) is applied (acquire), and a buffer having an image of a desired page is searched (scanned) from a buffer frame chain (Buffer Frame Chain).

【0014】そして、該当バッファーがバッファーフレ
ームチェーンに存在すれば、決定されたバッファーに排
他的なラッチを掛け、バッファーハッシアンカーの排他
的なラッチを解除(release)した次の該当バッファー
を使用する。
If the corresponding buffer exists in the buffer frame chain, the determined buffer is exclusively latched, and the next buffer which has released the exclusive latch of the buffer hash anchor is used.

【0015】所望のページがバッファーフレームに存在
しなければ、他のトランザクションによる同一のページ
に対する要求が処理されないように、バッファーハッシ
アンカーに排他的なラッチを解除しないまま、ディスク
から所望のページを掛けた状態でバッファーをバッファ
ーフレームチェーンに連結した後、バッファーハッシア
ンカーの排他的なラッチを解除する。
[0015] If the desired page is not present in the buffer frame, the buffer hash anchor hangs the desired page from the disk without releasing the exclusive latch on the buffer hash anchor so that requests for the same page by other transactions are not processed. After the buffer is connected to the buffer frame chain in the locked state, the exclusive latch of the buffer hash anchor is released.

【0016】そして、ディスクから該当ページを割当さ
れバッファーに読み込んだ後、バッファーに対する排他
的なラッチを解除してバッファーを使用する。
After the page is allocated from the disk and read into the buffer, the exclusive latch for the buffer is released and the buffer is used.

【0017】上述の第1の方法、すなわち、空いている
バッファーを割当られ、そのバッファーをバッファーフ
レームチェーンに連結する間、継続してバッファーハッ
シアンカーにラッチを掛けている方法は、簡単に同一の
ページに対する重複されたディスク入出力が発生しない
ように具現できるという長所を有している。
The first method described above, ie, allocating a free buffer and continuing to latch the buffer hash anchor while coupling the buffer to the buffer frame chain, is simply the same. This has the advantage that duplicate disk I / O for pages can be implemented.

【0018】しかしこの方法は、バッファーハッシアン
カーにラッチを掛けている間に、そのページでない他の
ページをアクセスしようとする他のトランザクション
が、該当バッファーフレームチェーンにアクセスするこ
とができない。
However, in this method, while the buffer hash anchor is latched, another transaction that attempts to access a page other than the page cannot access the corresponding buffer frame chain.

【0019】従って、この方法を使用する場合は、多く
のトランザクションが同時に空いているバッファーを要
求する場合、バッファーハッシアンカーに排他的なラッ
チを掛けている時間が長くなり、システムの性能が急激
に低下される問題点が発生する。
Therefore, when this method is used, when many transactions request an empty buffer at the same time, the exclusive latching time for the buffer hash anchor is increased, and the performance of the system is sharply increased. There is a problem of being reduced.

【0020】第2.所望のページにアクセスするため
に、排他的なモードで該当ページに対するロックを有す
る。
Second. In order to access a desired page, it has a lock on the page in an exclusive mode.

【0021】一旦ページに対するロックを実行した後、
バッファーハッシアンカーにアクセスする。
Once the lock on the page has been executed,
Access the buffer hash anchor.

【0022】バッファーフレームチェーンに該当ページ
のイメージを含んだバッファーが存在すれば、そのバッ
ファーを使用し、該当ページに対するロックを解除す
る。
If a buffer including the image of the corresponding page exists in the buffer frame chain, the lock on the corresponding page is released using the buffer.

【0023】バッファーフレームチェーンにおいて、該
当ページに対するバッファーが存在しなければ、空いて
いるバッファーを割当された後、バッファーハッシアン
カーに排他的ラッチを掛け、割当された空いているバッ
ファーをバッファーフレームチェーンに連結した後、バ
ッファーハッシアンカーの排他的なラッチを解除する。
If there is no buffer corresponding to the page in the buffer frame chain, an empty buffer is allocated, an exclusive latch is applied to the buffer hash anchor, and the allocated empty buffer is stored in the buffer frame chain. After coupling, release the exclusive latch of the buffer hash anchor.

【0024】ディスクから該当ページをバッファーに読
み込んだ後、バッファーの使用を終えて、該当ページに
対するロックを解除する。
After the page is read from the disk into the buffer, the use of the buffer is terminated and the lock on the page is released.

【0025】上述の第2の方法、すなわち、所望のペー
ジの使用を終えるまで、ページのロックを保持する方法
は、具現することが容易であるだけでなく、ページをバ
ッファーへ読み出す間に該当ページにロックを掛けてい
るので、第1の方法のように他のページを要求する他の
トランザクションの実行を妨害することが発生されな
い。
The above-described second method, that is, a method of holding a page lock until the use of a desired page is finished, is not only easy to implement, but also while reading the page into a buffer. , The execution of another transaction requesting another page as in the first method does not occur.

【0026】しかし、ページを検索するごとに、ページ
にロックを掛けなければならないので、トランザクショ
ンがアクセスする全てのページに対しロックのテーブル
を保持するオーバーヘッドが発生し、バッファーを使用
するごとに排他的なモードのロックを一つずつ有するこ
とは、システムの性能低下の要因となる。
However, each time a page is searched, the page must be locked. Therefore, an overhead of maintaining a table of locks for all pages accessed by a transaction occurs, and exclusive use is performed every time a buffer is used. Having one lock for each mode causes a decrease in system performance.

【0027】[0027]

【発明が解決しようとする課題】以上のように、第1の
方法を使用する場合は、多くのトランザクションが同時
に空いているバッファーを要求する場合、バッファーハ
ッシアンカーに排他的なラッチを掛けている時間が長く
なり、システムの性能が急激に低下される問題点が発生
し、第2の方法を使用する場合は、ページを検索するご
とに、ページにロックを掛けなければならないので、ト
ランザクションがアクセスする全てのページに対しロッ
クのテーブルを保持するオーバーヘッドが発生し、バッ
ファーを使用するごとに排他的なモードのロックを一つ
ずつ有することは、システムの性能低下の要因となると
いう問題点がある。
As described above, when the first method is used, when many transactions request an empty buffer at the same time, an exclusive latch is applied to the buffer hash anchor. time increases, problems performance of the system is reduced rapidly occurs, when using the second method, each time looking for pages, since it is necessary locks to a page, transaction access There is a problem that the overhead of holding a lock table for every page to be generated occurs, and having one exclusive mode lock each time a buffer is used causes a decrease in system performance. .

【0028】本発明は、これらの問題点を解決するため
になされたものであり、バッファーマネージャーが使用
者の要求を処理するためにデータのページにアクセス
る時、該当ページのイメージがメモリバッファーに存在
しなければ、そのページはディスクからバッファーに読
み出さなければならないので、このような場合、他のペ
ージにアクセスする他のトランザクションの実行を妨害
することなく不必要なディスクの入出力なしに、同時に
同一のページへのアクセスを要求するトランザクション
を効率的に処理できるバッファー管理方法を提供するこ
とによって多数の使用者の環境からの貯蔵システムの性
能を向上させることができる、多重使用者環境の貯蔵シ
ステムにおいて、バッファーロック技法を用いたバッフ
ァー管理方法を得ることを目的とする。
The present invention has been made to solve these problems. When a buffer manager accesses a page of data to process a user's request, the buffer manager accesses the corresponding page. If the image is not in the memory buffer, the page must be read from disk to the buffer, and in such a case, unnecessary disk insertion is performed without interfering with the execution of other transactions that access other pages. Multiple use that can improve the performance of storage systems from multiple user environments by providing a buffer management method that can efficiently process transactions that require access to the same page at the same time without output Management method using buffer lock technique in storage system of user environment For the purpose of obtaining.

【0029】[0029]

【課題を解決するための手段】前記のような目的を達成
するための本発明の技術的な特徴は、トランザクション
が任意のページにアクセスする時、トランザクションに
よりバッファーハッシアンカーに排他的なラッチを掛け
た後、該当バッファーフレームチェーンから該当ページ
に対する所望のバッファーがあるかを判別する第1過程
と、前記第1過程の判別により該当バッファーフレーム
チェーンから所望のページに対するバッファーが発見さ
れない場合、バッファーロックチェーンを検査して、所
望のページに対するバッファーロックエントリがバッフ
ァーロックチェーンに存在するかを判別する第2過程
と、前記第1過程の判別により該当バッファーフレーム
チェーンから所望のページに対するバッファーが発見さ
れる場合、バッファーに排他的なラッチを掛け、バッフ
ァーハッシアンカーの排他的なラッチを解除した後、バ
ッファーのページを使用する第3過程と、前記第2過程
の判別により、所望のページに対するバッファーロック
エントリがバッファーロックチェーンに存在する場合、
該当バッファーロックエントリのチャンネルにトランザ
クション情報を登録し、バッファーハッシアンカーの排
他的なラッチを解除した後、待機してから、前記バッフ
ァーハッシアンカーに排他的なラッチを掛ける第4過程
と、前記第2過程の判別により所望のページに対するバ
ッファーロックエントリがバッファーロックチェーンに
存在しない場合、ページに対するロックを実行する第5
過程を実行することである。
A technical feature of the present invention to achieve the above object is that when a transaction accesses an arbitrary page, the transaction exclusively latches the buffer hash anchor by the transaction. A first step of determining whether there is a desired buffer for the corresponding page from the corresponding buffer frame chain; and a buffer lock chain if no buffer for the desired page is found from the corresponding buffer frame chain by the first step. A second step of determining whether a buffer lock entry for the desired page exists in the buffer lock chain, and a case where a buffer for the desired page is found from the buffer frame chain by the first step. ,buffer After the exclusive latch of the buffer hash anchor is released and the exclusive latch of the buffer hash anchor is released, the buffer lock entry for the desired page is determined by the third step of using the buffer page and the second step. If present in the chain,
A fourth step of registering the transaction information in the channel of the corresponding buffer lock entry, releasing the exclusive latch of the buffer hash anchor, waiting, and then exclusively latching the buffer hash anchor; and If the buffer lock entry for the desired page does not exist in the buffer lock chain according to the determination of the process, a fifth lock for the page is executed.
To perform the process.

【0030】すなわち、これは同一のディスクページに
対する多数の使用者の同時アクセスを効率的に管理し
て、貯蔵システムの性能を向上させるバッファーロック
方法において、バッファーロックエントリ(buffer loc
k entry)のリスト形態であるバッファーロックチェー
ンを用いて、ディスクからページをバッファーに読み込
むために、空いているバッファーの割当(allocation)
を要求する間にはバッファーハッシアンカーに排他的ラ
ッチを使用しないで、該当バッファーフレームチェーン
からの所望のページに対するバッファーが発見されない
場合だけディスクから読み込むページに対してロックを
実行することによって、他のページに対するアクセス
要求するトランザクションの実行を妨害しないで、同時
に空いているバッファーの割当を要求する他のトランザ
クションにより、バッファーハッシアンカーに排他的な
ラッチが長い間使われることを防止して全体システムの
性能低下を防止し、ディスクから読み出すページに対し
てだけロックを実行し、ロックに対するオーバーヘッド
を最小化し、不必要なディスクの入出力なしに効率的に
バッファーを管理し、貯蔵システムの性能を向上させる
ことを特徴とする。
That is, in a buffer lock method for efficiently managing the simultaneous access of multiple users to the same disk page and improving the performance of the storage system, a buffer lock entry (buffer loc) is provided.
Allocation of free buffers to read pages from disk into buffers using the buffer lock chain, which is a list form of k entry)
Does not use an exclusive latch on the buffer hash anchor while requesting the other, by performing a lock on the page read from disk only if the buffer for the desired page from the relevant buffer frame chain is not found. It prevents the transaction that requires access to the page from being executed and prevents other transactions that request allocation of a free buffer at the same time from using the exclusive latch for the buffer hash anchor for a long time, thereby preventing the entire system from being used. Prevent performance degradation, lock only pages read from disk, minimize locking overhead, efficiently manage buffers without unnecessary disk I / O, and improve storage system performance Characterized by

【0031】[0031]

【発明の実施の形態】以下、本発明の好ましい実施の形
態を、添付した図面に依拠して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0032】図1は、本発明が適用されるハードウェア
の環境を示す。
FIG. 1 shows a hardware environment to which the present invention is applied.

【0033】図1において、プロセッサ〔Pi(i=1
〜n)〕11、主記憶装置メモリ12、メモリ内の共有
メモリ領域(shared memory area,13)、入出力専用処
理器(IOP)14、そしてディスク15は、補助記憶
装置のディスクである。
In FIG. 1, a processor [Pi (i = 1
To n)], a main storage memory 12, a shared memory area (shared memory area 13) in the memory, an input / output processor (IOP) 14, and a disk 15 are disks of an auxiliary storage device.

【0034】このように本発明は、単一プロセッサある
いは多重プロセッサと共有メモリ領域を含む一般的なハ
ードウェア環境から作動が可能である。
Thus, the present invention can operate from a general hardware environment including a single processor or multiple processors and a shared memory area.

【0035】図2は、本発明が作動される貯蔵システム
(Storage system)のモジュールの構造を示す。
FIG. 2 shows a module structure of a storage system in which the present invention is operated.

【0036】本発明が適用される貯蔵システムは、基本
的に使用者21とシステムを連結するインターフェース
管理モジュール22、ディスクにデータベース25を生
成(create)して処理(manipulate)するデータ貯蔵/
アクセス管理モジュール23、トランザクションの同時
性制御(concurrency control)と回復(recovery)と
を担当するトランザクション管理モジュール24とで構
成される。
The storage system to which the present invention is applied is basically an interface management module 22 for connecting a user 21 to the system, and a data storage / manipulate that creates and processes a database 25 on a disk.
The access management module 23 includes a transaction management module 24 that is in charge of transaction concurrency control and recovery.

【0037】そして本発明であるバッファーロック方法
(buffer locking mechanism)を使用するバッファー
ネージャーは、データの貯蔵/アクセス管理モジュール
23に含まれる。
[0037] A buffer manager using the buffer locking mechanism of the present invention .
Manager is a data storage / access management module
23 .

【0038】図3は、本発明が適用される貯蔵システム
においてのバッファー管理に使われる客体(object)で
あり、この図面においては、本発明を説明するために必
要な部分だけを示す。
FIG. 3 shows an object used for buffer management in a storage system to which the present invention is applied. In this drawing, only parts necessary for explaining the present invention are shown.

【0039】使用者の要求によりディスクページを読み
込んだバッファー31は、バッファー内に有数なディス
クページのイメージを有している間、該当バッファーハ
ッシ32のバッファーフレームチェーン33に連結され
る。
The buffer 31 that has read the disk page at the request of the user is connected to the buffer frame chain 33 of the corresponding buffer hash 32 while having a leading disk page image in the buffer.

【0040】前記バッファーフレームチェーンに連結さ
れたバッファーはバッファー内に含まれたページがそれ
以上有効でなかったり、バッファーがバッファー交替ア
ルゴリズム(buffer replacement algorithm)により、
他のページのイメージを有する時まで保持される。
The buffer connected to the buffer frame chain may be such that the page contained in the buffer is no longer valid or the buffer is replaced by a buffer replacement algorithm.
Retained until you have an image of another page.

【0041】ですから、該当バッファーフレームチェー
ンから所望のページに対するバッファーが発見されなけ
れば、そのページは、バッファーにはないからディスク
から読み出せるべきであり、このために、バッファープ
ール(buffer pool,34)から空いているバッファー(em
pty buffer)が新たに割当される。
Therefore, if a buffer for a desired page is not found in the corresponding buffer frame chain, the page is not in the buffer and should be read from the disk, so that the buffer pool (buffer pool, 34) Free buffer from (em
pty buffer) is newly allocated.

【0042】本発明であるバッファーロック方法を、バ
ッファーロックチェーンを保持してバッファーを管理す
ることによって、同一のディスクページに対し重複して
バッファーの割当を要求する現状を防止し、他のページ
アクセスする他のトランザクションの実行を妨害せ
ず、効率的にバッファーを管理する方法である。
The buffer lock method of the present invention manages buffers while maintaining a buffer lock chain, thereby preventing the current situation of requesting the same disk page redundantly for buffer allocation, and preventing other pages from being allocated. This is a method of managing buffers efficiently without interrupting the execution of other transactions that access .

【0043】図4は、本発明であるバッファーロック方
法において使用するバッファーロックチェーンの構造を
示す。
FIG. 4 shows the structure of a buffer lock chain used in the buffer lock method of the present invention.

【0044】バッファーロックチェーンの構造は、バッ
ファーロックエントリ41をリスト形態(list structr
ue)に保持し、バッファーロックチェーンを構成する各
々のバッファーロックエントリの構造(structure)
は、 である。
The structure of the buffer lock chain is such that the buffer lock entry 41 has a list form (list structr).
ue), the structure of each buffer lock entry that makes up the buffer lock chain
Is It is.

【0045】バッファーロックエントリ構造において、
PageIDは、ディスクから読み出そうとするページのペー
ジ識別子であり、nextは、次のバッファーロックエント
リを示すポインターであり、channelは、PageIDページ
がディスクから読み出されることを待つトランザクショ
ン42を示すリストである。
In the buffer lock entry structure,
PageID is a page identifier of a page to be read from the disk, next is a pointer to the next buffer lock entry, and channel is a list indicating a transaction 42 waiting for the PageID page to be read from the disk. is there.

【0046】バッファーロックエントリは、多数の使用
者が同時に同一のディスクページのアクセスを要求する
時、他のトランザクションが同一のページに対するバッ
ファーの割当とディスクの読み出し演算を実行できない
ように、現在ディスクの読み出し演算を実行するトラン
ザクションが該当ページにロック(lock)をする(hol
d)ごとに使われる。
The buffer lock entry is used to prevent a current transaction from allocating a buffer to the same page and performing a disk read operation when other users request access to the same disk page at the same time. The transaction that performs the read operation locks the relevant page (hol)
Used per d).

【0047】すなわち、ディスクの読み出し演算を実行
するトランザクションが、該当ページに対するバッファ
ーロックエントリを構成した後、これをバッファーロッ
クチェーンに連結する。
That is, a transaction for performing a disk read operation constructs a buffer lock entry for a corresponding page, and then connects the entry to a buffer lock chain.

【0048】ページをディスクからバッファーへ全部読
み出したトランザクションは、バッファーロックチェー
ンから該当バッファーロックエントリを削除することに
よって、そのページに対するロックを解除する。
The transaction that has read all pages from the disk to the buffer releases the lock on the page by deleting the corresponding buffer lock entry from the buffer lock chain.

【0049】図5及び図6は、本発明が使われるページ
の要求処理過程においてバッファーロック方法を用いた
バッファーの管理方法を示したフローチャートである。
なお、図5中のAと図6中のAとは接続されいて、図5
中のBと図6中のBとは接続されいて、図5中のCと図
6中のCとは接続されいてる。
FIGS. 5 and 6 are flowcharts showing a buffer management method using a buffer locking method in a page request processing process according to the present invention.
Note that A in FIG. 5 is connected to A in FIG.
B in FIG. 6 and B in FIG. 6 are connected, and C in FIG. 5 and C in FIG. 6 are connected.

【0050】トランザクションが任意のページにアクセ
する時、トランザクションはバッファーハッシアンカ
ーに排他的なラッチを掛け(acquire)(S1)、該当
バッファーフレームチェーンから該当ページに対するバ
ッファーを見付ける(S2)。
When a transaction accesses an arbitrary page,
When the scan, the transaction multiplied by the exclusive latched into buffer hash anchor (acquire) (S1), find the buffer for the corresponding page from the relevant buffer frame chain (S2).

【0051】前記バッファーを見付ける場合、所望のバ
ッファーがあるかを判断して(S3)、バッファーフレ
ームチェーンにそのページに対するバッファーがあれ
ば、バッファーに排他的なラッチを掛け(S4)、バッ
ファーハッシアンカーの排他的なラッチを解除した(re
lease)後(S5)、バッファーのページを使用する
(S6)。
When the buffer is found, it is determined whether there is a desired buffer (S3). If there is a buffer for the page in the buffer frame chain, the buffer is exclusively latched (S4) and the buffer hash anchor is set. Unlocked exclusive (re
After the lease (S5), the page of the buffer is used (S6).

【0052】しかし、バッファーフレームチェーンにそ
のページに対するバッファーがなければ、バッファーハ
ッシアンカーの排他的ラッチを保持したままバッファー
ロックチェーンを検査する(S7)。
However, if there is no buffer for the page in the buffer frame chain, the buffer lock chain is inspected while holding the exclusive latch of the buffer hash anchor (S7).

【0053】前記バッファーロックチェーンを検査して
所望のページがあるかを判断し(S8)、所望のページ
がある場合、所望のページに対するバッファーロックエ
ントリがバッファーロックチェーンに存在すれば、他の
トランザクションにより該当ページがディスクからバッ
ファーへ読み出されているところであるから、このトラ
ンザクションは、該当ページに対するバッファーロック
エントリのチャンネルにトランザクション情報を登録す
ることによって該当ページがバッファーへ読み出される
ことを待っているトランザクションを表示した後(S
9)、バッファーハッシアンカーの排他的なラッチを解
除し(S10)待期(Block)した後(S11)、ウェ
ークアップ(wakeup)され、前記S1から再実行する。
The buffer lock chain is checked to determine whether there is a desired page (S8). If there is a desired page, if a buffer lock entry for the desired page exists in the buffer lock chain, another transaction is performed. Since the relevant page is being read from the disk to the buffer, this transaction is a transaction waiting for the relevant page to be read into the buffer by registering the transaction information in the channel of the buffer lock entry for the relevant page. Is displayed (S
9) The exclusive latch of the buffer hash anchor is released (S10), and after waiting (Block) (S11), the wake-up is performed and the process is re-executed from S1.

【0054】前記バッファーロックチェーンを検査して
所望のページがあるかを判断し(S8)、所望のページ
に対する情報がバッファーロックチェーンに存在しなけ
れば、これは、該当ページを要求する他のトランザクシ
ョンが現在はいないことを意味し、このトランザクショ
ンがバッファーを割当され、ディスクからページを読み
出す演算を完了する時まで、他のトランザクションの要
求を待期させることができるように、該当ページに対す
るバッファーロックエントリを新たに構成し(S1
2)、バッファーロックチェーンに登録(または連結)
する(S13)。
The buffer lock chain is checked to determine whether there is a desired page (S8). If the information on the desired page does not exist in the buffer lock chain, this means that another transaction requesting the corresponding page is performed. Means that there is currently no buffer lock entry for the page so that this transaction can allocate buffers and wait for another transaction's request to complete the operation of reading the page from disk. Is newly constructed (S1
2) Register (or connect) to the buffer lock chain
(S13).

【0055】それから、バッファーハッシアンカーの排
他的なラッチを解除し(S14)、空いているバッファ
ーを割当された後(S15)、ディスクから所望のペー
ジをバッファーへ読み込む(S16)。
Then, the exclusive latch of the buffer hash anchor is released (S14). After a free buffer is allocated (S15), a desired page is read from the disk into the buffer (S16).

【0056】以後、バッファーハッシアンカーに排他的
なラッチを掛け(S17)、バッファーをバッファーフ
レームチェーンに連結する(S18)。
Thereafter, the buffer hash anchor is exclusively latched (S17), and the buffer is connected to the buffer frame chain (S18).

【0057】読み込んだページに対するバッファーロッ
クエントリをバッファーロックチェーンから見付け(S
19)、そのバッファーロックエントリでチャンネルを
分離し(S20)、バッファーロックチェーンからバッ
ファーロックエントリを削除することによって、ページ
に対するロックを解除する(S21)。
A buffer lock entry for the read page is found from the buffer lock chain (S
19), the channel is separated by the buffer lock entry (S20), and the lock on the page is released by deleting the buffer lock entry from the buffer lock chain (S21).

【0058】バッファーハッシアンカーの排他的なラッ
チを解除し(S22)、分離したチャンネルに連結され
た全てのトランザクションをウェークアップさせて(wa
keup)、実行状態にさせ(S23)、前記S5,S6を
実行する。
The exclusive latch of the buffer hash anchor is released (S22), and all transactions connected to the separated channel are woken up (wa).
keup), put into an execution state (S23), and execute S5 and S6.

【0059】待期状態からウェークアップして(wakeu
p)、実行状態となったトランザクションは、さらに前
記S1から再実行する。
Waking up from the waiting state (wakeu
p), the transaction in the execution state is re-executed from S1.

【0060】以上のような本発明は、次のような効果を
奏する。
The present invention as described above has the following effects.

【0061】本発明は、従来技術から使用のために要求
されるページがバッファーに存在していないので、新た
なバッファーを割当しページをディスクからバッファー
へ読み出す間に、バッファーハッシアンカーに排他的な
ラッチを掛けている場合、他のページを要求するトラン
ザクションがこれにより実行されないで、多数のトラン
ザクションが同時に空いているバッファーの割当を要求
する時、システムの性能が落ちていた問題点を解決する
ことによって、同一のハッシの値の他のページを要求す
るトランザクションの実行を妨害しない。
The present invention allocates a new buffer and reads the page from disk to the buffer while the page required for use from the prior art does not exist in the buffer. To solve the problem that the performance of the system was degraded when a large number of transactions requested the allocation of an empty buffer at the same time when a transaction requesting another page was not executed when latching. Does not prevent the execution of a transaction requesting another page of the same hash value.

【0062】かつ、空いているバッファーの割当を要求
するトランザクションによる全体のシステムの性能の低
下を防止する。
Further, it is possible to prevent the performance of the entire system from deteriorating due to a transaction requesting allocation of a free buffer.

【0063】なお、本発明は、従来技術においてページ
を要求する度に、ページに対するロックを保持する場
合、トランザクションがアクセスする全てのページに対
してロックのテーブルを保持するオーバーヘッドが発生
し、バッファーを使用する度に排他的にモードのロック
を保持することになり、システムの性能が低下された問
題点を解決することによって、該当ページに対するバッ
ファーが存在していない場合だけページにロックを実行
するので、ロックに対するオーバーヘッドを最小化す
る。
According to the present invention, when a lock is held on a page every time a page is requested in the prior art, an overhead of holding a lock table for all pages accessed by a transaction occurs, and a buffer is allocated. Each time it is used, the lock of the mode is exclusively held, and by solving the problem that the system performance has been degraded, the lock is executed on the page only when there is no buffer for the page. , Minimizing overhead for locking.

【0064】併せて、不必要なディスクの入出力を防止
することによって、貯蔵システムの性能向上のために使
われる、バッファー管理の効果を極大化する。
In addition, by preventing unnecessary disk input / output, the effect of buffer management used for improving the performance of the storage system is maximized.

【0065】[0065]

【発明の効果】本発明請求項1によると、他のページに
対するアクセスを要求するトランザクションの実行を妨
害しないことにより、全体のシステムの性能の低下を防
止できるという効果を奏す。
According to the first aspect of the present invention, the performance of the entire system can be prevented from deteriorating by not hindering execution of a transaction requesting access to another page.

【0066】本発明請求項2によると、該当ページに対
するバッファーが存在していない場合だけページにロッ
クを実行するので、ロックに対するオーバーヘッドを最
小化できるという効果を奏す。
According to the second aspect of the present invention, locking is performed on a page only when there is no buffer for the corresponding page, so that the overhead for locking can be minimized.

【0067】本発明請求項3によると、空いているバッ
ファーの割当を要求するトランザクションによる全体の
システムの性能の低下を防止できるという効果を奏す。
According to the third aspect of the present invention, it is possible to prevent a decrease in the performance of the entire system due to a transaction requesting allocation of a free buffer.

【0068】本発明請求項4によると、不必要なディス
クの入出力を防止することによって、貯蔵システムの性
能向上のために使われる、バッファー管理の効果を極大
化できるという効果を奏す。
According to the fourth aspect of the present invention, by preventing unnecessary disk input / output, the effect of managing the buffer used for improving the performance of the storage system can be maximized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の適用されるハードウェアの構成図で
ある。
FIG. 1 is a configuration diagram of hardware to which the present invention is applied.

【図2】 本発明の適用される貯蔵システムのモジュー
ル構成図である。
FIG. 2 is a module configuration diagram of a storage system to which the present invention is applied.

【図3】 本発明の適用される貯蔵システムにおいての
バッファー管理構造図である。
FIG. 3 is a diagram illustrating a buffer management structure in a storage system to which the present invention is applied;

【図4】 本発明であるバッファーロック方法におい
て、使用するバッファーロックチェーンの構造図であ
る。
FIG. 4 is a structural diagram of a buffer lock chain used in the buffer lock method of the present invention.

【図5】 本発明が使われるページの要求の処理過程に
おいてバッファーロックの方法を用いたバッファー管理
方法を示したフロー(folw)チャートである。
FIG. 5 is a flow chart showing a buffer management method using a buffer lock method in a process of processing a page request according to the present invention;

【図6】 本発明が使われるページの要求の処理過程に
おいてバッファーロックの方法を用いたバッファー管理
方法を示したフロー(folw)チャートである。
FIG. 6 is a flow chart showing a buffer management method using a buffer lock method in a process of processing a page request according to the present invention.

【符号の説明】[Explanation of symbols]

1 プロセッサ、12 主記憶装置のメモリ領域、13
共有メモリ領域、14 入出力専用処理器(IO
P)、15 ディスク、31 バッファー、32バッフ
ァーハッシ(Buffer hash)、33 バッファーフレー
ムチェーン(Buffer frame chain)、34 バッファー
プール(Buffer pool)、41 バッファーロックエン
トリ、42 トランザクション。
1 Processor, 12 Main memory storage area, 13
Shared memory area, 14 I / O dedicated processor (IO
P), 15 disks, 31 buffers, 32 buffer hashes, 33 buffer frame chains, 34 buffer pools, 41 buffer lock entries, 42 transactions.

フロントページの続き (72)発明者 デ ヤン ファ 大韓民国 デージョン ユーソンク ジ ュンミンドン エキスポアパート 406 −204 (72)発明者 ヤン チュル パク 大韓民国 デーグ ブクク サンキュク ドン 1370 (56)参考文献 特開 平5−282185(JP,A) 特開 平4−255041(JP,A) 特開 平7−182213(JP,A) 特開 平1−211140(JP,A) 特開 平2−294835(JP,A) 特開 昭63−311450(JP,A) 特開 平5−134915(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 G06F 3/06 Continuing on the front page (72) Inventor De Yang-hwa Republic of Korea Daejeon U-Sung Jung Min-dong Expo Apartment 406-204 (72) Inventor Jan Chul-Pak South Korea A) JP-A-4-2505041 (JP, A) JP-A-7-182213 (JP, A) JP-A 1-211140 (JP, A) JP-A-2-294835 (JP, A) JP-A-63 -311450 (JP, A) JP-A-5-134915 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 12/00 G06F 3/06

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 現在、ディスク読み出し演算を実行する
トランザクションが、該当ページにロックをするために
使われるバッファーロックエントリ、このバッファーロ
ックエントリをリスト形態に保持するバッファーロック
チェーン、所望のページに対するバッファーを有するバ
ッファーフレームチェーン、そして排他的なラッチが使
われるバッファーハッシアンカーを含むバッファー管理
構造により、同一のディスクページに対する多数の使用
者の同時アクセスを効率的に管理して、貯蔵システムの
性能を向上させるためのバッファー管理方法において、 トランザクションが任意のページにアクセスする時、前
記トランザクションにより前記バッファーハッシアンカ
ーに排他的なラッチを掛けた後、該当バッファーフレー
ムチェーンから該当所望のページに対するバッファーが
あるかを判別する第1過程と、 前記第1過程の判別により、該当バッファーフレームチ
ェーンから前記所望のページに対するバッファーが発見
されない場合だけ前記バッファーロックチェーンを検査
して、前記所望のページに対するバッファーロックエン
トリが前記バッファーロックチェーンに存在するかを判
別する第2過程と、 前記第1過程の判別により該当バッファーフレームチェ
ーンから前記所望のページに対するバッファーが発見さ
れる場合、前記バッファーに排他的なラッチを掛け、前
記バッファーハッシアンカーの排他的なラッチを解除し
た後、前記バッファーのページを使用する第3過程と、 前記第2過程の判別により、前記所望のページに対する
バッファーロックエントリが前記バッファーロックチェ
ーンに存在する場合、該当バッファーロックエントリの
チャンネルにトランザクション情報を登録し、前記バッ
ファーハッシアンカーの排他的なラッチを解除して待期
(block)した後、前記バッファーハッシアンカーに排
他的なラッチを掛ける第4過程と、 前記第2過程の判別により、前記所望のページに対する
バッファーロックエントリが前記バッファーロックチェ
ーンに存在していない場合だけ、前記所望のページに対
するロックを保持する第5過程と、 でなることを特徴とする多重使用者環境の貯蔵システム
において、バッファーロック技法を用いたバッファー管
理方法。
At present, a transaction for executing a disk read operation includes a buffer lock entry used to lock a corresponding page, a buffer lock chain holding the buffer lock entry in a list form, and a buffer for a desired page. A buffer management structure including a buffer frame chain and a buffer hash anchor using an exclusive latch efficiently manages the simultaneous access of multiple users to the same disk page, thereby improving the performance of the storage system. in the buffer management method for, when a transaction accesses any page, after multiplication by exclusive latched in the buffer hash anchor by the transaction, the from the relevant buffer frame chain A first step of determining whether there is a buffer for the desired page; and determining the buffer lock chain only when the buffer for the desired page is not found from the corresponding buffer frame chain by the first step. A second step of determining whether a buffer lock entry for a desired page exists in the buffer lock chain; and, if a buffer for the desired page is found from the corresponding buffer frame chain based on the determination of the first step, the buffer After the exclusive latch of the buffer hash anchor is released and the buffer lock entry for the desired page is determined by the third step of using the page of the buffer and the second step. Is the buff If it exists in the buffer lock chain, the transaction information is registered in the channel of the corresponding buffer lock entry, the exclusive latch of the buffer hash anchor is released and the buffer is locked. A fourth step of applying a proper latch, and a fifth step of holding a lock on the desired page only when a buffer lock entry for the desired page does not exist in the buffer lock chain according to the determination of the second step. A buffer management method using a buffer lock technique in a multi-user environment storage system, characterized by:
【請求項2】 前記第5過程は、 該当ページに対するバッファーロックエントリを構成し
た後、前記バッファーロックチェーンに連結する段階
と、 前記バッファーハッシアンカーの排他的なラッチを解除
し、空いているバッファーを割当された後、前記ディス
クから前記所望のページを読み込む段階と、 前記バッファーハッシアンカーの排他的なラッチを掛
け、前記割当られたバッファーを前記バッファーフレー
ムチェーンに連結する段階と、 前記読み込んだページに対するバッファーロックエント
リを前記バッファーロックチェーンから見付け、そのバ
ッファーロックエントリから前記チャンネルを分離した
後、前記バッファーロックチェーンから前記バッファー
ロックエントリを削除し、前記所望のページに対するロ
ックを解除する段階と、 前記バッファーハッシアンカーの排他的なラッチを解除
した後、前記分離されたチャンネルに連結されたすべて
のトランザクションをウェークアップ(Wakeup)させ、
実行状態となったトランザクションに対する前記第1過
程を実行する段階と、 でなることを特徴とする請求項1記載の多重使用者環境
の貯蔵システムにおいて、バッファーロック技法を用い
たバッファー管理方法。
2. The method of claim 5, further comprising: constructing a buffer lock entry for a corresponding page, connecting the buffer lock chain to the buffer lock chain, releasing an exclusive latch of the buffer hash anchor, and removing a free buffer. Reading the desired page from the disk after being allocated, latching the exclusive buffer of the buffer hash anchor and connecting the allocated buffer to the buffer frame chain; A step of finding a buffer lock entry from the buffer lock chain, separating the channel from the buffer lock entry, deleting the buffer lock entry from the buffer lock chain, and releasing a lock on the desired page. When the after releasing the exclusive latch buffer hash anchors, can be waked up (Wakeup) all transactions connected to said isolated channel,
2. The method according to claim 1, further comprising: performing the first process for the transaction in the execution state.
【請求項3】 前記第5過程は、前記ディスクから前記
所望のページをバッファーへ読み込むため、前記空いて
いるバッファーの割当を要求する間に前記バッファーハ
ッシアンカーに排他的なラッチを掛けないことを特徴と
する請求項2記載の多重使用者環境の貯蔵システムにお
いて、バッファーロック技法を用いたバッファー管理方
法。
3. The method of claim 5, further comprising the step of not exclusively latching the buffer hash anchor while requesting allocation of the free buffer to read the desired page from the disk into the buffer. 3. The buffer management method according to claim 2, wherein a buffer lock technique is used in the multi-user environment storage system.
【請求項4】 前記バッファーロックエントリを用い
て、該当バッファーフレームチェーンから発見されない
で、前記ディスクから読み込んだページだけロックを保
持することを特徴とする請求項1記載の多重使用者環境
の貯蔵システムにおいて、バッファーロック技法を用い
たバッファー管理方法。
4. The multi-user environment storage system according to claim 1, wherein the buffer lock entry is used to hold a lock only for a page read from the disk without being found in a corresponding buffer frame chain. , A buffer management method using a buffer lock technique.
JP25002696A 1995-12-06 1996-09-20 A buffer management method using a buffer lock technique in a multi-user environment storage system Expired - Fee Related JP3320320B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR95-47072 1995-12-06
KR1019950047072A KR0152714B1 (en) 1995-12-06 1995-12-06 Buffer Management Method Using Buffer Locking Technique in Storage System in Multi-User Environment

Publications (2)

Publication Number Publication Date
JPH09179767A JPH09179767A (en) 1997-07-11
JP3320320B2 true JP3320320B2 (en) 2002-09-03

Family

ID=19438051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25002696A Expired - Fee Related JP3320320B2 (en) 1995-12-06 1996-09-20 A buffer management method using a buffer lock technique in a multi-user environment storage system

Country Status (3)

Country Link
US (1) US5797138A (en)
JP (1) JP3320320B2 (en)
KR (1) KR0152714B1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100570731B1 (en) 2004-06-04 2006-04-13 한국과학기술원 Improved Resubject Victim Buffer Page Selection in Multiuser Storage Systems
KR100568145B1 (en) 2004-06-04 2006-04-05 한국과학기술원 How to avoid deadlocks using page latches in the buffer manager of a multiuser storage system
US9794340B2 (en) 2014-09-15 2017-10-17 Ge Aviation Systems Llc Mechanism and method for accessing data in a shared memory
US10037166B2 (en) 2016-08-03 2018-07-31 Ge Aviation Systems Llc Tracking memory allocation

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4482956A (en) * 1982-11-04 1984-11-13 International Business Machines Corporation Parallel queueing method
JPS63311450A (en) * 1987-06-12 1988-12-20 Fujitsu Ltd Exclusive control system for file access
US4965719A (en) * 1988-02-16 1990-10-23 International Business Machines Corporation Method for lock management, page coherency, and asynchronous writing of changed pages to shared external store in a distributed computing system
EP0394173A3 (en) * 1989-04-17 1993-10-27 International Business Machines Corporation High concurrency manager of open files
US5247672A (en) * 1990-02-15 1993-09-21 International Business Machines Corporation Transaction processing system and method with reduced locking
US5261069A (en) * 1990-08-13 1993-11-09 Hewlett-Packard Company Method of maintaining consistency of cached data in a database system
JPH0827755B2 (en) * 1991-02-15 1996-03-21 インターナショナル・ビジネス・マシーンズ・コーポレイション How to access data units at high speed
JP2533266B2 (en) * 1991-06-14 1996-09-11 インターナショナル・ビジネス・マシーンズ・コーポレイション Locking method of data resource in shared data system and data lock management method between systems
US5339427A (en) * 1992-03-30 1994-08-16 International Business Machines Corporation Method and apparatus for distributed locking of shared data, employing a central coupling facility
JPH05282185A (en) * 1992-04-03 1993-10-29 Nippon Telegr & Teleph Corp <Ntt> Method for controlling buffer memory management table
JP2611648B2 (en) * 1993-12-24 1997-05-21 日本電気株式会社 File sharing system

Also Published As

Publication number Publication date
KR970049642A (en) 1997-07-29
KR0152714B1 (en) 1998-10-15
JPH09179767A (en) 1997-07-11
US5797138A (en) 1998-08-18

Similar Documents

Publication Publication Date Title
US7908456B2 (en) System and method for allocating and deallocating memory within transactional code
US6681226B2 (en) Selective pessimistic locking for a concurrently updateable database
US10268579B2 (en) Hybrid hardware and software implementation of transactional memory access
JP2533266B2 (en) Locking method of data resource in shared data system and data lock management method between systems
US5946711A (en) System for locking data in a shared cache
US7421544B1 (en) Facilitating concurrent non-transactional execution in a transactional memory system
US6041384A (en) Method for managing shared resources in a multiprocessing computer system
US7209918B2 (en) Methods and apparatus for locking objects in a multi-threaded environment
US20040010499A1 (en) Database system with improved methods for asynchronous logging of transactions
EP1555618A2 (en) Method and apparatus for memory management in a multi-processor computer system
US5715447A (en) Method of and an apparatus for shortening a lock period of a shared buffer
CN1959644A (en) System and method of arbitrating access of threads to shared resources within a data processing system
US12430266B2 (en) Local page writes via pre-staging buffers for resilient buffer pool extensions
EP1435572A2 (en) Method and apparatus for providing dynamic locks for resources
CN1908890A (en) Method and apparatus for processing a load-lock instruction using a scoreboard mechanism
US8095731B2 (en) Mutable object caching
JP3320320B2 (en) A buffer management method using a buffer lock technique in a multi-user environment storage system
US20140040219A1 (en) Methods and systems for a deadlock resolution engine
JP3107094B2 (en) Method and apparatus for shortening shared buffer lock period
JPH0588954A (en) Data base updating method
JPH02294835A (en) Managing system for table being used
US8688662B2 (en) Copy on access to locked objects
JP3422504B2 (en) Exclusive control method between tasks
JP4139632B2 (en) Database management method and system
WO2023075910A1 (en) Local page writes via pre-staging buffers for resilient buffer pool extensions

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020604

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080621

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090621

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100621

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100621

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110621

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120621

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120621

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130621

Year of fee payment: 11

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees