Dhruba Borthakur
5b0fe6c73b
Greedy algorithm for picking files to compact.
...
Summary:
It is best if we pick the largest file to compact in a level.
This reduces the write amplification factor for compactions.
Each level has an auxiliary data structure called files_by_size_
that sorts all files by their size. This data structure is
updated when a new version is created.
Test Plan: make check
Differential Revision: https://reviews.facebook.net/D6195
2012-10-25 18:27:53 -07:00
..
2012-08-27 21:24:17 -07:00
2011-10-31 17:22:06 +00:00
2012-08-28 11:43:33 -07:00
2012-09-06 17:52:08 -07:00
2012-06-27 14:36:31 -07:00
2012-10-19 15:16:42 -07:00
2012-09-25 03:13:25 -07:00
2012-10-22 11:53:23 -07:00
2012-10-22 11:53:23 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-05-30 16:42:45 -07:00
2012-09-16 19:33:43 -07:00
2012-10-23 22:30:07 -07:00
2011-10-31 17:22:06 +00:00
2012-04-17 08:36:46 -07:00
2012-06-27 14:36:31 -07:00
2011-10-31 17:22:06 +00:00
2012-09-06 17:52:08 -07:00
2012-09-06 17:52:08 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-10-19 14:00:53 -07:00
2012-10-19 14:00:53 -07:00
2012-10-19 14:00:53 -07:00
2012-10-19 14:00:53 -07:00
2012-10-19 14:00:53 -07:00
2011-10-31 17:22:06 +00:00
2012-10-19 14:00:53 -07:00
2011-10-31 17:22:06 +00:00
2012-09-28 11:10:52 -07:00
2012-09-28 11:10:52 -07:00
2012-06-27 14:36:31 -07:00
2012-08-29 14:24:51 -07:00
2012-10-19 14:00:53 -07:00
2011-10-31 17:22:06 +00:00
2012-10-25 18:27:53 -07:00
2012-10-25 18:27:53 -07:00
2012-03-08 16:23:21 -08:00
2012-03-08 16:23:21 -08:00
2012-03-08 16:23:21 -08:00