


How can Automatic Workload Repository (AWR) and Automatic Database Diagnostic Monitor (ADDM) reports aid in performance tuning?
Jul 12, 2025 am 12:16 AMYes, AWR and ADDM reports are essential for Oracle performance tuning. 1. AWR reports provide snapshots of database activity, showing top SQL, wait events, resource usage, and trends over time—useful for identifying inefficient queries and cache effectiveness. 2. ADDM analyzes AWR data to detect issues like poor SQL plans, missing indexes, contention, and memory misconfigurations, offering prioritized recommendations with root cause analysis. 3. Together, they enable a methodical approach: use ADDM for high-level insights and actionable advice, then validate findings in AWR with detailed metrics to address real bottlenecks effectively.
Yes, AWR and ADDM reports are two of the most powerful tools for Oracle database performance tuning. They provide deep insight into system behavior, help identify bottlenecks, and suggest actionable recommendations—all based on real data collected over time.
Here’s how they contribute:
1. AWR Reports: The Performance Snapshot
The Automatic Workload Repository (AWR) captures a detailed snapshot of database activity at regular intervals (default is every hour). These snapshots include metrics like SQL execution times, wait events, resource usage, and more.
What you can learn from an AWR report:
- Which SQL statements are consuming the most resources (CPU, I/O).
- Where the database is spending its time—through wait event analysis.
- Trends in performance over time when comparing multiple reports.
- How efficiently memory structures like buffer cache and shared pool are being used.
How to use it effectively:
- Focus on the "Top SQL" section to find problematic queries.
- Check "Load Profile" to understand transaction volume and system load.
- Compare reports from peak and off-peak hours to spot anomalies.
- Look at "Instance Efficiency Percentages" to see if key caches are sized correctly.
For example, if you notice high "SQL*Net message from client" waits, that might indicate inefficient application logic or long-running transactions—not necessarily a DBA issue alone.
2. ADDM Reports: Actionable Recommendations
ADDM automatically analyzes AWR data and provides expert-level tuning advice. It's like having a built-in Oracle performance consultant.
Common issues ADDM can detect:
- Inefficient SQL execution plans
- Lack of proper indexing
- Contention on shared resources (like latches or locks)
- Improper configuration of memory pools
Key benefits:
- It prioritizes findings by impact—so you know what to fix first.
- Each finding comes with specific recommendations, such as rewriting a query or increasing SGA size.
- It often identifies root causes, not just symptoms.
Say ADDM flags “high buffer busy waits.” It might suggest adding freelists, using ASSM, or even changing the application access pattern—depending on what's causing the contention.
3. Combining AWR and ADDM for Better Diagnostics
Using these two together gives you both the raw data (AWR) and intelligent interpretation (ADDM):
- Run ADDM first to get a summary of problems and suggested fixes.
- Then dive into the corresponding AWR report to validate those findings and dig deeper into the numbers.
- If ADDM suggests a particular SQL is problematic, pull that SQL from AWR and analyze its execution plan.
This workflow ensures you're not just reacting to symptoms but addressing real performance bottlenecks.
In short, AWR gives you the facts, and ADDM gives you the guidance. Used together, they make performance tuning much more efficient and data-driven.
That’s basically it—no magic, just methodical analysis.
The above is the detailed content of How can Automatic Workload Repository (AWR) and Automatic Database Diagnostic Monitor (ADDM) reports aid in performance tuning?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

PL/SQLextendsSQLwithproceduralfeaturesbyaddingvariables,controlstructures,errorhandling,andmodularcode.1.Itallowsdeveloperstowritecomplexlogiclikeloopsandconditionalswithinthedatabase.2.PL/SQLenablesthedeclarationofvariablesandconstantsforstoringinte

AutomaticStorageManagement(ASM)isOracle’sbuilt-instoragesolutiondesignedtosimplifyandoptimizethemanagementofdatabasestorage.1.IteliminatestheneedforexternalvolumemanagersorRAIDconfigurations.2.ASMautomaticallybalancesI/Oacrossdisks,preventinghotspots

SubqueriesinOracleSQL—scalar,multi-row,andcorrelated—enhancequeryflexibilitybyenablingmodularlogic,dynamicdatahandling,andcomplexfiltering.Scalarsubqueriesreturnasinglevalueandareidealforcomparisonsorexpressionssuchascomputingtheaveragesalary;1.theys

In Oracle, the schema is closely associated with the user account. When creating a user, the same-name mode will be automatically created and all database objects in that mode are owned. 1. When creating a user such as CREATEUSERjohn, create a schema named john at the same time; 2. The tables created by the user belong to their schema by default, such as john.employees; 3. Other users need authorization to access objects in other schemas, such as GRANTSELECTONsarah.departmentsTOjohn; 4. The schema provides logical separation, used to organize data from different departments or application modules.

Oracle sequences are independent database objects used to generate unique values ??across sessions and transactions, often used for primary keys or unique identifiers. Its core mechanism is to generate a unique value through NEXTVAL increment, and CURRVAL obtains the current value without incrementing. Sequences do not depend on tables or columns, and support custom start values, step sizes and loop behaviors. Common scenarios during use include: 1. Primary key generation; 2. Order number; 3. Batch task ID; 4. Temporary unique ID. Notes include: transaction rollback causes gaps, cache size affects availability, naming specifications and permission control. Compared to UUID or identity columns, sequences are suitable for high concurrency environments, but they need to be traded down based on the needs.

TheOracleListeneractsasatrafficcopfordatabaseconnectionsbymanaginghowclientsconnecttothecorrectdatabaseinstance.Itrunsasaseparateprocesslisteningonaspecificnetworkaddressandport(usually1521),waitsforincomingconnectionrequests,checkstherequestedservic

OracleDataPump (expdp/impdp) has obvious advantages over traditional export/import tools, and is especially suitable for large database environments. 1. Stronger performance: based on server-side processing, avoids client-side transfer bottlenecks, supports parallel operations, significantly improves the export and import speed; 2. More fine-grained control: provides parameters such as INCLUDE, EXCLUDE and QUERY to realize multi-dimensional filtering such as object type, table name, data row; 3. Higher recoverability: supports job pause, restart and attachment, which facilitates long-term task management and failure recovery; 4. More complete metadata processing: automatically record and rebuild index, constraints, permissions and other structures, supports object conversion during import, and ensures consistency of the target library.

TemporarytablespacesinOracleareusedtostoretemporarydataduringSQLoperationslikesorting,hashing,andglobaltemporarytables.1)SortingoperationssuchasORDERBY,GROUPBY,orDISTINCTmayrequirediskspaceifmemoryisinsufficient.2)Hashjoinsonlargedatasetsusetemporary
