24#ifndef TABLE_IO_WAITS_SUMMARY_BY_TABLE_H
25#define TABLE_IO_WAITS_SUMMARY_BY_TABLE_H
91 int rnd_pos(
const void *pos)
override;
93 int index_init(uint idx,
bool sorted)
override;
98 bool read_all)
override;
Definition: pfs_engine_table.h:299
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:69
Definition: table_tiws_by_table.h:60
PFS_key_object_schema m_key_2
Definition: table_tiws_by_table.h:74
virtual bool match(const PFS_table_share *share)
Definition: table_tiws_by_table.cc:113
PFS_key_object_name m_key_3
Definition: table_tiws_by_table.h:75
PFS_key_object_type m_key_1
Definition: table_tiws_by_table.h:73
~PFS_index_tiws_by_table() override=default
PFS_index_tiws_by_table()
Definition: table_tiws_by_table.h:62
Definition: table_helper.h:1610
Definition: table_helper.h:1595
Definition: table_helper.h:1635
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:39
Table PERFORMANCE_SCHEMA.TABLE_IO_WAITS_SUMMARY_BY_TABLE.
Definition: table_tiws_by_table.h:79
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_tiws_by_table.cc:178
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_tiws_by_table.cc:161
table_tiws_by_table()
Definition: table_tiws_by_table.cc:149
static Plugin_table m_table_def
Table definition.
Definition: table_tiws_by_table.h:111
~table_tiws_by_table() override=default
static ha_rows get_row_count()
Definition: table_tiws_by_table.cc:145
row_tiws_by_table m_row
Current row.
Definition: table_tiws_by_table.h:114
static int delete_all_rows()
Definition: table_tiws_by_table.cc:139
static PFS_engine_table_share m_share
Table share.
Definition: table_tiws_by_table.h:82
int rnd_init(bool scan) override
Initialize table scan.
Definition: table_tiws_by_table.cc:159
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_tiws_by_table.cc:241
PFS_index_tiws_by_table * m_opened_index
Definition: table_tiws_by_table.h:121
PFS_simple_index m_next_pos
Next position.
Definition: table_tiws_by_table.h:118
PFS_simple_index m_pos
Current position.
Definition: table_tiws_by_table.h:116
int make_row(PFS_table_share *table_share)
Definition: table_tiws_by_table.cc:220
int index_init(uint idx, bool sorted) override
Definition: table_tiws_by_table.cc:191
int index_next() override
Find key in index, read record.
Definition: table_tiws_by_table.cc:200
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_tiws_by_table.cc:154
static THR_LOCK m_table_lock
Table share lock.
Definition: table_tiws_by_table.h:109
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_tiws_by_table.cc:135
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1139
static PFS_engine_table_share_proxy table
Definition: pfs.cc:60
Definition: buf0block_hint.cc:29
Performance schema tables (declarations).
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:357
Row fragment for columns OBJECT_TYPE, SCHEMA_NAME, OBJECT_NAME.
Definition: table_helper.h:602
Position of a cursor, for simple iterations.
Definition: pfs_engine_table.h:557
Row fragment for table I/O statistics columns.
Definition: table_helper.h:735
Instrumentation metadata for a table share.
Definition: pfs_instr_class.h:404
Definition: thr_lock.h:138
A row of table PERFORMANCE_SCHEMA.TABLE_IO_WAITS_SUMMARY_BY_TABLE.
Definition: table_tiws_by_table.h:53
PFS_table_io_stat_row m_stat
Columns COUNT/SUM/MIN/AVG/MAX (+_READ, +WRITE).
Definition: table_tiws_by_table.h:57
PFS_object_row m_object
Column OBJECT_TYPE, SCHEMA_NAME, OBJECT_NAME.
Definition: table_tiws_by_table.h:55
Helpers to implement a performance schema table.