MySQL 9.0.0
Source Code Documentation
ROR_SCAN_INFO Struct Reference

#include <rowid_ordered_retrieval_plan.h>

Public Attributes

uint idx
 
uint keynr
 
ha_rows records
 estimate of # records this scan will return More...
 
SEL_ROOTsel_root
 Set of intervals over key fields that will be used for row retrieval. More...
 
OverflowBitset covered_fields
 Fields used in the query and covered by this ROR scan. More...
 
Cost_estimate index_read_cost
 Cost of reading all index records with values in sel_arg intervals set (assuming there is no need to access full table records) More...
 
Bounds_checked_array< QUICK_RANGE * > ranges
 The ranges to scan for this index. More...
 
uint used_key_parts
 

Member Data Documentation

◆ covered_fields

OverflowBitset ROR_SCAN_INFO::covered_fields

Fields used in the query and covered by this ROR scan.

◆ idx

uint ROR_SCAN_INFO::idx

of used key in param->keys

◆ index_read_cost

Cost_estimate ROR_SCAN_INFO::index_read_cost

Cost of reading all index records with values in sel_arg intervals set (assuming there is no need to access full table records)

◆ keynr

uint ROR_SCAN_INFO::keynr

of used key in table

◆ ranges

Bounds_checked_array<QUICK_RANGE *> ROR_SCAN_INFO::ranges

The ranges to scan for this index.

Must be allocated on the return_mem_root.

◆ records

ha_rows ROR_SCAN_INFO::records

estimate of # records this scan will return

◆ sel_root

SEL_ROOT* ROR_SCAN_INFO::sel_root

Set of intervals over key fields that will be used for row retrieval.

◆ used_key_parts

uint ROR_SCAN_INFO::used_key_parts

The documentation for this struct was generated from the following file: