MySQL  8.0.19
Source Code Documentation
btr0types.h File Reference
#include "univ.i"
#include "page0size.h"
#include "page0types.h"
#include "rem0types.h"
#include "sync0rw.h"

Go to the source code of this file.

Macros

#define BTR_EXTERN_FIELD_REF_SIZE   FIELD_REF_SIZE
 The size of a reference to data stored on a different page. More...
 
#define BTR_EXTERN_LOCAL_STORED_MAX_SIZE   (BTR_EXTERN_FIELD_REF_SIZE * 2)
 If the data don't exceed the size, the data are stored locally. More...
 

Variables

bool btr_search_enabled
 Is search system enabled. More...
 
ulong btr_ahi_parts
 Number of adaptive hash index partition. More...
 

Detailed Description

The index tree general types

Created 2/17/1996 Heikki Tuuri

Macro Definition Documentation

◆ BTR_EXTERN_FIELD_REF_SIZE

#define BTR_EXTERN_FIELD_REF_SIZE   FIELD_REF_SIZE

The size of a reference to data stored on a different page.

The reference is stored at the end of the prefix of the field in the index record.

◆ BTR_EXTERN_LOCAL_STORED_MAX_SIZE

#define BTR_EXTERN_LOCAL_STORED_MAX_SIZE   (BTR_EXTERN_FIELD_REF_SIZE * 2)

If the data don't exceed the size, the data are stored locally.

Variable Documentation

◆ btr_ahi_parts

ulong btr_ahi_parts

Number of adaptive hash index partition.

◆ btr_search_enabled

bool btr_search_enabled

Is search system enabled.

Search system is protected by array of latches.