Updated on 2026-11-17 GMT+08:00

Overview

DBA Assistant provides visualized database O&M and intelligent diagnosis for developers and database administrators (DBAs), making database O&M easy and efficient. By analyzing alarms, resources, and performance metrics, it helps users quickly locate faults and keep track of instance status.

To use DBA Assistant, IAM users must have the RDS FullAccess, DAS FullAccess (or DAS Administrator), and CES FullAccess permissions. For details, see Using IAM Roles or Policies to Grant Access to RDS.

To use DBA Assistant in certain regions, submit a service ticket.

Scenarios

  • In emergency cases, you can manually terminate slow sessions to recover your instance, improving database availability.
  • If your DB instance is unstable due to a large number of concurrent SQL requests from new services, you can set SQL throttling rules for SQL statements to limit concurrent SQL statements and ensure instance stability.
  • If your instance storage is full, you can learn about the storage usage and disk space distribution on the Storage Analysis page. You can enable storage autoscaling. When the available storage of your instance drops to the threshold, autoscaling is triggered. For details, see Configuring Storage Autoscaling.

Functions

Table 1 lists the functions supported by DBA Assistant.

Table 1 Function description

Function

Description

Reference

Sessions

  • Provides snapshots of current database sessions, with support for sorting and filtering. Session counts can be grouped by user, access source, and database.
  • Killing sessions helps restore instances in emergencies and maintain database availability.
  • You can query historical sessions, wait events, and top SQL statements for the current instance.

Real-Time Sessions

Performance

Displays key metrics of your instance and provides metric comparison between different days. You can keep track of metric changes and detect exceptions in a timely manner.

Instance Performance

Storage Analysis

When using DB instances, users are mainly concerned about data and log storage usages as well as their historical growth. RDS for PostgreSQL shows you the distribution and changes of used storage on the Storage Analysis page. It also provides storage autoscaling, intelligent tablespace diagnosis, and analysis of top 50 largest databases and tables.

Storage Analysis

SQL Analysis and Tuning

  • Slow Query Logs: Provides slow SQL analysis for a specified time period. You can view statistics by user, client, SQL template, and other dimensions, and sort the results as needed. This helps identify the sources of slow SQL statements and optimize workloads promptly.
  • SQL Insights: When Collect All Query Logs is enabled for your instance, this module analyzes all collected SQL data and provides multidimensional analysis, search, and filtering capabilities to help you gain comprehensive insights into SQL statements. Top SQL helps quickly identify the causes of anomalies and ensure database stability.
  • SQL Throttling: For scenarios where SQL statements in newly launched workloads cannot be optimized in time or sudden traffic spikes cause resource bottlenecks (for example, 100% CPU utilization), SQL throttling helps the application side control traffic in a timely manner by limiting the concurrency of SQL statements that match predefined rules, ensuring the stable operation of core workloads.
  • Auto Throttling: This function automatically detects database anomalies, such as high CPU utilization and excessive active sessions, and throttles traffic based on workload priorities to ensure the stable operation of core workloads. You can configure throttling by database or user based on your workload requirements. By configuring non-core databases or workloads as throttling targets, you can prevent core workloads from being affected.
  • SQL Statistics: Displays information from the pg_stat_statements view, providing a summary of the execution information for all SQL statements from the last reset time up to the current time. Only the first 1,000 rows are displayed.

SQL Analysis and Tuning