tencent cloud

TencentDB for MySQL

Tutorial Pengguna
Pengenalan Produk
Ikhtisar
Keunggulan
Kasus Penggunaan
Database Architecture
Kebijakan Isolasi Sumber Daya
Database Instance
Ketersediaan Tinggi (Beberapa AZ)
Wilayah dan AZ
Panduan Pembelian
Ikhtisar Penagihan
Metode Pembelian
Pembayaran Jatuh Tempo
Pengembalian Dana
Biaya Penyesuaian Instans
Penagihan Ruang Cadangan
Memulai
Ikhtisar
Membuat Instans MySQL
Panduan Operasi
Batas Penggunaan
Ikhtisar Operasi
Manajemen dan Pemeliharaan Instans
Peningkatan Versi
Memperluas Instans
Proksi Database
Manajemen Akun
Konfigurasi Parameter
Pencadangan dan Pengembalian
Migrasi data
Jaringan dan Keamanan
Pemantauan dan Alarm
Pusat Log
Tag
Laporan Resmi
Laporan Resmi Keamanan
Service Agreement
Service Level Agreement
Terms of Service
DokumentasiTencentDB for MySQL

Modifying Audit Services

Mode fokus
Ukuran font
Terakhir diperbarui: 2025-11-28 18:13:27
This document describes the procedure of modifying the audit service on the console.
Note:
If you choose to extend the log retention period, the change will be enforced immediately. If you choose to shorten the log retention period, logs that have exceeded their storage period will be cleaned immediately.
If you configure that data in recent n days is stored in the frequent access storage, data exceeding the n days threshold will be automatically reallocated to the infrequent access storage. As the duration of frequent access storage extends, audit data compliant with the retention duration will be automatically migrated from infrequent to frequent access storage.
SQL analysis option description: TencentDB for DBbrain provides comprehensive capabilities for locating and analyzing database issues based on the database audit. It supports the localization of abnormal SQL queries, SQL template aggregation statistics, and multi-dimensional performance comparison. This option is enabled by default and can be manually disabled. Once the option is disabled, the SQL analysis capability is disabled.

Prerequisites

You have enabled the audit service. For more information, see Enabling Audit Service.

Modifying the Audit Service of one Individual Instance

1. Log in to the TencentDB for MySQL console.
2. On the left sidebar, choose Database Audit.
3. After selecting the desired Region at the top, proceed to the Audit Instances page, and then click Audit Status and select the Enabled option to filter the instances with audit enabled.
4. Locate the target instance in the Audit Instances list (or you can quickly find it by filtering resource attributes in the search box), and in the Operation column, select More > Modify Audit Service.

5. On the Modify Audit Service page, after adjusting the Log Retention Period or the Frequent Access Storage Period, click OK.


Modifying Audit Services in Batches

1. Log in to the TencentDB for MySQL console.
2. On the left sidebar, choose Database Audit.
3. After selecting a Region at the top, click on Audit Status and select Enabled on the Audit Instances page to filter instances without active audit process.
4. Find the target instances in the Audit Instance list, or expediently locate them using resource attribute filters in the search bar. On the Audit Instance page, select multiple target instances, and then click Modify Audit Service located above the list.

5. On the Modify Audit Service page, after adjusting the Log Retention Period or the Frequent Access Storage Period, click OK.
Note:
For ease of comparison, the Batch Modify Audit Service page will display the log retention period both before and after modification. After the adjustment, the selected instances will collectively begin to adapt to the new log retention period. Therefore, ensure the modifications are accurate before proceeding.


Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan