|
| 1 | +# Database Performance |
| 2 | + |
| 3 | + |
| 4 | +Effective data collection and analysis is essential for identifying and correcting performance problems. Oracle Database provides several tools that allow a performance engineer to gather information regarding database performance. In addition to gathering data, Oracle Database provides tools to monitor performance, diagnose problems, and tune applications. |
| 5 | +They are usually available through different methods: Graphical tools such as Oracle Enterprise Manager Cloud Control, SQL Developer, Oracle scripts, PL/SQL packages, initialization parameters or through corresponding v$ views. Most of them are available without additional installation and can be used immediately. Others can be loaded separately from My Oracle Support (MOS) or can be activated and used via Cloud Console. |
| 6 | + |
| 7 | +Examples are: |
| 8 | +- Automatic Workload Repository (AWR) collects, processes, and maintains performance statistics for problem detection and self-tuning purposes. |
| 9 | +- Automatic Database Diagnostic Monitor (ADDM) analyzes the information collected by AWR for possible performance problems with the Oracle database. |
| 10 | +- SQL Tuning Advisor allows a quick and efficient technique for optimizing SQL statements without modifying any statements. |
| 11 | +- SQL Access Advisor provides advice on materialized views, indexes, and materialized view logs. |
| 12 | +- SQL Performance Analyzer as part of Real Application Testing assesses the impact of system changes on the response time of SQL statements. |
| 13 | +- Real-time SQL Monitoring gives an up-to-date overview of operations and displays statements that are currently active or in a queue. |
| 14 | +- Explain Plan displays execution plans chosen by the optimizer. |
| 15 | +- Special Performance pages (aka Performance Hub) in Cloud Control or OCI Console and associated reports deliver a consolidated view of all performance data for |
| 16 | + and provide summary information not only on overall IO, CPU and Memory usage by the database but also detailed SQL monitoring information. |
| 17 | + |
| 18 | + |
| 19 | +## Useful Links |
| 20 | + |
| 21 | +### Documentation |
| 22 | + |
| 23 | +- [Oracle Database 19c Performance](https://docs.oracle.com/en/database/oracle/oracle-database/19/performance.html) |
| 24 | +- [PL/SQL Packages and Types Reference DBMS_PERF](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_PERF.html#GUID-290C18B9-A2EF-468D-9D6E-B31D717082BB) |
| 25 | +- [Oracle Cloud Infrastructure Documentation - Performance Hub Report](https://docs.oracle.com/en-us/iaas/autonomous-database/doc/use-perf-hub-monitor-databases.html) |
| 26 | + |
| 27 | + |
| 28 | +### Team Publications |
| 29 | + |
| 30 | +- [Performance Hub - the database tuning gem](https://blogs.oracle.com/coretec/post/oracle-performance-hub) |
| 31 | +- [Real-time SQL Monitoring on github](https://github.com/oracle-devrel/technology-engineering/tree/main/data-platform/core-converged-db/sql-performance/sql-monitoring) |
| 32 | +- [SQL Performance Analyzer on github](https://github.com/oracle-devrel/technology-engineering/tree/main/data-platform/core-converged-db/real-application-testing/sql-performance-analyzer) |
| 33 | + |
| 34 | +### Blogs and technical briefs |
| 35 | +- [Monitoring Database Performance Using Performance Hub Report (Doc ID 2436566.1)](https://support.oracle.com/epmos/faces/SearchDocDisplay?_afrLoop=459842075147901&_afrWindowMode=0&_adf.ctrl-state=p9nyc4tf7_4) |
| 36 | +- [The performance report you are NOT using](https://connor-mcdonald.com/2021/04/30/the-performance-report-you-are-not-using/) |
| 37 | + |
| 38 | +# License |
| 39 | + |
| 40 | +Copyright (c) 2023 Oracle and/or its affiliates. |
| 41 | + |
| 42 | +Licensed under the Universal Permissive License (UPL), Version 1.0. |
| 43 | + |
| 44 | +See LICENSE for more details. |
0 commit comments