fbpx
Wikipedia

Spanner (database)

Spanner is a distributed SQL database management and storage service developed by Google.[1] It provides features such as global transactions, strongly consistent reads, and automatic multi-site replication and failover. Spanner is used in Google F1, the database for its advertising business Google Ads.[2]

Cloud Spanner Booth at Google Cloud Summit

Features

Spanner stores large amounts of mutable structured data. Spanner allows users to perform arbitrary queries using SQL with relational data while maintaining strong consistency and high availability for that data with synchronous replication.

Key features of Spanner:

  • Transactions can be applied across rows, columns, tables, and databases within a Spanner universe.
  • Clients can control the replication and placement of data using automatic multi-site replication and failover.
  • Replication is synchronous and strongly consistent.
  • Reads are strongly consistent and data is versioned to allow for stale reads: clients can read previous versions of data, subject to garbage collection windows.
  • Supports a native SQL interface for reading and writing data.

History

Spanner was first described in 2012 for internal Google data centers.[3]

Spanner's SQL capability was added in 2017 and documented in a SIGMOD 2017 paper.[4] It became available as part of Google Cloud Platform in 2017, under the name "Cloud Spanner".[5]

Architecture

Spanner uses the Paxos algorithm as part of its operation to shard (partition) data across up to hundreds of servers.[1] It makes heavy use of hardware-assisted clock synchronization using GPS clocks and atomic clocks to ensure global consistency.[1] TrueTime is the brand name for Google's distributed cloud infrastructure, which provides Spanner with the ability to generate monotonically increasing timestamps in datacenters around the world.[6]

Google's F1 SQL database management system (DBMS) is built on top of Spanner,[2] replacing Google's custom MySQL variant.[7]

References

  1. ^ a b c Corbett et al. 2012.
  2. ^ a b Shute et al. 2012.
  3. ^ Clark, Jack (September 18, 2012). "Google reveals Spanner, the database tech that can span the planet". ZDNet. Retrieved August 4, 2021.
  4. ^ "Spanner: Becoming a SQL System".
  5. ^ Srivastava, Deepti (February 14, 2017). "Introducing Cloud Spanner: a global database service for mission-critical applications". Google Cloud Blog. Retrieved August 4, 2021.
  6. ^ "Cloud Spanner: TrueTime and external consistency". Google Cloud. Retrieved 2020-11-24.
  7. ^ Shute et al. 2012, p. 19: ‘Summary: We've moved a large and critical application suite from MySQL to F1.’

Bibliography

  • Corbett, James C; Dean, Jeffrey; Epstein, Michael; Fikes, Andrew; Frost, Christopher; Furman, JJ; Ghemawat, Sanjay; Gubarev, Andrey; Heiser, Christopher; Hochschild, Peter; Hsieh, Wilson; Kanthak, Sebastian; Kogan, Eugene; Li, Hongyi; Lloyd, Alexander; Melnik, Sergey; Mwaura, David; Nagle, David; Quinlan, Sean; Rao, Rajesh; Rolig, Lindsay; Saito, Yasushi; Szymaniak, Michal; Taylor, Christopher; Wang, Ruth; Woodford, Dale, "Spanner: Google's Globally-Distributed Database" (PDF), Proceedings of OSDI 2012, retrieved 18 September 2012.
  • Date, Christopher ‘Chris’ J (2004), "6. Relations, Part II. The Relational Model", An Introduction to Database Systems (8th ed.), Addison Wesley, ISBN 978-0-32119784-9.
  • Shute, Jeffrey ‘Jeff’; Oancea, Mircea; Ellner, Stephan; Handy, Benjamin ‘Ben’; Rollins, Eric; Samwel, Bart; Vingralek, Radek; Whipkey, Chad; Chen, Xin; Jegerlehner, Beat; Littlefield, Kyle; Tong, Phoenix (2012), "F1 — the Fault-Tolerant Distributed RDBMS Supporting Google's Ad Business", Research (presentation), SIGMOD.
  • Shute, Jeffrey ‘Jeff’; Oancea, Mircea; Ellner, Stephan; Handy, Benjamin ‘Ben’; Rollins, Eric; Samwel, Bart; Vingralek, Radek; Whipkey, Chad; Rae, Ian; Apte, Himani; Littlefield, Kyle; Cieslewicz, John (2013), "F1: A Distributed SQL Database That Scales", Research (presentation), International Conference on Very Large Data Bases.


