Commit 62b3c90a authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

epic table scans are much faster with prefetch 2 ahead. closes #1513

git-svn-id: file:///svn/toku/tokudb@9727 c7de825b-a66e-492c-adef-691d508d4ae1
parent df17da8b
...@@ -3337,7 +3337,7 @@ static int ...@@ -3337,7 +3337,7 @@ static int
brt_search_node (BRT brt, BRTNODE node, brt_search_t *search, BRT_GET_STRADDLE_CALLBACK_FUNCTION getf, void *getf_v, enum reactivity *re, BOOL *doprefetch, BRT_CURSOR brtcursor); brt_search_node (BRT brt, BRTNODE node, brt_search_t *search, BRT_GET_STRADDLE_CALLBACK_FUNCTION getf, void *getf_v, enum reactivity *re, BOOL *doprefetch, BRT_CURSOR brtcursor);
// the number of nodes to prefetch // the number of nodes to prefetch
#define TOKU_DO_PREFETCH 1 #define TOKU_DO_PREFETCH 2
#if TOKU_DO_PREFETCH #if TOKU_DO_PREFETCH
static void static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment