2005 · 234 citations · 22 references
ComputingComputer ScienceComputer SystemsDatabasesFault ToleranceFault-tolerant SystemsConcurrency ControlData ReplicationDistributed Database ArchitectureDistributed DatabasesDistributed TransactionsTransaction ManagementData ConsistencyDatabase Management SystemsDistributed ReplicationFault-tolerant Database SystemsFault-tolerant Distributed SystemsGranularitySnapshot IsolationTransactions
Many cluster based replication solutions have been proposed providing scalability and fault-tolerance. Many of these solutions perform replica control in a middleware on top of the database replicas. In such a setting concurrency control is a challenge and is often performed on a table basis. Additionally, some systems put severe requirements on transaction programs (e.g., to declare all objects to be accessed in advance). This paper addresses these issues and presents a middleware-based replication scheme which provides the popular snapshot isolation level at the same tuple-level granularity as database systems like PostgreSQL and Oracle, without any need to declare transaction properties in advance. Both read-only and update transactions can be executed at any replica while providing data consistency at all times. Our approach provides what we call "1-copy-snapshot-isolation" as long as the underlying database replicas provide snapshot isolation. We have implemented our approach as a replicated middleware on top of PostgreSQL replicas. By providing a standard JDBC interface, the middleware is completely transparent to the client program. Fault-tolerance is provided by automatically reconnecting clients in case of crashes. Our middleware shows good performance in terms of response times and scalability.
22
The dangers of replication and a solution
Jim Gray, Pat Helland, Patrick O’Neil et al. · 1996 · 1K citations
A critique of ANSI SQL isolation levels
Hal Berenson, Phil Bernstein, Jim Gray et al. · 1995 · 865 citations · Full text
Flexible update propagation for weakly consistent replication
Karin Anna Petersen, Mike Spreitzer, Douglas B. Terry et al. · 1997 · 477 citations · Full text
Making snapshot isolation serializable
Alan Fekete, Dimitrios Liarokapis, Elizabeth O’Neil et al. · ACM Transactions on Database Systems · 2005 · 322 citations