MySQL 8.0.40
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...
 
MY_BITMAP covered_fields
 Fields used in the query and covered by this ROR scan. More...
 
MY_BITMAP covered_fields_remaining
 Fields used in the query that are a) covered by this ROR scan and b) not already covered by ROR scans ordered earlier in the merge sequence. More...
 
uint num_covered_fields_remaining
 Number of fields in covered_fields_remaining (caching of bitmap_bits_set()) 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

MY_BITMAP ROR_SCAN_INFO::covered_fields

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

◆ covered_fields_remaining

MY_BITMAP ROR_SCAN_INFO::covered_fields_remaining

Fields used in the query that are a) covered by this ROR scan and b) not already covered by ROR scans ordered earlier in the merge sequence.

◆ 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

◆ num_covered_fields_remaining

uint ROR_SCAN_INFO::num_covered_fields_remaining

Number of fields in covered_fields_remaining (caching of bitmap_bits_set())

◆ 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: