Performance Analysis of Concurrency Control Using Locking with Conditional Blocking

ثبت نشده
چکیده

There is growing evidence that for a wide variety of database workloads and system configurations the two-phase locking (2PL) outperforms other types of concurrency control schemes. However, in the presence of long-lived transactions (LLTs), 2PL surrenders to a problem of long delay suspension because LLTs are qualified to lock data until they commit. To alleviate this problem we propose an extension to 2PL, named conditional blocking (CBL), that reduces the waiting probability on the basis of cycle detection to determine if conflicting lock modes could be held on the same data. Unlike the traditional serialization graph testing (SGT) that is also on the basis of cycle detection, CBL could delay a conflicting lock request even though the resulting graph does not contain cycles and thus it can reduce the number of transaction aborts. By properly balancing the waiting effect and the abort effect, CBL can lead to better performance than 2PL and SGT. Using a centralized database simulation model, we demonstrate that CBL exhibits substantial performance improvement over 2PL and SGT when LLTs are present.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Concurrency Control in Real - Time Database Systems : Optimistic Scheme vs . Two - Phase Locking

The two-phase locking approach widely used for concurrency control in database systems have some inherent disadvantages such as deadlock and unpredictable blocking time. These appear to be serious problems with respect to real-time transaction processing , since in a real-time environment transactions need to meet their time constraints as well as their consistency requirements. Integrated with...

متن کامل

Combined Locking Approach for Scheduling Hard Real-Time Transactions in Real-Time Databases

Previous work has shown the superiority of the optimistic protocols over the lock-based protocols for scheduling soft or firm real-time transactions. However, optimistic protocols cannot provide schedulability analysis for hard real-time transactions because of uncertain transaction restarts. In this paper, we develop new combined locking approach for using optimistic concurrency control to sch...

متن کامل

KRISHNA - An Efficient Concurrency Control Algorithm Based on Dynamic Attributes of Transactions and its Performance

Concurrent transactions during their execution life acquire a number of attributes. We call them dynamic attributes of transactions. We have used them to develop a concurrency control mechanism, called KRISHNA, using two-phase locking policy. To establish the usefulness of dynamic attributes in developing concurrency control mechanisms and to investigate the behavior of KRISHNA, we have studied...

متن کامل

Semantic multigranularity locking and its performance in object-oriented database systems

Concurrency control schemes for object-oriented database systems (OODBSs) used in the area of performance-critical applications should increase the degree of concurrency and decrease locking overhead in order to offer maximum performance. However, most commercially available OODBSs use conventional concurrency control schemes that never exploit the rich semantics of object-oriented data model, ...

متن کامل

Experimental Evaluation of Real-Time Optimistic Concurrency Control Schemes

Due to its potential for a high degree of parallelism, optimistic concurrency control is expected to perform better than two-phase locking when integrated with priority-driven CPU scheduling in real-time database systems. In this paper, we examine the overall effects and the impact of the overheads involved in implementing real-time optimistic concurrency control. Using a locking mechanism to e...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005