summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/docs/tune-close.dox
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/docs/tune-close.dox')
-rw-r--r--src/third_party/wiredtiger/src/docs/tune-close.dox13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/docs/tune-close.dox b/src/third_party/wiredtiger/src/docs/tune-close.dox
new file mode 100644
index 00000000000..dd615e3e460
--- /dev/null
+++ b/src/third_party/wiredtiger/src/docs/tune-close.dox
@@ -0,0 +1,13 @@
+/*! @page tune_close Connection close
+
+Closing a WT_CONNECTION:: handle can be expensive, in part because of
+the cost of freeing memory (for example, the memory allocated for a
+large cache). If the process is exiting regardless, configuring
+WT_CONNECTION::close to leak memory on close can significantly speed up
+the close.
+
+An example of configuring WT_CONNECTION::close to leak memory:
+
+@snippet ex_all.c Connection close leaking memory
+
+ */