ArticleslgStudy

science

Bigtable

Bigtable is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Bigtable rather than just read about it. In short: Bigtable is a fully managed wide-column and key-value NoSQL database service for large analytical and operational workloads as part of the Google Cloud portfolio. History Bigtable development began in 2004.

Key takeaways

  • Bigtable belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Bigtable to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bigtable from memory before moving on to harder problems.

Reference excerpt

Bigtable is a fully managed wide-column and key-value NoSQL database service for large analytical and operational workloads as part of the Google Cloud portfolio.

History Bigtable development began in 2004. It is now used by a number of Google applications, such as Google Analytics, web indexing, MapReduce, which is often used for generating and modifying data stored in Bigtable, Google Maps, Google Books search, "My Search History", Google Earth, Blogger.com, Google Code hosting, YouTube, and Gmail. Google's reasons for developing its own database include scalability and better control of performance characteristics. Apache HBase and Cassandra are some of the best known open source projects that were modeled after Bigtable. Bigtable offers HBase and Cassandra compatible APIs. On 6 May 2015, a public version of Bigtable was made available as a part of Google Cloud under the name Cloud Bigtable. As of April 2024, Bigtable manages over 10 Exabytes of data and serves more than 7 billion requests per second. Since its launch, Google announced a number of updates to Bigtable, including SQL support, incremental materialized views, global secondary indexes and automated scalability.

Design 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. It is built on Colossus (Google File System), Chubby Lock Service, SSTable (log-structured storage like LevelDB) and a few other Google technologies. 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". For example, Google's copy of the web can be stored in a bigtable where the row key is a domain-reversed URL, and columns describe various properties of a web page, with one particular column holding the page itself. The page column can have several timestamped versions describing different copies of the web page timestamped by when they were fetched. Each cell of a bigtable can have zero or more timestamped versions of the data. Another function of the timestamp is to allow for both versioning and garbage collection of expired data. Tables are split into multiple tablets – segments of the table are split at certain row keys so that each tablet is a few hundred megabytes or a few gigabytes in size. A bigtable is somewhat like a mapreduce worker pool in that thousands to hundreds of thousands of tablet shards may be served by hundreds to thousands of BigTable servers. When Table size threaten to grow beyond a specified limit, the tablets may be compressed using the algorithm BMDiff and the Zippy compression algorithm publicly known and open-sourced as Snappy, 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.

References

Bibliography 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 (PDF). 7th USENIX Symposium on Operating Systems Design and Implementation (OSDI'06). Seattle, WA.

External links Bigtable: A Distributed Structured Storage System, Washington. Video, archived from the original on 18 April 2011, retrieved 11 July 2006. UWTV, archived from the original (video) on 15 June 2006. Hitchcock, Andrew, Google's Bigtable (notes on the official presentation), retrieved 29 July 2007. Carr, David F (6 July 2006), "How Google Works", Baseline. "Is the Relational Database Doomed?", Read-write web, 12 February 2009, archived from the original on 10 November 2012.

Worked examples

Example 1 — a first encounter with Bigtable

Start with the simplest possible case. Write down what Bigtable claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Bigtable before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Bigtable ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Bigtable

In research
Bigtable appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Bigtable in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Bigtable is common in secondary-school and first-year university syllabi. It links to neighbouring topics Big data products, Bigtable implementations, Cloud databases, so understanding it makes those chapters shorter.
In everyday life
Look for Bigtable outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Bigtable” →

How to study Bigtable in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bigtable means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Bigtable out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bigtable in simple terms?

Bigtable is a fully managed wide-column and key-value NoSQL database service for large analytical and operational workloads as part of the Google Cloud portfolio. History Bigtable development began in 2004.

Why does Bigtable matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Bigtable?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Bigtable.

Tags

  • Big data products
  • Bigtable implementations
  • Cloud databases
  • Database management systems
  • Distributed data stores
  • Google services
  • Key-value databases
  • NoSQL
  • Proprietary database management systems

Keep exploring