第11卷‧第7期,
198307
, pp. 603-608
資料庫系統協同控制的研究
- 作者:
劉振漢; 莊艷珠
- 作者服務機構:
國立交通大學計算機研究所
- 中文摘要:
DL/1, IMAGE和TOTAL三系統是目前臺灣用得最多的資料庫系統。這個計畫的目的是研究它們的協同控制的方法。 DL/1 系統的 program isolation方法相當簡單,一個程式一次祇能鎖住一個記錄,若一個交易必須同時鎖住多個記錄時,即口無法達到要求。 IMAGE系統的predicate lock方法是以「條件」做為表示上鎖的對象,例如可以要求將「年齡在20到25之間」的員工記錄上鎖。為避免 deadlock,IMAGE要求一個交易所需要的資料,必須一次同時上鎖,不可分次上鎖。 TOTAL系統的 task level logging方法比其它兩系統要好,這方1980年才加入TOTAL系統裹的。 不管那一種系統,一個使用者發生問題時,往往使其它使用者無法繼續,甚至使整個系統停頓。未來的控制方法必須加強疏暢的功能,系統能自行或經由 DBA 下令將意外鎖住的資料解開,使整個系統能順利進行。
- 英文摘要:
Among the DBMS systems currently usedin Taiwan, DL/1, IMAGE and TOTAL arethe three most popular ones. In this projectwe studied the concurrency control mechan-isms in these three systems. The "program isolation" scheme in DL/1system is quite primitive. It provides nosolution to implement two phase locking. The "predicate lock" scheme in IMAGEsystem is very interesting. It allows a userto lock any parts of any size of a data base. The "task level logging" of TOTALsystem seems to be a better solution than theother two systems. It is an innovation, which was not added to TOTAL system until1980. In all three systems, a user may easilybring down the whole system. It is verydesirable to introduce features to allow DBAto release the part of the data base locked bya failed user and make the failure transparentto other users.
- 中文關鍵字:
--
- 英文關鍵字:
--