diff --git a/db/dbformat.h b/db/dbformat.h index a1c30ed88..59040a183 100644 --- a/db/dbformat.h +++ b/db/dbformat.h @@ -28,10 +28,10 @@ static const int kNumLevels = 7; static const int kL0_CompactionTrigger = 4; // Soft limit on number of level-0 files. We slow down writes at this point. -static const int kL0_SlowdownWritesTrigger = 8; +static const int kL0_SlowdownWritesTrigger = 16; // Maximum number of level-0 files. We stop writes at this point. -static const int kL0_StopWritesTrigger = 12; +static const int kL0_StopWritesTrigger = 64; // Maximum level to which a new compacted memtable is pushed if it // does not create overlap. We try to push to level 2 to avoid the