What does it mean when Facebook says it uses MySQL as a "bit store"?
-
Aditya Agarwal said this in a presentation on Facebook Engineering a few years ago. I think it was on the Facebook website, but I can't find it now. What exactly did he mean by this?
-
Answer:
In the context of Agriwal's presentation, he means that they mostly use MySQL as a key/value store. That is, they don't do complex SQL queries, they just look up individual rows by primary key and update them in the same manner MySQL's InnoDB storage engine is optimized for primary key access, so if you can pattern your queries to use individual rows and address them by primary key, you can achieve some great throughput. It takes some care to structure your data in this way, and it's not every application that can benefit from this strategy. Developers get into trouble when they try to store data in a key/value format (one row per attribute), but still query the data as though it's stored in conventional relational structure. When you really do need SQL operations to act on sets of rows (that is, tables), then you should store data in the traditional relational way.
Bill Karwin at Quora Visit the source
Related Q & A:
- What does it mean when a patent fee status has lapsed?Best solution by info.legalzoom.com
- What does it mean when someone says you are a very deep person?Best solution by Yahoo! Answers
- What does it mean when a condo is insolvent?Best solution by Yahoo! Answers
- What does it mean when you sleep a lot?Best solution by ChaCha
- What does it mean, when someone says "an that"?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.