Study on Lock of DBMS

Author
HuaGuoYao
Advisor
DongJinXiang , ZhouBo
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2004
Downloads
145
Citations
5

Request the full text

Abstract

As an important branch of computer softwares, Database Management System is a complex one. DBMS is a powerful tool to manaf e mass data very efficiently. Database Management System is used to provide duration storage, programming interfaces and the ability to manage transaction.In order to support the ACID of concurrency transactions, high concurrency and high performance, DBMS must maintain the serializabiiity of transactions by using a kind of concurrency control.The dispatcher is in charge of it.There are there technics for dispatcher-lock based, timestamp based and validation based.OSCAR uses the dispatcher based on lock.This dissertation focuses on the design and implementation of OSCAR’S lock management module. Two-phase Locking Protocol and Tree Locking Protocol can be implemented on this system.This module implements multiple granularity lock(three levels), automatic lock and automatic lock escalation.And it supports deadlock detection.

Table of contents

Abstract 3-4 ABSTRACT 4-5 directory 5-7 Chapter 1 Introduction 7-18 <br / 1.1 Background describes 7-16 1.1.1 the OSCAR overview 7-10 the 1.1.2 affairs is, concurrency control and scheduler 10-16 < br /> 1.2 The arrangement of the chapters 16-18 Chapter 2 locking mechanism 18-27 2.1 lock mechanism, role and goal 18 2.2 lock serial realization nbsp 18-20 2.2.1 two phase locking protocol; 19 2.2.2 tree locking protocol 19-20 < br /> 2.3 multiple lock modes 20-22 2.3.1 update locks, intention locks 20-21 2.3.2 blockade, and lock granularity upgrade is 21-22 2.3.3 Explicit locking (manual lock) 22 2.4 mainstream commercial DBMS relevant comparative 22-27 2.4.1 the Oracle9i 22-24 2.4.2 DB2 7.2 24 2.4.3 MS Sql Server 2000 24-27 Chapter 3 of the key technology 27-43 3.1 lock table space (LOCK TABLE) and its own concurrency 27-29 3.1.1 three data structures of the locking mechanism 27-29 3.2 Hash technology (HASH) 29-34 3.2.1 hash function construction method 29-31 3.2.2 construct Ha Xi function principle 31 3.2.3 conflict 31-32 3.2.4 Other types of hash table 32-34 3.3 Deadlock 34-43 3.3.1 deadlock conditions 34-35 3.3.2 to minimize the deadlock 35-37 < br /> 3.3.3 deadlock solution 37-43 Chapter 4 OSCAR Lock Management System Design and Implementation 43-63 4.1 system structure 43-46 4.1.1 lock management system DBMS design 43 4.1.2 Design Principles 43-44 4.1.3 framework design 44-45 4.1.4 lock mode conflict matrix 45-46 4.2 system 46-63 4.2.1 lock the table space (lock table) and index 46-47 4.2.2 the blockade unlock and lock granularity upgrade 47-51 4.2.3 lock granularity upgrade 51-52 4.2.4 Deadlock Detection 52-63 Chapter 5 Summary and Outlook 63-64 References 64-- 67 Acknowledgement 67

Related dissertations

  1. Research of Embedded Linux Device Drivers Concurrency Control
    ZhangJiHong ·Chang'an University ·2013 ·Master's thesis
  2. The User Database Resource Management System Based on WEB Design and Implementation
  3. Design and Implementation for Run Jincheng Industry Co., Ltd. Human Resources Information Management System
  4. The Information Management System of Moral Education in Secondary Vocational Schools
  5. Research on Optimization Technique for Hardware Transactional Memory System Based on CMP
    ZhangZuo ·Harbin Engineering University ·2013 ·Master's thesis
  6. Research on Agricultural Data Cloud Storage Based Oil Distributed File System
    LiYing ·Shandong Agricultural University ·2013 ·Master's thesis
  7. A Concurrency Control Scheme for Mobile Transactions in Broadcast Disk Environments
    LiuZuo ·Central South University ·2012 ·Master's thesis
  8. Qiqihar Hezhong Business Science and Technology Limited Company Gateway Website Design
    MengYunFei ·Jilin University ·2012 ·Master's thesis
  9. The System of Collaborative Text Editing Browser-based
    ZuoZuo ·Yanshan University ·2013 ·Master's thesis
  10. Design and Implementation of Distributed Visual Reality System’s Consistency Based On Scene Graph
    LiJun ·Beijing Jiaotong University ·2012 ·Master's thesis
  11. Research on Concurrency Control Mechanism in Maya Real-time Collaborative System
    CaoJie ·Shandong Normal University ·2012 ·Master's thesis
  12. Research and Design OA System for Enterprise
    HuangBin ·Hunan University ·2012 ·Master's thesis
  13. Layered Queuing Network Modeling of Database Systems Buffer Pools
    XueYaYan ·Taiyuan University of Technology ·2012 ·Master's thesis
  14. Research and Implementation on XML Data Index in Relation-XML Dual Engine Database Management System CoSQLRX
    QiuZeLing ·Northeastern University ·2010 ·Master's thesis
  15. Research and Optimization on the Buffer Management of Flight Inforamtion Database
    LiangPeng ·Zhejiang University ·2013 ·Master's thesis
  16. Research and Application of Embedded Database
    MaJian ·Xinjiang Agricultural University ·2012 ·Master's thesis
  17. Research of Task Scheduling Model in Programe Deployment and Monitoring Based on Distributed Environment
    YanZhenBin ·Beijing University of Technology ·2013 ·Master's thesis
  18. Design and Implementation of Testing Tools for DBMS Based on TETware
  19. The Design and Implementation of Stored Procedure for Information for Teacher Management System
  20. Design and implementation of parallel control automation test platform for distributed