Term | Status | Type | Default Value | Description |
cdb_optimize_large_trans_binlog | true | bool | false | Switch for optimizing large transactions in binlog |
cdb_optimize_large_trans_binlog_last_affected_rows_threshold | true | ulonglong | 10000 | Conditions for large transaction optimization: threshold for the number of rows affected last time |
cdb_optimize_large_trans_binlog_aver_affected_rows_threshold | true | ulonglong | 10000 | Conditions for large transaction optimization: threshold for the average number of affected rows |
cdb_sql_statistics | true | bool | false | Whether to enable the switch for collecting statistics on SQL running status |
cdb_sql_statistics_info_threshold | true | ulonglong | 10000 | The maximum number of SQL statements whose statistics are stored in the map of CDB_SQL_STATISTICS |
Term | Type | Description |
DIGEST_MD5 | MYSQL_TYPE_STRING | The MD5 calculated from the digest of this SQL statement |
DIGEST_TEXT | MYSQL_TYPE_STRING | The text format of the SQL digest |
SQL_COMMAND | MYSQL_TYPE_STRING | The type of SQL command |
FIRST_UPDATE_TIMESTAMP | MYSQL_TYPE_DATETIME | The time when this statistical record was first generated |
LAST_UPDATE_TIMESTAMP | MYSQL_TYPE_DATETIME | Last update time of this statistic |
LAST_ACCESS_TIMESTAMP | MYSQL_TYPE_DATETIME | The time when this statistical record was last accessed |
EXECUTE_COUNT | MYSQL_TYPE_LONGLONG | The number of times this type of SQL statement is executed |
TOTAL_AFFECTED_ROWS | MYSQL_TYPE_LONGLONG | The total number of affected rows |
AVER_AFFECTED_ROWS | MYSQL_TYPE_LONGLONG | The average number of affected rows |
LAST_AFFECTED_ROWS | MYSQL_TYPE_LONGLONG | The number of rows affected last time |
STMT_BINLOG_FORMAT_IF_POSSIBLE | MYSQL_TYPE_STRING | Whether this type of SQL can be written to the binlog in statement format, TRUE or FALSE |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback