summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2012-10-10 13:08:12 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2012-10-10 13:08:12 +1100
commit3ee3a88be6dfe28aca3fb1bb8430331f0f14bc30 (patch)
tree9078c96e56ddb9d9f90670fe14e14568514360ae
parent494c30cdf1b5045b758cb94837ba66800924d57a (diff)
downloadmongo-3ee3a88be6dfe28aca3fb1bb8430331f0f14bc30.tar.gz
Use "raw" for LSM chunk cursors to optimize getting data in/out.
-rw-r--r--src/lsm/lsm_cursor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lsm/lsm_cursor.c b/src/lsm/lsm_cursor.c
index a885632c501..a05e3f36bbf 100644
--- a/src/lsm/lsm_cursor.c
+++ b/src/lsm/lsm_cursor.c
@@ -114,9 +114,9 @@ __clsm_open_cursors(WT_CURSOR_LSM *clsm, int start_chunk)
WT_LSM_TREE *lsm_tree;
WT_SESSION_IMPL *session;
const char *ckpt_cfg[] = API_CONF_DEFAULTS(session, open_cursor,
- "checkpoint=WiredTigerCheckpoint");
+ "checkpoint=WiredTigerCheckpoint,raw");
const char *merge_cfg[] = API_CONF_DEFAULTS(session, open_cursor,
- "checkpoint=WiredTigerCheckpoint,no_cache");
+ "checkpoint=WiredTigerCheckpoint,no_cache,raw");
int i, nchunks;
session = (WT_SESSION_IMPL *)clsm->iface.session;