• DocumentCode
    3124389
  • Title

    Oracle Streams: A High Performance Implementation for Near Real Time Asynchronous Replication

  • Author

    Wong, Lik ; Arora, Nimar S. ; Gao, Lei ; Hoang, Thuvan ; Wu, Jingwei

  • Author_Institution
    Oracle USA, Redwood Shores, CA
  • fYear
    2009
  • fDate
    March 29 2009-April 2 2009
  • Firstpage
    1363
  • Lastpage
    1374
  • Abstract
    We present the architectural design and recent performance optimizations of a state of the art commercial database replication technology provided in Oracle Streams. The underlying design of streams replication is a pipeline of components that are responsible for capturing, propagating, and applying logical change records (LCRs) from a source database to a destination database. Each LCR encapsulates a database change. The communication in this pipeline is now latch-free to increase the throughput of LCRs. In addition, the apply component now bypasses SQL whenever possible and uses a new latch-free metadata cache. We outline the algorithms behind these optimizations and quantify the replication performance improvement from each optimization. Finally, we demonstrate that these optimizations improve the replication performance by more than a factor of four and achieve replication throughput of over 20,000 LCRs per second with sub-second latency on commodity hardware.
  • Keywords
    replicated databases; Oracle Streams; architectural design; near real time asynchronous replication; streams replication; Broadcasting; Data engineering; Delay; Hardware; Optimization; Pipelines; Throughput; Transaction databases; USA Councils; Wide area networks;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering, 2009. ICDE '09. IEEE 25th International Conference on
  • Conference_Location
    Shanghai
  • ISSN
    1084-4627
  • Print_ISBN
    978-1-4244-3422-0
  • Electronic_ISBN
    1084-4627
  • Type

    conf

  • DOI
    10.1109/ICDE.2009.121
  • Filename
    4812537