
Time Span | Monitoring Granularity | Adaptive Description | Retention Duration |
(0h, 4h] | 5s | Time range within 4 hours, monitoring granularity is 5 seconds. | 1 day |
(4h, 2d] | 1min | If the time range exceeds 4 hours but is within 2 days, the monitoring granularity is adjusted to 1 minute. | 15 days |
(2d, 10d] | 5min | If the time range exceeds 2 days but is within 10 days, the monitoring granularity is adjusted to 5 minutes. | 31 days |
(10d, 30d] | 1h | If the time range exceeds 10 days but is within 30 days, the monitoring granularity is adjusted to 1 hour. | 62 days |
(30d, 180d] | 1 day | If the time range exceeds 30 days but is within 180 days, the monitoring granularity is adjusted to 1 day. | 180 days |
Monitoring Metric Name | Callable Metric Name | Unit | Description |
CPU Utilization | CpuUseRate | % | May exceed 100% because some idle CPU resources can be overused. |
Memory Utilization | MemoryUseRate | % | May exceed 100% because some idle CPU resources can be overused. |
Memory Usage | MemoryUse | MB | May exceed purchase specifications because some idle CPU resources can be overused. |
Disk utilization | VolumeRate | % | Not on the allowlist: Disk utilization = Data usage space/Purchased instance space. Added to the allowlist: Disk utilization = (Data usage space + Log usage space)/Purchased instance space. Note: The disk utilization is calculated by the following formula: Disk utilization = (Data usage space + Log usage space)/Purchased instance space. If you need to display disk utilization, contact after-sales to enable this feature. |
Data file usage (formerly known as data file storage space) | RealCapacity | MB | Total storage space for data files. |
Storage usage (formerly known as disk usage) | Capacity | MB | Size of storage space used by users. |
Storage utilization | CapacityRate | % | (Size of storage space used by users / purchased space) * 100%. Used as a metric for users to determine whether storage space is overused for billing purposes. |
Data file space utilization | RealCapacityRate | % | (Size of instance data file storage space / purchased space) * 100%. Used as a metric for users to determine whether storage space is overused and locked. |
Log file usage | LogFileCapacity | MB | Total storage space for log files. |
binlog file space | LogCapacityBinlog | MB | Storage space for binlog files. |
redolog file space | LogCapacityRedolog | MB | Storage space for redolog files. |
undolog file space | LogCapacityUndolog | MB | Storage space for undolog files. |
relaylog file space | LogCapacityRelaylog | MB | Storage space for relaylog files. |
slowlog file space | LogCapacitySlowlog | MB | Storage space for slowlog files. |
errorlog file space | LogCapacityErrorlog | MB | Storage space for errorlog files. |
Other log file space | LogFileCapacityElse | MB | Storage space for log files other than those listed above. |
Log file space utilization | LogFileCapacityRate | % | (Total log file storage space / purchased space) * 100%. |
Other files | CapacityElse | MB | Instance temporary files and other files. |
Temporary files | DiskTmpUsed | MB | Temporary files generated by operations such as temporary tables and sorting. |
Unclassified files | OtherFileCapacity | MB | Other unclassified files. |
Remaining storage space | RemainCapacity | MB | Purchased space - storage space usage. |
Remaining storage utilization | RemainCapacityRate | % | ((Purchased space - storage space usage) / purchased space) * 100%. |
IOPS | Iops | counts/sec | Number of I/O operations per second. |
IOPS utilization | IopsUseRate | % | IOPS utilization. |
Private network outbound traffic | BytesSent | Byte/second | Number of bytes sent per second. |
Private network inbound traffic | BytesReceived | Byte/second | Number of bytes received per second. |
Queries per second | Qps | counts/sec | Number of SQL statements executed per second by the database (including operations such as insertion, selection, update, deletion, and replacement) primarily reflects the actual processing capability of the TencentDB for MySQL instance. |
Transactions per second | Tps | counts/sec | Number of transactions processed per second by the database. |
Connection utilization | ConnectionUseRate | % | Current number of established connections/Maximum number of allowed connections. |
Maximum Number of Connections | MaxConnections | pcs | The maximum connections. |
Number of open connections | ThreadsConnected | pcs | Current number of established connections. |
Number of slow queries | SlowQueries | | Number of queries that exceed the long_query_time threshold, measured in seconds. |
Number of full-table scans | SelectScan | counts/sec | Number of full-table scans per second. |
Number of queries | SelectCount | counts/sec | Number of queries per second. |
Number of Updates | ComUpdate | counts/sec | Number of updates per second. |
Number of deletions | ComDelete | counts/sec | Number of deletions per second. |
Number of insertions | ComInsert | counts/sec | Number of insertions per second. |
The number of Replaces | ComReplace | counts/sec | Number of replacements per second. |
Total number of requests | Queries | counts/sec | All executed SQL statements, including set and show. |
Query utilization | QueryRate | % | Queries per second/Recommended queries per second. |
Number of temporary tables | CreatedTmpTables | Counts/second | Number of temporary memory tables. |
Number of table lock waits | TableLocksWaited | counts/sec | Number of table lock waits per second. |
Cache hit rate | InnodbCacheHitRate | % | InnoDB cache hit rate. |
Cache utilization | InnodbCacheUseRate | % | InnoDB cache utilization. |
Number of disk reads | InnodbOsFileReads | counts/sec | Number of InnoDB disk reads. |
Number of disk writes | InnodbOsFileWrites | counts/sec | Number of InnoDB disk writes. |
Number of Fsync operations | InnodbOsFsyncs | counts/sec | Number of InnoDB Fsync operations. |
Current number of open InnoDB tables | InnodbNumOpenFiles | pcs | Current number of open InnoDB tables. |
Cache hit rate | KeyCacheHitRate | % | MyISAM cache hit rate. |
Cache utilization | KeyCacheUseRate | % | MyISAM cache utilization. |
Number of submissions | ComCommit | counts/sec | Number of submissions per second. |
Number of rollbacks | ComRollback | counts/sec | Number of rollbacks per second. |
Number of threads created | ThreadsCreated | counts/sec | Number of threads created. |
Number of running threads | ThreadsRunning | pcs | Number of running threads. |
Number of temporary disk tables | CreatedTmpDiskTables | counts/sec | Number of temporary disk tables. |
Number of temporary files | CreatedTmpFiles | counts/sec | Number of temporary files. |
Number of requests for next row reads | HandlerReadRndNext | counts/sec | Number of requests for next row reads. |
Number of internal rollbacks | HandlerRollback | counts/sec | Number of transaction rollbacks per second. |
Number of internal submissions | HandlerCommit | counts/sec | Number of internal submissions. |
Number of InnoDB free pages | InnodbBufferPoolPagesFree | pcs | Number of InnoDB free pages. |
Total number of InnoDB pages | InnodbBufferPoolPagesTotal | pcs | Total number of InnoDB pages. |
InnoDB logical reads | InnodbBufferPoolReadRequests | counts/sec | Number of InnoDB buffer pool reads ahead. |
InnoDB physical reads | InnodbBufferPoolReads | counts/sec | Number of InnoDB disk page reads. |
Number of InnoDB data reads | InnodbDataRead | Byte/second | Number of bytes read per second by the InnoDB engine. |
Total number of InnoDB data reads | InnodbDataReads | counts/sec | Total number of InnoDB data reads. |
Total number of InnoDB data writes | InnodbDataWrites | counts/sec | Total number of InnoDB data writes. |
InnoDB data written | InnodbDataWritten | Byte/second | Number of bytes written per second by the InnoDB engine. |
InnoDB rows deleted | InnodbRowsDeleted | counts/sec | Number of rows deleted per second by the InnoDB engine. |
InnoDB rows inserted | InnodbRowsInserted | counts/sec | Number of rows inserted per second by the InnoDB engine. |
InnoDB rows updated | InnodbRowsUpdated | counts/sec | Number of rows updated per second by the InnoDB engine. |
Number of InnoDB Row Reads | InnodbRowsRead | counts/sec | Number of rows read per second by the InnoDB engine. |
Average time to acquire row locks in InnoDB | InnodbRowLockTimeAvg | Milliseconds | Average duration of row locks in the InnoDB engine. |
Number of InnoDB row lock waits | InnodbRowLockWaits | counts/sec | Number of row lock waits per second in the InnoDB engine. |
Number of unused key cache blocks | KeyBlocksUnused | pcs | Number of unused key cache blocks in the MyISAM engine. |
Number of used key cache blocks | KeyBlocksUsed | pcs | Number of used key cache blocks in the MyISAM engine. |
Number of key cache block reads | KeyReadRequests | counts/sec | Number of key cache block reads per second in the MyISAM engine. |
Number of disk block reads | KeyReads | counts/sec | Number of disk block reads per second in the MyISAM engine. |
Number of key cache block writes | KeyWriteRequests | counts/sec | Number of key cache block writes per second in the MyISAM engine. |
Number of disk block writes | KeyWrites | counts/sec | Number of disk block writes per second in the MyISAM engine. |
Number of tables opened | OpenedTables | pcs | Number of tables opened at the instance level. |
Number of table locks released immediately | TableLocksImmediate | counts/sec | Number of table locks released immediately. |
Total number of open files | OpenFiles | pcs | Total number of open files. |
Log usage | LogCapacity | MB | Log usage space. |
I/O thread status | SlaveIoRunning | Status values: 0 - Yes 1 - No 2 - Connecting | I/O thread status of the primary instance. Note: In the status values, 0 indicates "running," 1 indicates "disconnected," and 2 indicates "connecting." |
SQL thread status | SlaveSqlRunning | Status values: 0 - Yes 1 - No | SQL thread status of the primary instance. Note: In the status values, 0 indicates "running" and 1 indicates "disconnected." |
Primary-Replica delay distance | MasterSlaveSyncDistance | MB | Primary-Replica delay distance. |
Primary-Replica delay time | SecondsBehindMaster | Second | Primary-Replica delay time. |
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