summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/btmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/include/btmem.h')
-rw-r--r--src/third_party/wiredtiger/src/include/btmem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/include/btmem.h b/src/third_party/wiredtiger/src/include/btmem.h
index 438e888a6b6..58fd2bd2ac6 100644
--- a/src/third_party/wiredtiger/src/include/btmem.h
+++ b/src/third_party/wiredtiger/src/include/btmem.h
@@ -228,6 +228,9 @@ struct __wt_ovfl_reuse {
* point. If we need to store more information, we can potentially tack extra information at the end
* of the "value" buffer and then use bit flags within the update type to determine how to interpret
* it.
+ *
+ * We also configure a larger than default internal page size to accommodate for larger history
+ * store keys. We do that to reduce the chances of having to create overflow keys on the page.
*/
#ifdef HAVE_BUILTIN_EXTENSION_SNAPPY
#define WT_HS_COMPRESSOR "snappy"
@@ -239,6 +242,7 @@ struct __wt_ovfl_reuse {
#define WT_HS_CONFIG \
"key_format=" WT_HS_KEY_FORMAT ",value_format=" WT_HS_VALUE_FORMAT \
",block_compressor=" WT_HS_COMPRESSOR \
+ ",internal_page_max=16KB" \
",leaf_value_max=64MB" \
",prefix_compression=false"