Home | History | Annotate | Download | only in db

Lines Matching refs:Compaction

30 class Compaction;
77 // compaction may need to be triggered, false otherwise.
100 // Return the level at which we should place a new memtable compaction
111 friend class Compaction;
129 // Level that should be compacted next and its compaction score.
130 // Score < 1 means compaction is not strictly needed. These fields
212 // Pick level and inputs for a new compaction.
213 // Returns NULL if there is no compaction to be done.
215 // describes the compaction. Caller should delete the result.
216 Compaction* PickCompaction();
218 // Return a compaction object for compacting the range [begin,end] in
222 Compaction* CompactRange(
231 // Create an iterator that reads over the compaction inputs for "*c".
233 Iterator* MakeInputIterator(Compaction* c);
235 // Returns true iff some level needs a compaction.
259 friend class Compaction;
273 void SetupOtherInputs(Compaction* c);
299 // Per-level key at which the next compaction at that level should start.
308 // A Compaction encapsulates information about a compaction.
309 class Compaction {
311 ~Compaction();
318 // by this compaction.
327 // Maximum size of files to build during this compaction.
330 // Is this a trivial compaction that can be implemented by just
334 // Add all inputs to this compaction as delete operations to *edit.
338 // the compaction is producing data in "level+1" for which no data exists
346 // Release the input version for the compaction, once the compaction
354 explicit Compaction(int level);
361 // Each compaction reads inputs from "level_" and "level_+1"
376 // higher level than the ones involved in this compaction (i.e. for