Does Facebook use Mysql partitioning features?
-
Would be great if you could tell a bit about the use cases and how partitioning helped.
-
Answer:
We do use some partitioning features on various databases. We currently don't use it on our largest tier however. The primary use case is for dealing with a moving window of retained data. We use range partitioning based on time and create partitions for future dates. Once data gets too old, it will then be dropped. The exact size of the partition will depend upon the desired retention period. We normally try to limit tables to 100 partitions at the maximum due to inefficiencies in MySQL's partitions. The advantage of this is that you can remove a lot data with a minimal amount of effort and locking. In addition, it allows you to keep your data relatively defragmented since the removed data isn't interspersed throughout your table.
Harrison Fisk at Quora Visit the source
Related Q & A:
- How To Use Facebook Through Proxy?Best solution by Yahoo! Answers
- How do I use the PSP and all of its features?Best solution by Yahoo! Answers
- How to use Facebook login in a modal view in iOS SDK?Best solution by Stack Overflow
- Is it possible to use HTML on Facebook?Best solution by Yahoo! Answers
- What technology stack does Facebook use?Best solution by Quora
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.