Number of transaction logs

2023-08-15 11:20:56  Updated

This topic describes the monitoring metric number of transaction logs within an OceanBase Database tenant. The atomicity, consistency, isolation, and durability (ACID) of a transaction depend on transaction log tracking. Each operation is written to a log file before it is written to a database. After the transaction is committed, the SQL statements involved in the transaction are batch synchronized to the database files on a disk. After the logs in the log file are synchronized to the disk, the corresponding space is automatically released. You can specify a statistical period to query statistics about the number of transaction logs in a single zone or on a single OBServer of an OceanBase Database tenant.

Number of transaction logs

Definition

The number of transaction logs committed per second within a tenant in the specified statistical period.

Description

Metric Metric field name Unit
- trans_commit_log_count count

Calculation expression

sum(rate(ob_sysstat{stat_id="30002",@LABELS}[@INTERVAL])) by (@GBLABELS)

Contact Us