All Products
Search
Document Center

ApsaraDB RDS:TOP Objects

Last Updated:Mar 28, 2026

TOP Objects identifies the stored procedures, functions, and triggers consuming the most resources in your ApsaraDB RDS for SQL Server instance, so you know exactly where to focus your optimization efforts. With TOP Objects, you can:

  • Rank database objects by CPU overhead, execution duration, logical reads, physical reads, and more

  • Compare average-cost and total-cost views to distinguish occasional outliers from sustained high consumers

  • Drill into any object to view SQL statement-level metrics, including minimum, maximum, and last-execution values

Prerequisites

Before you begin, make sure that:

  • Your RDS instance does not run SQL Server 2008 R2 with cloud disks.

  • Your RDS instance resides in one of the following regions: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), China (Hohhot), China (Ulanqab), China (Shenzhen), China (Heyuan), China (Guangzhou), China (Chengdu), China (Hong Kong), Singapore, or UAE (Dubai).

View top objects

  1. Log on to the ApsaraDB RDS console. In the top navigation bar, select the region where your instance resides, then click the instance ID.

  2. In the left navigation pane, choose Autonomy Services > Performance Optimization.

  3. Click the TOP Objects tab.

  4. Configure the display options on the right side of the page: select the database, set the refresh interval, choose a sort metric, set the number of entries to display, and turn on Automatic Refresh.

    TOP Objects configuration panel

Page overview

TOP Object Overview

This section controls the data displayed on the entire page and shows when the object statistics were last updated.

ParameterDescription
DB FilterThe database whose objects to display. Select multiple databases to view them simultaneously.
Auto-Refresh IntervalThe page refresh interval when automatic refresh is on. Options: 5, 10, 30, or 60 seconds.
Top User Objects By Performance ConsumptionThe metric used to rank objects in real time. See Choosing a sort metric for guidance on which metric fits your diagnostic goal.
TOP XX EntriesThe number of top objects to display. Options: 5, 10, or 15.
Automatic RefreshEnables real-time automatic refresh of the TOP Objects page.
Data Updated AtThe time when the current statistics were generated for the instance.
Save As PDF FileSaves the current page to your local computer as a PDF file.

Choosing a sort metric

Use the following table to match your diagnostic goal to the most relevant sort metric.

Diagnostic goalRecommended metric
Find objects that spike CPU during individual executionsAverage CPU Overhead
Find objects that drive the highest cumulative CPU load on the instanceTotal CPU Overhead
Find objects with consistently slow individual executionsAverage Execution Duration
Find objects that read the most data overallTotal Logical Reads or Total Physical Reads

Real-time Top Objects - Average cost

This section ranks objects by per-execution averages. Use it to identify objects that are individually expensive regardless of how often they run—these are the best candidates for query or index optimization.

MetricDescription
Average CPU OverheadAverage CPU overhead per statement execution for each object. Unit: milliseconds.
Average Execution DurationAverage running time per statement execution for each object. Unit: milliseconds.
Average Logical ReadsAverage number of logical reads per statement execution for each object.
Average Returned RowsAverage number of rows returned per statement execution for each object.

Real-time Top Objects - Total cost

This section ranks objects by their share of the instance's total resource consumption. Use it to identify objects that drive the most overall load—these are the best candidates when you need to reduce instance-wide pressure.

MetricDescription
Total CPU Overhead PercentageThe object's share of total CPU overhead across the instance.
Total Execution Duration PercentageThe object's share of total running time across the instance.
Total Logical I/O PercentageThe object's share of total logical I/O across the instance.
Total Returned Rows PercentageThe object's share of total rows returned across the instance.

Real-time Top Objects - List

This section lists the top N objects with cumulative statistics.

