MySQL 9.1.0
Source Code Documentation
|
Profiling data for an iterator, needed by 'EXPLAIN ANALYZE'. More...
#include <row_iterator.h>
Public Member Functions | |
virtual double | GetFirstRowMs () const =0 |
Time (in ms) spent fetching the first row. More... | |
virtual double | GetLastRowMs () const =0 |
Time (in ms) spent fetching the remaining rows. More... | |
virtual uint64_t | GetNumInitCalls () const =0 |
The number of loops (i.e number of iterator->Init() calls. More... | |
virtual uint64_t | GetNumRows () const =0 |
The number of rows fetched. More... | |
virtual | ~IteratorProfiler ()=default |
Profiling data for an iterator, needed by 'EXPLAIN ANALYZE'.
Note that an iterator may be iterated over multiple times, e.g. if it is the inner operand of a neste loop join. This is denoted 'loops' below, and the metrics in this class are aggregated values for all loops.
|
virtualdefault |
|
pure virtual |
Time (in ms) spent fetching the first row.
(Sum for all loops.)
Implemented in anonymous_namespace{composite_iterators.cc}::DummyIteratorProfiler, and IteratorProfilerImpl.
|
pure virtual |
Time (in ms) spent fetching the remaining rows.
(Sum for all loops.)
Implemented in anonymous_namespace{composite_iterators.cc}::DummyIteratorProfiler, and IteratorProfilerImpl.
|
pure virtual |
The number of loops (i.e number of iterator->Init() calls.
Implemented in anonymous_namespace{composite_iterators.cc}::DummyIteratorProfiler, and IteratorProfilerImpl.
|
pure virtual |
The number of rows fetched.
(Sum for all loops.)
Implemented in anonymous_namespace{composite_iterators.cc}::DummyIteratorProfiler, and IteratorProfilerImpl.