DocumentCode :
3143496
Title :
Precisely Serializable Snapshot Isolation (PSSI)
Author :
Revilak, Stephen ; O´Neil, Patrick ; O´Neil, Elizabeth
Author_Institution :
Univ. of Massachusetts at Boston, Boston, MA, USA
fYear :
2011
fDate :
11-16 April 2011
Firstpage :
482
Lastpage :
493
Abstract :
Many popular database management systems provide snapshot isolation (SI) for concurrency control, either in addition to or in place of full serializability based on locking. Snapshot isolation was introduced in 1995, with noted anomalies that can lead to serializability violations. Full serializability was provided in 2008 and improved in 2009 by aborting transactions in dangerous structures, which had been shown in 2005 to be precursors to potential SI anomalies. This approach resulted in a runtime environment guaranteeing a serializable form of snapshot isolation (which we call SSI or ESSI) for arbitrary applications. But transactions in a dangerous structure frequently do not cause true anomalies so, as the authors point out, their method is conservative: it can cause unnecessary aborts. In the current paper, we demonstrate our PSSI algorithm to detect cycles in a snapshot isolation dependency graph and abort transactions to break the cycle. This algorithm provides a much more precise criterion to perform aborts. We have implemented our algorithm in an open source production database system (MySQL/InnoDB), and our performance study shows that PSSI throughput improves on ESSI, with significantly fewer aborts.
Keywords :
SQL; concurrency control; database management systems; graph theory; InnoDB; MySQL; concurrency control; database management systems; open source production database system; precisely serializable snapshot isolation; serializability violations; snapshot isolation dependency graph; Concurrency control; History; Medical services; Phantoms; Runtime; Silicon; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Data Engineering (ICDE), 2011 IEEE 27th International Conference on
Conference_Location :
Hannover
ISSN :
1063-6382
Print_ISBN :
978-1-4244-8959-6
Electronic_ISBN :
1063-6382
Type :
conf
DOI :
10.1109/ICDE.2011.5767853
Filename :
5767853
Link To Document :
بازگشت