mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
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
This commit is contained in:
parent
df17da8bd9
commit
62b3c90af4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
// the number of nodes to prefetch
|
||||
#define TOKU_DO_PREFETCH 1
|
||||
#define TOKU_DO_PREFETCH 2
|
||||
#if TOKU_DO_PREFETCH
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Reference in a new issue