Bigtable
Bigtable
Jump to navigation
Jump to search
Developer(s) | Google Inc. |
---|---|
Initial release | February 2005 (2005-02) |
Written in | C++ (core), Java, Python, Go, Ruby |
Platform | Google Cloud Platform |
Type | Cloud Storage |
License | Proprietary |
Website | cloud.google.com/bigtable/ |
Bigtable is a compressed, high performance, proprietary data storage system built on Google File System, Chubby Lock Service, SSTable (log-structured storage like LevelDB) and a few other Google technologies. On May 6, 2015, a public version of Bigtable was made available as a service. Bigtable also underlies Google Cloud Datastore, which is available as a part of the Google Cloud Platform.[1][2]
Contents
1 History
2 Design
3 See also
4 References
5 Bibliography
6 External links
History[edit]
Bigtable development began in 2004[3] and is now used by a number of Google applications, such as web indexing,[4]MapReduce, which is often used for generating and modifying data stored in Bigtable,[5]Google Maps,[6]Google Book Search, "My Search History", Google Earth, Blogger.com, Google Code hosting, YouTube,[7] and Gmail.[8] Google's reasons for developing its own database include scalability and better control of performance characteristics.[9]
Google's Spanner RDBMS is layered on an implementation of Bigtable with a Paxos group for two-phase commits to each table. Google F1 was built using Spanner to replace an implementation based on MySQL.[10]
Design[edit]
Bigtable is one of the prototypical examples of a wide column store. It maps two arbitrary string values (row key and column key) and timestamp (hence three-dimensional mapping) into an associated arbitrary byte array. It is not a relational database and can be better defined as a sparse, distributed multi-dimensional sorted map.[4]:1 Bigtable is designed to scale into the petabyte range across "hundreds or thousands of machines, and to make it easy to add more machines [to] the system and automatically start taking advantage of those resources without any reconfiguration".[11]
Each table has multiple dimensions (one of which is a field for time, allowing for versioning and garbage collection). Tables are optimized for Google File System (GFS) by being split into multiple tablets – segments of the table are split along a row chosen such that the tablet will be ~200 megabytes in size. When sizes threaten to grow beyond a specified limit, the tablets are compressed using the algorithm BMDiff[12][13] and the Zippy compression algorithm[14] publicly known and open-sourced as Snappy,[15] which is a less space-optimal variation of LZ77 but more efficient in terms of computing time. The locations in the GFS of tablets are recorded as database entries in multiple special tablets, which are called "META1" tablets. META1 tablets are found by querying the single "META0" tablet, which typically resides on a server of its own since it is often queried by clients as to the location of the "META1" tablet which itself has the answer to the question of where the actual data is located. Like GFS's master server, the META0 server is not generally a bottleneck since the processor time and bandwidth necessary to discover and transmit META1 locations is minimal and clients aggressively cache locations to minimize queries.
See also[edit]
- Big data
- Distributed data store
- Dynamo (storage system)
- Wide column store
References[edit]
^ "Announcing Google Cloud Bigtable: The same database that powers Google Search, Gmail and Analytics is now available on Google Cloud Platform". Google Blog. May 6, 2015. Retrieved September 21, 2016..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output q{quotes:"""""""'""'"}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-limited a,.mw-parser-output .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}
^ "Get started with Google Cloud Datastore - a fast, powerful, NoSQL database".
^ Kumar, Aswini, Whitchcock, Andrew, ed., Google's Bigtable,First an overview. Bigtable has been in development since early 2004 and has been in active use for about eight months (about February 2005).
.
^ ab Chang et al. 2006.
^ Chang et al. 2006, p. 3: ‘Bigtable can be used with MapReduce, a framework for running large-scale parallel computations developed at Google. We have written a set of wrappers that allow a Bigtable to be used both as an input source and as an output target for MapReduce jobs’
^ Whitchcock, Andrew, Google's Bigtable,There are currently around 100 cells for services such as Print, Search History, Maps, and Orkut
.
^ Cordes, Kyle (2007-07-12), YouTube Scalability (talk),Their new solution for thumbnails is to use Google’s Bigtable, which provides high performance for a large number of rows, fault tolerance, caching, etc. This is a nice (and rare?) example of actual synergy in an acquisition.
.
^ "How Entities and Indexes are Stored", Google App Engine, Google Code.
^ Chang et al. 2006, Conclusion: ‘We have described Bigtable, a distributed system for storing structured data at Google... Our users like the performance and high availability provided by the Bigtable implementation, and that they can scale the capacity of their clusters by simply adding more machines to the system as their resource demands change over time... Finally, we have found that there are significant advantages to building our own storage solution at Google. We have gotten a substantial amount of flexibility from designing our own data model for Bigtable.’
^ 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), "Summary; F1 — the Fault-Tolerant Distributed RDBMS Supporting Google's Ad Business", Research (presentation), Sigmod: Google, p. 19,We've moved a large and critical application suite from MySQL to F1
.
^ "Google File System and Bigtable", Radar (World Wide Web log), Database War Stories (7), O’Reilly, May 2006.
^ "Google Bigtable, Compression, Zippy and BMDiff". 2008-10-12. Archived from the original on 1 May 2013. Retrieved 14 April 2015..
^ McIlroy, Bentley. Data compression using long common strings. DCC '99. IEEE..
^ "Google's Bigtable", Outer court (Weblog), 2005-10-23.
^ "Snappy", Code (project), Google.
Bibliography[edit]
Chang, Fay; Dean, Jeffrey; Ghemawat, Sanjay; Hsieh, Wilson C.; Wallach, Deborah A.; Burrows, Mike; Chandra, Tushar; Fikes, Andrew; Gruber, Robert E. (2006), "Bigtable: A Distributed Storage System for Structured Data", (download ebook) (PDF), Google.
External links[edit]
Bigtable: A Distributed Structured Storage System, Washington. Video, Google.
UWTV, archived from the original (video) on 15 June 2006.
Witchcock, Andrew, Google's Bigtable (notes on the official presentation).
Carr, David F (2006-07-06), "How Google Works", Baseline.
"Is the Relational Database Doomed?", Read-write web.
Categories:
- Bigtable implementations
- Database management systems
- Distributed data stores
(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.372","walltime":"0.480","ppvisitednodes":{"value":1888,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":102113,"limit":2097152},"templateargumentsize":{"value":1637,"limit":2097152},"expansiondepth":{"value":16,"limit":40},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":44579,"limit":5000000},"entityaccesscount":{"value":1,"limit":400},"timingprofile":["100.00% 361.978 1 -total"," 40.00% 144.781 1 Template:Reflist"," 24.28% 87.890 1 Template:Infobox_software"," 20.67% 74.830 1 Template:Infobox"," 20.62% 74.625 3 Template:Cite_web"," 19.58% 70.891 15 Template:Citation"," 11.18% 40.475 4 Template:Navbox"," 10.91% 39.492 1 Template:Google_Inc."," 9.07% 32.847 1 Template:Use_dmy_dates"," 5.90% 21.349 1 Template:Start_date_and_age"]},"scribunto":{"limitreport-timeusage":{"value":"0.157","limit":"10.000"},"limitreport-memusage":{"value":4491423,"limit":52428800}},"cachereport":{"origin":"mw1272","timestamp":"20190116205950","ttl":86400,"transientcontent":true}}});mw.config.set({"wgBackendResponseTime":91,"wgHostname":"mw1273"});});