• DocumentCode
    2847748
  • Title

    Postgres-R(SI): Combining Replica Control with Concurrency Control Based on Snapshot Isolation

  • Author

    Wu, Shuqing ; Kemme, Bettina

  • Author_Institution
    Sch. of Comput. Sci., McGill Univ., Montreal, Que., Canada
  • fYear
    2005
  • fDate
    05-08 April 2005
  • Firstpage
    422
  • Lastpage
    433
  • Abstract
    Replicating data over a cluster of workstations is a powerful tool to increase performance, and provide fault-tolerance for demanding database applications. The big challenge in such systems is to combine replica control (keeping the copies consistent) with concurrency control. Most of the research so far has focused on providing the traditional correctness criteria serializability. However, more and more database systems, e.g., Oracle and PostgreSQL, use multi-version concurrency control providing the isolation level snapshot isolation. In this paper, we present Postgres-R(SI), an extension of PostgreSQL offering transparent replication. Our replication tool is designed to work smoothly with PostgreSQL’s concurrency control providing snapshot isolation for the entire replicated system. We present a detailed description of the replica control algorithm, and how it is combined with PostgreSQL’s concurrency control component. Furthermore, we discuss some challenges we encountered when implementing the protocol. Our performance analysis based on the TPC-W benchmark shows that this approach exhibits excellent performance for real-life applications even if they are update intensive.
  • Keywords
    SQL; concurrency control; replicated databases; Oracle database system; PostgreSQL concurrency control; PostgreSQL database system; Postgres-R(SI); TPC-W benchmark; data replication; database applications; fault-tolerance; isolation level snapshot isolation; multiversion concurrency control; performance analysis; replica control algorithm; Application software; Computer science; Concurrency control; Control systems; Database systems; Middleware; Performance analysis; Protocols; Transaction databases; Workstations;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2005. ICDE 2005. Proceedings. 21st International Conference on
  • ISSN
    1084-4627
  • Print_ISBN
    0-7695-2285-8
  • Type

    conf

  • DOI
    10.1109/ICDE.2005.108
  • Filename
    1410153