~/talk

Extending PostgreSQL to Google Spanner architecture

Talkat Hydra 2020 · 2020-07-06..07-09· [databases]
slides:none on file

YugabyteDB claims to deliver full PostgreSQL compatibility by reusing PostgreSQL upper half while replacing storage with a Spanner-like DocDB that shards tables into tablets and replicates each tablet with Raft replication and leader leases. Distributed transactions use a two‑phase commit with hybrid logical clocks and a transaction status table; leader election and failover target ~3s. RocksDB is modified for key→document, global block cache and batching; system catalogs are co‑located; automatic tablet splitting and multi‑region zero‑RPO operation are supported.

AI-written summary · about

  1. 0:00Start
  2. 4:33design + Aurora-like Compatibility
  3. 6:36ode PostgreSQL
  4. 16:31Sharding Examples
  5. 19:00Membership Changes
  6. 24:10Leases to the Rescue!
  7. 25:50onic Clocks
  8. 30:46Encoding of a Document
  9. 33:40erformance Enhancements
  10. 39:08one Deployment
  11. 42:17ng Zone Outage
  12. 43:52tic rebalancing
  13. 48:42centralized Architecture
  14. 54:21ted (aka Multi-Shard) Transactions a
  15. 54:45Distributed Transactions need?
  16. 56:34Logical Clock (HLC)
  17. 59:35PostgreSQL Architecture
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.