spanner, database, spanner, distributed, database, management, storage, service, developed, google, provides, features, such, global, transactions, strongly, consistent, reads, automatic, multi, site, replication, failover, spanner, used, google, database, adv. Spanner is a distributed SQL database management and storage service developed by Google 1 It provides features such as global transactions strongly consistent reads and automatic multi site replication and failover Spanner is used in Google F1 the database for its advertising business Google Ads 2 Cloud Spanner Booth at Google Cloud Summit Contents 1 Features 2 History 3 Architecture 4 References 5 BibliographyFeatures EditSpanner stores large amounts of mutable structured data Spanner allows users to perform arbitrary queries using SQL with relational data while maintaining strong consistency and high availability for that data with synchronous replication Key features of Spanner Transactions can be applied across rows columns tables and databases within a Spanner universe Clients can control the replication and placement of data using automatic multi site replication and failover Replication is synchronous and strongly consistent Reads are strongly consistent and data is versioned to allow for stale reads clients can read previous versions of data subject to garbage collection windows Supports a native SQL interface for reading and writing data History EditSpanner was first described in 2012 for internal Google data centers 3 Spanner s SQL capability was added in 2017 and documented in a SIGMOD 2017 paper 4 It became available as part of Google Cloud Platform in 2017 under the name Cloud Spanner 5 Architecture EditSpanner uses the Paxos algorithm as part of its operation to shard partition data across up to hundreds of servers 1 It makes heavy use of hardware assisted clock synchronization using GPS clocks and atomic clocks to ensure global consistency 1 TrueTime is the brand name for Google s distributed cloud infrastructure which provides Spanner with the ability to generate monotonically increasing timestamps in datacenters around the world 6 Google s F1 SQL database management system DBMS is built on top of Spanner 2 replacing Google s custom MySQL variant 7 References Edit a b c Corbett et al 2012 a b Shute et al 2012 Clark Jack September 18 2012 Google reveals Spanner the database tech that can span the planet ZDNet Retrieved August 4 2021 Spanner Becoming a SQL System Srivastava Deepti February 14 2017 Introducing Cloud Spanner a global database service for mission critical applications Google Cloud Blog Retrieved August 4 2021 Cloud Spanner TrueTime and external consistency Google Cloud Retrieved 2020 11 24 Shute et al 2012 p 19 Summary We ve moved a large and critical application suite from MySQL to F1 Bibliography EditCorbett James C Dean Jeffrey Epstein Michael Fikes Andrew Frost Christopher Furman JJ Ghemawat Sanjay Gubarev Andrey Heiser Christopher Hochschild Peter Hsieh Wilson Kanthak Sebastian Kogan Eugene Li Hongyi Lloyd Alexander Melnik Sergey Mwaura David Nagle David Quinlan Sean Rao Rajesh Rolig Lindsay Saito Yasushi Szymaniak Michal Taylor Christopher Wang Ruth Woodford Dale Spanner Google s Globally Distributed Database PDF Proceedings of OSDI 2012 retrieved 18 September 2012 Date Christopher Chris J 2004 6 Relations Part II The Relational Model An Introduction to Database Systems 8th ed Addison Wesley ISBN 978 0 32119784 9 Shute Jeffrey Jeff Oancea Mircea Ellner Stephan Handy Benjamin Ben Rollins Eric Samwel Bart Vingralek Radek Whipkey Chad Chen Xin Jegerlehner Beat Littlefield Kyle Tong Phoenix 2012 F1 the Fault Tolerant Distributed RDBMS Supporting Google s Ad Business Research presentation SIGMOD Shute Jeffrey Jeff Oancea Mircea Ellner Stephan Handy Benjamin Ben Rollins Eric Samwel Bart Vingralek Radek Whipkey Chad Rae Ian Apte Himani Littlefield Kyle Cieslewicz John 2013 F1 A Distributed SQL Database That Scales Research presentation International Conference on Very Large Data Bases Retrieved from https en wikipedia org w index php title Spanner database amp oldid 1131243666, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.