On Decoupling Concurrency Control from Recovery in Database Repositories

dc.contributor.authorYu, Hengen
dc.date.accessioned2006-08-22T14:23:26Z
dc.date.available2006-08-22T14:23:26Z
dc.date.issued2005en
dc.date.submitted2005en
dc.description.abstractWe report on initial research on the concurrency control issue of compiled database applications. Such applications have a repository style of architecture in which a collection of software modules operate on a common database in terms of a set of predefined transaction types, an architectural view that is useful for the deployment of database technology to embedded control programs. We focus on decoupling concurrency control from any functionality relating to recovery. Such decoupling facilitates the compile-time query optimization. <br /><br /> Because it is the possibility of transaction aborts for deadlock resolution that makes the recovery subsystem necessary, we choose the deadlock-free tree locking (TL) scheme for our purpose. With the knowledge of transaction workload, efficacious lock trees for runtime control can be determined at compile-time. We have designed compile-time algorithms to generate the lock tree and other relevant data structures, and runtime locking/unlocking algorithms based on such structures. We have further explored how to insert the lock steps into the transaction types at compile time. <br /><br /> To conduct our simulation experiments to evaluate the performance of TL, we have designed two workloads. The first one is from the OLTP benchmark TPC-C. The second is from the open-source operating system MINIX. Our experimental results show TL produces better throughput than the traditional two-phase locking (2PL) when the transactions are write-only; and for main-memory data, TL performs comparably to 2PL even in workloads with many reads.en
dc.formatapplication/pdfen
dc.format.extent816389 bytes
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://hdl.handle.net/10012/1084
dc.language.isoenen
dc.pendingfalseen
dc.publisherUniversity of Waterlooen
dc.rightsCopyright: 2005, Yu, Heng . All rights reserved.en
dc.subjectComputer Scienceen
dc.subjectdatabase repositoryen
dc.subjectcompiled database applicationen
dc.subjecttransactionen
dc.subjecttree lockingen
dc.subjectworkloaden
dc.titleOn Decoupling Concurrency Control from Recovery in Database Repositoriesen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Mathematicsen
uws-etd.degree.departmentSchool of Computer Scienceen
uws.peerReviewStatusUnrevieweden
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
h3yu2005.pdf
Size:
797.25 KB
Format:
Adobe Portable Document Format