|
con
[php]
* Oracle Packs
Oracle Diagnostics Pack:
Performance Manager 实时监控数据库性能,提供多种与用户,I/O,buffer相关的性能统计
特性 有效使用内存
最小化磁盘I/O
避免资源争用
七种不同的预定义统计图表
Lock Manager 包括: Locks chart, Blocking / Waiting Locks chart and User Type Locks chart.
I/O 包括: File I/O Rate, File I/O Rate Details, Network I/O Rate, and System I/O Rate.
Contention 包括: Circuit, Dispatcher, Free List Hit %, Latch, Lock, Queue,
Redo Allocation Hit %, Rollback NoWait Hit %, and Shared Server.
Database instance 包括: Process, Session, System Statistics, Table Access, Tablespace,
Tablespace Free Space, # Users Active, # Users Logged on, # Users Waiting,
# Users Waiting for Locks, and # Users Running.
Load 包括: Buffer Gets Rate, Network Bytes Rate, Redo Statistics Rate,
Sort Rows Rate, Table Scan Rows Rate, and Throughput Rate.
Memory 包括: Buffer Cache Hit %, Data Dictionary Cache Hit %, Library Cache Hit %,
Library Cache Details, SQL Area, Memory Allocated, Memory Sort Hit %,
Parse Ratio, and Read Consistency Hit %.
Top resource consumers 数据库服务的一种预定义图表
Overview of performance 显示最常用的一些统计图表的合成,可以得到数据库活动的大体的图示
Overview of cache utilization Buffer Cache Hit %,Library Cache Hit %, Data dictionary Cache Hit %,
Memory Sort Hit %, and Rollback (Nowait) Hit %.
Overview of user activity
Overview of throughput Overview of Performance class.
Overview of performance default chart
用户自定义的统计图表
TopSessions 监控连接的session使用实例资源的情况,也可监控lock,避免用户访问同一资源时产生的相互间破坏性影响
当前连接到session如何使用数据库实例资源,可看到使用资源最多的TOP N个session及其SQL语句
– Username: Name of the Oracle database user currently connected
– SID (Session Identifier): Uniquely identifies the current session
– OSUser: Name of the operating system user from the machine establishing the connection
– Sort Statistic Value: Displays values based on the statistic filter and sort statistic value chosen from the Option window
– Command: The SQL command currently being issued by that session
– Status: Whether the session is currently ACTIVE, INACTIVE, or KILLED
– Machine: The machine from which the user requested the connection
– Program: The program that initiated the session connection, such as SQL*Plus
当前HOLD或WAIT LOCK的用户或session
导致数据库问题的用户所断开的连接,如:消耗了太多资源或已经挂起的用户
明细信息:
Predefined: 监控CPU usage, File IO, Memory, Open cursors, User transactions的统计信息
User: 监控 bytes sent using SQL*Net, CPU used, number of logons,
number of commits or rollbacks, and PGA memory used
Redo: 监控redo log and log buffer的统计: 写入log的block数量,redo entries创建数量,
每个redo block消耗数量,time wasted on redo log space.
Enqueue: 监控LOCK的统计,如: DML locks请求的数量,deadlocks encountered, and locks waited for.
Cache: 监控database buffer cache,如: number of consistent reads, database block gets, physical reads,
DBWR checkpoints, and DBWR LRU scans.
Operating System: 操作系统特性
Parallel Server: Oracle并行服务器性能统计
SQL: SQL语句统计,如: 分析/执行数量,内存或磁盘排序,全表扫描情况等
Other:
All:
[/php] |
|