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

MySQL Performance

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2022-07-31 17:03:51

How do I view the storage capacity usage of a TencentDB for MySQL instance?

Log in to the DBbrain Console and select Performance Optimization on the left sidebar. On the displayed page, select a database at the top and select the Space Analysis tab. On the capacity analysis page, you can view the comparison between daily increases in the last week, available disk capacity, estimated number of available days, and disk capacity usage trends in the last week. In addition, you can view the capacity utilization and fragmentation details of each database table in your instance.



How do I analyze the full SQL execution track of a TencentDB for MySQL instance?

Log in to the DBbrain Console and select Performance Optimization on the left sidebar. On the displayed page, select a database at the top and select the Audit Log Analysis tab.
1. Click Create Analysis Task at the top of the chart, select the desired time period, and click Confirm.
2. Click View SQL Analysis in the task list to access the SQL analysis page.


3. On the SQL analysis page, you can display the view by SQL Type, Host and User and specify a time period to expand the view and view data at specific time points.


4. Click the SQL template on the target row, and the SQL statement details will be displayed on the right.
On the analysis page, you can view and copy specific SQL statements and optimize them based on the provided optimization suggestion or description.
On the statistics page, you can view the statistical analysis and execution duration track of the specified types of SQL statements by Host, User, and SQL Code.

How do I perform diagnosis or optimization by myself when a TencentDB for MySQL instance is faulty or has an exception?

1. Log in to the DBbrain Console and select Performance Optimization on the left sidebar. On the displayed page, select a database at the top and select the Exception Diagnosis tab.
2. The "Diagnosis Prompt" column displays the diagnosis event history, including the health level, start time, diagnosis items, and duration. DBbrain performs health checks on the instance regularly.


3. You can click View Details or a diagnosis item in the "Diagnosis Prompt" to access the diagnosis details page. Click a diagnosis event in the view, and its details will be displayed below, including the event overview, symptom description, intelligent analysis, and expert suggestions. Based on the expert suggestions, you can perform optimization to solve the database exception and improve the instance performance.



How can I receive the TencentDB for MySQL health report regularly?

Log in to the DBbrain Console and select Performance Optimization on the left sidebar. On the displayed page, select a database at the top and select the Health Report tab. You can view health score trends and the problem overview for the specified time period.
Select the report time range and click Create Health Report. After the task is completed, you can view or download the health report for the specified time period.
Click Regular Generation Settings to configure the frequency for automatically generating health reports.


How do I view and optimize MySQL slow logs?

1. Log in to the DBbrain Console, select Diagnosis and Optimization on the left sidebar, and select Slow SQL Analysis at the top. The "SQL Statistics" section displays the number of slow queries and the CPU utilization of the instance.
2. You can click or drag slow queries in "SQL Statistics", and the aggregated SQL template and execution information will be displayed below. Each column of data can be sorted in ascending or descending order. The duration distribution section on the right displays the distribution of the overall SQL statement execution duration for the selected time period.


3. Click an aggregated SQL template and the SQL optimization suggestions and statistics will be displayed on the right. You can rewrite the SQL statement or add appropriate indexes based on the optimization suggestion to improve the SQL statement execution efficiency and database performance.



Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan