Week9 2PerformanceMgt Oracle 2020
Week9 2PerformanceMgt Oracle 2020
MANAGEMENT - ORACLE
SECP 3713
DATABASE ADMINISTRATION
Semester 1 2020/2021
Lesson Objectives
• This chapter covers the following areas:
• Use Enterprise Manager to monitor performance
• Use Automatic Memory Management (AMM)
• Use the Memory Advisor to size memory buffers
• View performance-related dynamic views
• Manage invalid and unusable objects
Performance Monitoring and
Tuning
The DBA need check various areas in the system
to find the performance bottlenecks.
Memory
allocation
issues
Input/output Resource
device ? contention
contention
DBA
Application Network
code bottlenecks
problems
Enterprise Manager Performance
Page
Active Session Page
Performance Page: Throughput
Performance Monitoring: Top
Sessions
Performance Monitoring: Top Services
Managing Memory
Components
• Automatic Memory Management (AMM)
• Enables you to specify total memory allocated to instance
(including both SGA and PGA)
• Automatic Shared Memory Management (ASMM):
• Enables you to specify total SGA memory through one
initialization parameter
• Enables the Oracle server to manage the amount of memory
allocated to the shared pool, Java pool, buffer cache, streams
pool, and large pool
• Manually setting shared memory management:
• Sizes the components through multiple individual initialization
parameters
• Uses the Memory Advisor to make recommendations
Enabling Automatic Memory
Management (AMM)
Click Enable to enable
Automatic Memory
Management.
Memory
> Stats
Systemwide Session specific Service specificInvalid
Obj
V$SYSSTAT V$SESSTAT V$SERVICE_STATS
• statistic# • sid •
service_name_hash
• name • • service_name
statistic# • stat_id
• class • value
• value • stat_name
• value
• stat_id