У нас вы можете посмотреть бесплатно 7.34- Multiversion Two-phase Locking Protocols | DBMS Free Online Course или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
7.34- Multiversion Two-phase Locking Protocols | DBMS Free Online Course Multiversion Concurrency Control Protocols Concurrency techniques discussed so far are suffering from delays for read operations, even sometimes they are rejected. To overcome this disadvantage, multiversion protocols are used that maintain different versions of data items. In multiversion protocols each write operation write(v) creates a new version of v. When any transaction wants to read v then control manager selects the appropriate version of v for read(v). It increases the performance because now there is no need to delay read operations. Multiversion Timestamp Ordering In multiversion techniques, timestamps can be used for ordering transactions. Each transaction Ti is associated with a unique and fixed timestamp TS(Ti ). Each data item Vn (n is version of V) has Three fields: (i) Content : This is the value of data item for a particular version. (ii) Write-TS(Vn) : This is equal to the timestamp of the transaction that created Vn. (iii) Read-TS(Vn) : This is equal to the timestamp of most recent transaction that successfully executes read(Vn). Multiversion Timestamp ordering ensures serializability. Consider a transaction Ti and Vn be any data item of version n, whose write timestamp is less than or equal to TS(Ti). (i) Read(Vn) by Ti : Contents of Vn are returned to read request. (ii) Write(Vn) by Ti : Ti rolls back if TS(Ti ) Less than Read–TS(Vn). If TS(Ti ) = Write–TS(Vn) then a new version of V is created with new contents. The database never maintains all versions of V, old versions of V that are no longer needed are removed from the database. Suppose two versions of V exist, i.e., Vm and Vn both having to write stamp less than the timestamp of oldest transaction of system then delete the older of two versions Vm and Vn. Advantages : Any read request never waits and never fails. Disadvantages : The disadvantages of multi version time stamp or during are: 1. Overhead due to updation of read timestamp for every read request. 2. Conflicting transactions result rollbacks. 364 Introduction to Database Management System 8.5.5.2 Multiversion Two-phase Locking In multiversion two-phase locking, the advantages of both multi version concurrency control techniques and two-phase locking technique are combined. It is also helpful to overcome the disadvantages of multiversion timestamp ordering. Single timestamp is given to every version of each data item. Here timestamp counter (TS-counter) is used instead of the system clock and logical counter. Whenever a transaction commits, TS-counter is incremented by 1. Read only transactions are based upon multiversion timestamp ordering. These transactions are associated with timestamp equal to the value of TS-counter. Updations are based upon rigrous two-phase locking protocol. PLAYLIST: Complete Playlist: DBMS - Data Base Management System Tutorials | All University Exams - UGC NET- GATE DBMS Lectures • DBMS Complete Syllabus- All University exa... [With Notes & PDF File] | Database Management System In HINDI • [With Notes & PDF File] | Database Managem... Transactions & Concurrency Control In DBMS | Serializability | Recoverability | recovery System | Time stamp • Transactions & Concurrency Control In DBMS... database management system tutorial, database tutorials, transaction in dbms, transaction management system in dbms, concurrency control, dbms tutorials, dbms tutorials in hindi, dbms lectures, dbms lectures in hindi, database management tutorials, database management lectures, dbms tutorials online, dbms lectures online, dbms gate tutorials, dbms ugc net tutorials, dbms gate lectures in hindi, dbms ugc net lectures, dbms gate lectures, #dbms #gatedbmslecturesinhindi #ugcnetdbmslecturesinhindi #gatedbmslectures #ugcnetdbmslectures #dbmsLectures #dbmsTutorials Notes Link: http://www.tutorialsspace.com/Downloa...