Proceedings of the VLDB Endowment · 2017 · 23 citations · 47 references
ComputingComputer ScienceComputer SystemsDatabasesParallel ComputingStorage SystemsBackup SystemsData RedundancyHigh AvailabilityQuery ProcessingReliable Storage SystemsStorage ConsistencyBackupHigh PerformanceHot StandbyHot Standby SystemsLog ShippingNon-volatile MemoryReplayTransaction Logging
Hot standby systems often have to trade safety (i.e., not losing committed work) and freshness (i.e., having access to recent updates) for performance. Guaranteeing safety requires synchronous log shipping that blocks the primary until the log records are durably replicated in one or multiple backups; maintaining freshness necessitates fast log replay on backups, but is often defeated by the dual-copy architecture and serial replay: a backup must generate the "real" data from the log to make recent updates accessible to read-only queries. This paper proposes Query Fresh , a hot standby system that provides both safety and freshness while maintaining high performance on the primary. The crux is an append-only storage architecture used in conjunction with fast networks (e.g., InfiniBand) and byte-addressable, non-volatile memory (NVRAM). Query Fresh avoids the dual-copy design and treats the log as the database, enabling lightweight, parallel log replay that does not block the primary. Experimental results using the TPC-C benchmark show that under Query Fresh, backup servers can replay log records faster than they are generated by the primary server, using one quarter of the available compute resources. With a 56Gbps network, Query Fresh can support up to 4--5 synchronous replicas, each of which receives and replays ∼1.4GB of log records per second, with up to 4--6% overhead on the primary compared to a standalone server that achieves 620kTPS without replication.
47
Leslie Lamport · ACM Transactions on Computer Systems · 1998 · 2.7K citations · Full text
C. Mohan, Don Haderle, Bruce G. Lindsay et al. · ACM Transactions on Database Systems · 1992 · 1K citations · Full text
Better I/O through byte-addressable, persistent memory
Jeremy Condit, Edmund B. Nightingale, Christopher Frost et al. · 2009 · 833 citations
Spanner: Google's globally-distributed database
James C. Corbett, Jay B. Dean, Michael Epstein et al. · 2012 · 827 citations
Speedy transactions in multicore in-memory databases
Stephen Tu, Wenting Zheng, Eddie Kohler et al. · 2013 · 527 citations · Full text