Back to search

McGill University

Practical and consistent database replication

Abstract

dc:description.abstract

Replicating data across different databases has the potential to provide low response times since data can be accessed locally, high scalability since load can be distributed, and fault-tolerance since the data can be accessed as long as one replica is available. A big challenge of database replication is to handle updates such that the entire replicated database appears as if there is only a single logical copy of the data. The standard correctness criterion for database replication is 1-copy-serializability (1-copy-SE) which guarantees that a replicated database behaves as a non-replicated database with serializability (SE), the highest isolation level for transaction execution. In this thesis, we propose a new criterion, 1-copy-snapshot-isolation (1-copy-SI), due to the popularity of snapshot isolation (SI) over serializability in major database systems. SI allows some non-serializable executions, but it provides better concurrency and can be implemented efficiently. However, current definitions of SI allow for the violation of integrity constraints while commercial implementations of snapshot isolation maintain them. Hence, we define a new isolation level SI+IC which represents the isolation level implemented in current systems. From there, we propose a criterion 1-copy-SI+IC that respects both SI and integrity constraints in a replicated database. As a second step, we develop a replication solution that provides many features. It provides 1-copy-SI+IC. It is implemented in a middleware between clients and original database system, and thus, does not require changes to the source code of the database system. Despite being at the middleware level, it provides concurrency at the record level, and thus, the same concurrency level as the database system itself. Furthermore, it provides a standard database interface, and thus, is transparent to the application. It also offers fault-tolerance. Finally, it includes protocols that are able to handle a wide-area environment. This is achieved by a careful choice of communication patterns that keep communication across the wide area network at a minimum. The approach is implemented within a middleware-based framework that allows for an easy plug-in of replication algorithms. Our solution is carefully evaluated, comparing several design alternatives. Additionally, it is compared against a traditional replication protocol, that is widely implemented in current systems. The evaluation shows that our protocols have very good performance and compare favourably with existing solutions.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Grantor dc:publisher
McGill University
Year dc:date.issued
2007

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Lin, Yi, 1972-

Subjects

dc:subject × 3

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
891335893
Dc Identifier Other
hyrax:7s75dh13g

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Lin, Yi, 1972-. Practical and consistent database replication. McGill University, 2007. https://doi.org/10.82308/28801