tencent cloud

TencentDB for MySQL

動向とお知らせ
製品アップデート情報一覧
初心者ガイド
製品紹介
製品概要
製品の優位性
適用シナリオ
データベースのアーキテクチャ
タグ編集
製品機能リスト
データベースインスタンス
高可用性(マルチアベイラビリティゾーン)
地域とAvailability Zone
自社研究カーネル
TXSQLカーネル概要
機能系特性
パフォーマンス系特性
セキュリティ系特性
安定性系特性
TXRocksエンジン
購入ガイド
課金概要
購入方法
支払い更新の説明
支払い延滞の説明
返金説明
インスタンス調整の料金の説明
バックアップキャパシティ課金説明
クイックスタート
概要
MySQLインスタンスの作成
操作ガイド
使用制限
操作一覧
インスタンスの管理とメンテナンス
アップグレードインスタンス
拡張インスタンス
データベースプロキシ
データベース管理(DMC)
アカウント管理
パラメータ設定
バックアップとロールバック
データ移行
インターネットとセキュリティ
監視とアラーム
ログセンター
タグ
プラクティスチュートリアル
MySQL利用規約
アプリケーションの自動再接続機能のコンフィグレーション
MySQLマスターインスタンスパラメータの変更影響
MyISAMからInnoDBエンジンへの切り替え制限
TencentDB for MySQLのためのVPC作成
MySQLによるサービス負荷能力の向上
2地域3センターのディザスタリカバリ構築
リード・ライト分離によるTencentDB for MySQLパフォーマンスの拡張
DTSでInnoDBデータをRocksDBに移行します
LAMPスタック上のWebアプリケーションの構築
Drupalウエブサイトの構築
Python言語によるMySQL APIの使用
ホワイトペーパー
パフォーマンス白書
セキュリティ白書
トラブルシューティング
接続に関する問題
性能関連
インスタンスデータの同期遅延
大文字と小文字を区別しない設定に失敗しました
APIドキュメント
History
Introduction
API Category
Instance APIs
Making API Requests
Data Import APIs
Database Proxy APIs
Database Audit APIs
Security APIs
Task APIs
Backup APIs
Account APIs
Rollback APIs
Parameter APIs
Database APIs
Monitoring APIs
Log-related API
Data Types
Error Codes
よくある質問
課金関連
ロールバック関連の問題
接続とログインに関する問題
パラメータを変更
アップグレード関連の問題
アカウント権限
性能メモリ
運営する
データ移行
機能特徴
コンソール関連
ログ関連
API 2.0切り替え 3.0ガイド
Service Agreement
Service Level Agreement
Terms of Service
汎用参考
標準と認証
お問い合わせ
用語集
ドキュメントTencentDB for MySQL

Modifying Audit Services

フォーカスモード
フォントサイズ
最終更新日: 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.


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック