MySQL 8.0.32
Source Code Documentation
table_stats.h File Reference
#include <sys/types.h>
#include <string>
#include "sql/dd/object_id.h"
#include "sql/dd/string_type.h"
#include "sql/handler.h"
#include "sql_string.h"

Go to the source code of this file.

Classes

class  dd::info_schema::Table_statistics
 The class hold dynamic table statistics for a table. More...
 

Namespaces

namespace  dd
 The version of the current data dictionary table definitions.
 
namespace  dd::info_schema
 

Enumerations

enum class  dd::info_schema::enum_table_stats_type {
  dd::info_schema::TABLE_ROWS , dd::info_schema::TABLE_AVG_ROW_LENGTH , dd::info_schema::DATA_LENGTH , dd::info_schema::MAX_DATA_LENGTH ,
  dd::info_schema::INDEX_LENGTH , dd::info_schema::DATA_FREE , dd::info_schema::AUTO_INCREMENT , dd::info_schema::CHECKSUM ,
  dd::info_schema::TABLE_UPDATE_TIME , dd::info_schema::CHECK_TIME , dd::info_schema::INDEX_COLUMN_CARDINALITY
}
 

Functions

bool dd::info_schema::update_table_stats (THD *thd, Table_ref *table)
 Get dynamic table statistics of a table and store them into mysql.table_stats. More...
 
bool dd::info_schema::update_index_stats (THD *thd, Table_ref *table)
 Get dynamic index statistics of a table and store them into mysql.index_stats. More...
 
bool dd::info_schema::convert_table_name_case (char *db, char *table_name)
 If the db is 'information_schema' then convert 'db' to lowercase and 'table_name' to upper case. More...