aboutsummaryrefslogtreecommitdiff
path: root/db/dbformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbformat.h')
-rw-r--r--db/dbformat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/dbformat.h b/db/dbformat.h
index f7f64da..5d8a032 100644
--- a/db/dbformat.h
+++ b/db/dbformat.h
@@ -38,6 +38,9 @@ static const int kL0_StopWritesTrigger = 12;
// space if the same key space is being repeatedly overwritten.
static const int kMaxMemCompactLevel = 2;
+// Approximate gap in bytes between samples of data read during iteration.
+static const int kReadBytesPeriod = 1048576;
+
} // namespace config
class InternalKey;