tencent cloud

TencentDB for DBbrain

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Strengths
Use Cases
Feature List
Region List
Purchase Guide
Operation Guide
Cloud Access Management
Self-Built Database Access
Instance Overview
Instance Management
Monitoring and Alarms
Health Report and Kill Session Report Management
MySQL/TDSQL-C for MySQL Performance Optimization
TDSQL for MySQL/MariaDB Performance Optimization
Distributed cache database (Distributed Cache) diagnostic optimization
MongoDB Performance Optimization
Full-Link Analysis
Practical Tutorial
Fixing High CPU Utilization on MySQL Instance
Fixing Lock Conflict on MySQL Instance
How to Address High CPU Utilization Issues in Distributed Cache Instances
Fixing High CPU Utilization in MongoDB Instance
Fixing Short Node Oplog Retention Period in MongoDB Instance
API Documentation
History
Introduction
Introduction
API Category
Making API Requests
Session Killing APIs
Exception Detection APIs
Other APIs
Redis related APIs
Health Report Email Sending APIs
Space Analysis APIs
Slow Log Analysis APIs
Security Audit APIs
Database Audit APIs
Data Types
Error Codes
DBbrain APIs 2019-10-16
FAQs
Self-Built Database Issues
MySQL Performance
Product
Service Level Agreement
Glossary
Contact Us

Space Analysis

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-02-11 21:09:40
With the Space Analysis feature provided by DBbrain, users can view the utilization of instance space, including the sizes of data space and log space, the average daily growth of space utilization, and the estimated number of available days, as well as view the usage details and trends of table space and database space within the instance.

Viewing Disk Space

1. Log in to the DBbrain console.
2. In the left sidebar, select Performance Optimization.
3. At the top of the page, select the database type, instance ID, or shard ID, and select the Memory Analysis tab.
On the Space Analysis page, you can view the average daily growth for the past week, remaining disk space, estimated available days, and the disk space trend chart for the last 30 days.
Remaining Disk Space = Total Availability (Log Disk + Data Disk) - Used Quota (Log disk + Data disk)


Viewing Top Tables

The Top Tables display details of tables with large space usage, including storage engine, physical file size, number of rows, total used space, data space, index space, fragment space, and fragmentation rate. The information helps you understand disk space usage and optimize it in a timely manner.
Note:
The Top Tables/Databases feature supports manual refresh. By default, data is collected once a day. If the data collection time is significantly different from the current time, causing inaccurate information, you can click manual refresh to trigger real-time collection and analysis of Top table/database information. Note that if there are many instance tables or high access pressure, some delay may occur.
1. Log in to the DBbrain console.
2. In the left sidebar, select Performance Optimization.
3. At the top of the page, select the database type, instance ID, or shard ID, and select the Memory Analysis tab.
4. Select the Top Tables tab, and select the sort fields (descending), including data space, index space, total used space, fragment space, fragmentation rate, and number of rows, to view the Top Table list.

5. Click a data row in the Top Table list to view table details and trend charts.
Table Info: Displays detailed information about the fields and indexes of the table. Field information includes table name, column name, field type, default value, nullable, character set, sort, column position, and remarks. Index information includes table name, index name, non-unique index, included columns, sequence number, and cardinality.

Trend: Includes trend charts for physical file size, space occupancy (data space, index space, total used space), and fragmentation rate (fragment space, fragmentation rate).

6. (Optional) In the top-right corner of the list, click

to download the Top Table data in .csv format.

Viewing Top Databases

The Top Databases display details of databases with large space usage, including physical file size, number of rows, total used space, data space, index space, fragment space, and fragmentation rate. The information helps you understand disk space usage and optimize it in a timely manner.
1. Log in to the DBbrain console.
2. In the left sidebar, select Performance Optimization.
3. At the top of the page, select the database type, instance ID, or shard ID, and select the Memory Analysis tab.
4. Select the Top Databases tab, and select the sort fields (descending), including data space, index space, total used space, fragment space, fragmentation rate, and number of rows, to view the Top Databases list.
5. In the Top Databases list, click the row of a table to view the trend chart. The trend chart includes the trend of the physical file size, space usage (data space, index space, and total used space), and fragmentation rate (fragment space, fragmentation rate).

6. (Optional) In the top-right corner of the list, click

to download the data in TOP Databases in .csv format.

Viewing Table Without Primary Key

The Table Without Primary Key section displays information about tables in the current instance lacking primary keys. Such tables pose potential risks and may affect instance read/write performance and synchronization efficiency. It is recommended to promptly address these tables and add primary keys suitable for the business scenarios.
1. Log in to the DBbrain console.
2. In the left sidebar, select Performance Optimization.
3. Select the Memory Analysis tab, and at the top of the page, select the database type, instance ID, or shard ID.
4. Select the Table Without Primary Key tab to view the list of tables without a primary key.
The list of tables without primary key supports two refreshing methods: regular scan (once per day) and manual refresh. Click a table in the list to view its field and index information. Field information includes table name, column name, field type, default value, nullable, character set, sort, column position, and remarks. Index information includes table name, index name, non-unique index, included column, serial number, and cardinality.
5. (Optional) In the top-right corner of the list, click

to download the data of tables without primary key in .csv format.

Viewing Table Retrieval

1. Log in to the DBbrain console.
2. In the left sidebar, select Performance Optimization.
3. Select the Memory Analysis tab, and at the top of the page, select the database type, instance ID, or shard ID.
4. Select the Table Retrieval tab, select the database, enter the table name, and retrieve the space analysis data of the table.

5. Click the row of the table to view its information and trend chart.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백