MySQL  8.0.19
Source Code Documentation
row0pread.cc File Reference
#include <array>
#include "btr0pcur.h"
#include "dict0dict.h"
#include "os0thread-create.h"
#include "row0mysql.h"
#include "row0pread.h"
#include "row0row.h"
#include "row0vers.h"
#include "ut0new.h"

Classes

class  PCursor
 Persistent cursor wrapper around btr_pcur_t. More...
 

Variables

static constexpr size_t SPLIT_THRESHOLD {3}
 Tree depth at which we decide to split blocks further. More...
 
static constexpr size_t MAX_READ_AHEAD_REQUESTS {128}
 Size of the read ahead request queue. More...
 
constexpr static size_t MAX_READ_AHEAD_THREADS {2}
 Maximum number of read ahead threads to spawn. More...
 

Detailed Description

Parallel read implementation

Created 2018-01-27 by Sunny Bains

Variable Documentation

◆ MAX_READ_AHEAD_REQUESTS

constexpr size_t MAX_READ_AHEAD_REQUESTS {128}
staticconstexpr

Size of the read ahead request queue.

◆ MAX_READ_AHEAD_THREADS

constexpr static size_t MAX_READ_AHEAD_THREADS {2}
staticconstexpr

Maximum number of read ahead threads to spawn.

Partitioned tables can have 1000s of partitions. We don't want to spawn dedicated threads per scan context.

◆ SPLIT_THRESHOLD

constexpr size_t SPLIT_THRESHOLD {3}
staticconstexpr

Tree depth at which we decide to split blocks further.