All cumulative counts (Total Executions, Total CPU Overhead, and so on) reset when the instance restarts or the plan cache is cleared. These metrics reflect activity since the last reset, not historical totals.
ParameterDescription
Object NameThe fully qualified name of the object: database name, schema name, and object name.
Object TypeThe type of object: stored procedure, function, trigger, and so on.
Total ExecutionsTotal number of executions since the last instance restart or cache clear.
Total CPU OverheadTotal CPU overhead for all executions since the last instance restart or cache clear. Unit: milliseconds.
Average CPU OverheadAverage CPU overhead per execution. Unit: milliseconds.
Total Execution DurationTotal running time for all executions since the last instance restart or cache clear. Unit: milliseconds.
Average Execution DurationAverage running time per execution. Unit: milliseconds.
Total Returned RowsTotal rows returned for all executions since the last instance restart or cache clear.
Average Returned RowsAverage rows returned per execution.
Total Logical ReadsTotal logical reads since the last instance restart or cache clear.
Average Logical ReadsAverage logical reads per execution.
Total Physical ReadsTotal physical reads since the last instance restart or cache clear.
Average Physical ReadsAverage physical reads per execution.
Total Logical WritesTotal logical writes since the last instance restart or cache clear.
Average Logical WritesAverage logical writes per execution.
Total Logical I/OTotal logical I/O since the last instance restart or cache clear.
Average Logical I/OAverage logical I/O per execution.

View SQL statement-level metrics

To drill into an object, click the plus sign (+) to the left of the object row. The expanded view shows the following parameters for each SQL statement within the object.

ParameterDescription
Object NameThe parent object that contains this SQL statement.
Statement (View Details)The SQL statement. Click to view the full statement text.
ExecutionsTotal number of times the statement has been executed.
Obtain Query PlanNumber of times the system retrieved the execution plan for the statement.
Total CPU OverheadTotal CPU overhead across all executions. Unit: milliseconds.
Average CPU OverheadAverage CPU overhead per execution. Unit: milliseconds.
Minimum CPU OverheadLowest CPU overhead observed across all executions. Unit: milliseconds.
Maximum CPU OverheadHighest CPU overhead observed across all executions. Unit: milliseconds.
Last CPU OverheadCPU overhead of the most recent execution. Unit: milliseconds.
Total Execution DurationTotal running time across all executions. Unit: milliseconds.
Average Execution DurationAverage running time per execution. Unit: milliseconds.
Minimum Execution DurationShortest running time observed across all executions. Unit: milliseconds.
Maximum Execution DurationLongest running time observed across all executions. Unit: milliseconds.
Last Execution DurationRunning time of the most recent execution. Unit: milliseconds.
Total Returned RowsTotal rows returned across all executions.
Average Returned RowsAverage rows returned per execution.
Minimum Returned RowsFewest rows returned across all executions.
Maximum Returned RowsMost rows returned across all executions.
Last Returned RowsRows returned by the most recent execution.
Total Logical ReadsTotal logical reads across all executions.
Average Logical ReadsAverage logical reads per execution.
Minimum Logical ReadsFewest logical reads across all executions.
Maximum Logical ReadsMost logical reads across all executions.
Last Logical ReadsLogical reads from the most recent execution.
Total Physical ReadsTotal physical reads across all executions.
Average Physical ReadsAverage physical reads per execution.
Minimum Physical ReadsFewest physical reads across all executions.
Maximum Physical ReadsMost physical reads across all executions.
Last Physical ReadPhysical reads from the most recent execution.
Total Logical WritesTotal logical writes across all executions.
Average Logical WritesAverage logical writes per execution.
Minimum Logical WritesFewest logical writes across all executions.
Maximum Logical WritesMost logical writes across all executions.
Last Logical WritesLogical writes from the most recent execution.
Total Logical I/OTotal logical I/O across all executions.
Average Logical I/OAverage logical I/O per execution.
Minimum Logical I/OLowest logical I/O across all executions.
Maximum Logical I/OHighest logical I/O across all executions.
Last Logical I/OLogical I/O from the most recent execution.

What's next

After identifying high-consumption objects, use the following tools to investigate further:

  • Check execution plans: View how SQL Server processes each statement to find missing indexes or inefficient join strategies. Use the Performance Optimization page to access execution plan analysis.

  • Explore additional diagnostics: Return to Autonomy Services > Performance Optimization to access other diagnostic features, including slow query analysis and instance-level performance trends.