Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Spanner (database)

From Wikipedia, the free encyclopedia
Cloud-based distributed SQL DBMS service
Cloud Spanner Booth at Google Cloud Summit

Spanner is adistributed SQL database management and storage service developed byGoogle.[1] It provides features such as global transactions, strongly consistent reads, and automatic multi-site replication and failover. Spanner is used inGoogle F1, the database for its advertising businessGoogle Ads, as well as Gmail and Google Photos.[2][3]

Features

[edit]

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

[edit]

Spanner was first described in 2012 for internalGoogle data centers.[4]

Spanner's SQL capability was added in 2017 and documented in aSIGMOD 2017 paper.[5] It became available as part ofGoogle Cloud Platform in 2017, under the name "Cloud Spanner".[6]

Architecture

[edit]

Spanner uses thePaxos algorithm as part of its operation toshard (partition) data across up to hundreds of servers.[1] It makes heavy use of hardware-assistedclock synchronization usingGPS clocks andatomic clocks to ensureglobal 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 data centers around the world.[7]

Google's F1 SQLdatabase management system (DBMS) is built on top of Spanner,[2] replacing Google's customMySQL variant.[8]

References

[edit]
  1. ^abcCorbett et al. 2012.
  2. ^abShute et al. 2012.
  3. ^"Announcing Cloud Spanner Price Performance Updates".
  4. ^Clark, Jack (September 18, 2012)."Google reveals Spanner, the database tech that can span the planet". ZDNet. RetrievedAugust 4, 2021.
  5. ^Spanner: Becoming a SQL System. 9 May 2017. pp. 331–343.doi:10.1145/3035918.3056103.ISBN 9781450341974.S2CID 3055672.
  6. ^Srivastava, Deepti (February 14, 2017)."Introducing Cloud Spanner: a global database service for mission-critical applications".Google Cloud Blog. RetrievedAugust 4, 2021.
  7. ^"Cloud Spanner: TrueTime and external consistency".Google Cloud. Retrieved2020-11-24.
  8. ^Shute et al. 2012, p. 19: ‘Summary: We've moved a large and critical application suite from MySQL to F1.’

Bibliography

[edit]
  • 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 (2012).Spanner: Google's Globally-Distributed Database(PDF).10th USENIX Symposium on Operating Systems Design and Implementation (OSDI'12). Hollywood, CA. Retrieved18 September 2012.{{cite conference}}: CS1 maint: ref duplicates default (link).
  • 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{{citation}}: CS1 maint: location missing publisher (link).
  • 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{{citation}}: CS1 maint: location missing publisher (link).

Further reading

[edit]
a subsidiary ofAlphabet
Company
Divisions
Subsidiaries
Active
Defunct
Programs
Events
Infrastructure
People
Current
Former
Criticism
General
Incidents
Other
Software
A–C
D–N
O–Z
Operating systems
Machine learning models
Neural networks
Computer programs
Formats and codecs
Programming languages
Search algorithms
Domain names
Typefaces
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Y
Hardware
Pixel
Smartphones
Smartwatches
Tablets
Laptops
Other
Nexus
Smartphones
Tablets
Other
Other
Advertising
Antitrust
Intellectual
property
Privacy
Other
Related
Concepts
Products
Android
Street View coverage
YouTube
Other
Documentaries
Books
Popular culture
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Spanner_(database)&oldid=1252365549"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp