ArticleslgStudy

computer science

WebScaleSQL

WebScaleSQL is a computer 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 WebScaleSQL rather than just read about it. In short: WebScaleSQL was an open-source relational database management system (RDBMS) created as a software branch of the production-ready community releases of MySQL. By joining efforts of a few companies and incorporating various changes and new features into MySQL, WebScaleSQL aimed toward fulfilling various needs arising from the deployment of MySQL in large-scale environments, which involve large amounts of data and num…

Key takeaways

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

Reference excerpt

WebScaleSQL was an open-source relational database management system (RDBMS) created as a software branch of the production-ready community releases of MySQL. By joining efforts of a few companies and incorporating various changes and new features into MySQL, WebScaleSQL aimed toward fulfilling various needs arising from the deployment of MySQL in large-scale environments, which involve large amounts of data and numerous database servers. The source code of WebScaleSQL is hosted on GitHub and licensed under the terms of version 2 of the GNU General Public License. The project website announced in December 2016 that the companies involved would no longer contribute to the project.

Overview Running MySQL on numerous servers with large amounts of data, at the scale of terabytes and petabytes of data, creates a set of difficulties that in many cases arise the need for implementing specific customized MySQL features, or the need for introducing functional changes to MySQL. More than a few companies have faced the same (or very similar) set of difficulties in their production environments, which used to result in the availability of multiple solutions for similar challenges. WebScaleSQL was announced on March 27, 2014, as a joint effort of Facebook, Google, LinkedIn and Twitter (with Alibaba Group joining in January 2015), aiming to provide a centralized development structure for extending MySQL with new features specific to its large-scale deployments, such as building large replicated databases running on server farms. As a result, WebScaleSQL attempted to open a path toward deduplicating the efforts each founding company had been putting into maintaining its own branch of MySQL, and toward bringing together more developers. WebScaleSQL was created as a branch of the MySQL's latest production-ready community release, which was version 5.6 as of March 2013. As the project aimed to tightly follow new MySQL community releases, a branching path was selected instead of becoming a software fork of MySQL. The selection of MySQL production-ready community releases for the WebScaleSQL's upstream, instead of selecting some of the available MySQL forks was the result of a consensus between the four founding companies, which concluded that the features already existing in MySQL 5.6 are suitable for large-scale deployments, while additional features of the same kind are planned for MySQL 5.7.

Features The initial changes and feature additions that WebScaleSQL introduced to the MySQL 5.6 codebase came from the engineers employed by the four founding companies; however, the project was open to peer-reviewed community contributions. As of September 15, 2014, available new features and changes included the following:

A software framework that provides automated testing of all proposed changes A customized suite of database performance tests Various changes to the automated tests provided by the MySQL community releases Performance improvements in various areas, including buffer pool flushing, execution of certain types of SQL queries, and support for NUMA architectures Changes related to large-scale deployments, such as the ability to specify sub-second client timeouts Performance and reliability improvements to the global transaction identifier (GTID) feature of MySQL 5.6 So-called super_read_only operation mode for the MySQL server, which disables data modification operations even for privileged database accounts As of March 28, 2014, planned new features and changes included the following:

New asynchronous MySQL client that will eliminate the client-side waiting while establishing database connections, sending queries, and receiving their results Availability of various table, user and compression statistics Changes to the internal compression mechanisms Addition of a logical read-ahead mechanism that will bring significant performance improvements for full table scans

Availability WebScaleSQL is distributed in a source-code-only form, with no official binaries available. As of March 27, 2014, compiling the source code and running WebScaleSQL is supported only on x86-64 Linux hosts, requiring at the same time a toolchain that supports C99 and C++11 language standards. The source code is hosted on GitHub and available under version 2 of the GNU General Public License (GPL v2).

End of Contributions In December 2016, the WebScaleSQL website announced the companies originally involved in collaborating on the project (Facebook, Google, LinkedIn, Twitter, and Alibaba) would no longer contribute to the project. The announcement blamed differences among the needs of the various companies for the end of the collaboration.

See also

Comparison of relational database management systems

References

External links Official website WebScaleSQL 5.6 source code on GitHub

Worked examples

Example 1 — a first encounter with WebScaleSQL

Start with the simplest possible case. Write down what WebScaleSQL claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer 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 WebScaleSQL 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 WebScaleSQL 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 WebScaleSQL

In research
WebScaleSQL appears in computer 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 WebScaleSQL 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
WebScaleSQL is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2014 software, Client-server database management systems, Free database management systems, so understanding it makes those chapters shorter.
In everyday life
Look for WebScaleSQL 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 “WebScaleSQL” →

How to study WebScaleSQL in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what WebScaleSQL 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 WebScaleSQL out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is WebScaleSQL in simple terms?

WebScaleSQL was an open-source relational database management system (RDBMS) created as a software branch of the production-ready community releases of MySQL. By joining efforts of a few companies and incorporating various changes and new features into MySQL, WebScaleSQL aimed toward fulfilling var…

Why does WebScaleSQL matter?

Because it connects several computer 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 WebScaleSQL?

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 WebScaleSQL.

Tags

  • 2014 software
  • Client-server database management systems
  • Free database management systems
  • Linux-only free software
  • MySQL
  • Relational database management software for Linux

Keep exploring