我是靠谱客的博主 积极发卡,最近开发中收集的这篇文章主要介绍Dynamic Performance Views,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

Dynamic Performance Views

Throughout its operation, Oracle Database maintains a set of virtual tables that record current database activity. These views are called dynamic performance views because they are continuously updated while a database is open and in use. The views, also sometimes called V$ views, contain information such as the following:

System and session parameters
■Memory usage and allocation
■File states (including RMAN backup files)
■Progress of jobs and tasks
■SQL execution
■Statistics and metrics
The dynamic performance views have the following primary uses:

■Oracle Enterprise Manager uses the views to obtain information about the database (see "Oracle Enterprise Manager" on page 18-2).

■Administrators can use the views for performance monitoring and debugging.

Contents of the Dynamic Performance Views

Dynamic performance views are sometimes called fixed views because they cannot be altered or removed by a database administrator. However, database administrators can query and create views on the tables and grant access to these views to other users.
SYS owns the dynamic performance tables, whose names begin with V_$. Views are created on these tables, and then public synonyms prefixed with V$. For example, the V$DATAFILE view contains information about data files. The V$FIXED_TABLE view contains information about all of the dynamic performance tables and views.
For almost every V$ view, a corresponding GV$ view exists. In Oracle Real Application Clusters (Oracle RAC), querying a GV$ view retrieves the V$ view information from all qualified database instances (see "Database Server Grid" on page 17-13).
When you use the Database Configuration Assistant (DBCA) to create a database, Oracle automatically creates the data dictionary. Oracle Database automatically runs the catalog.sql script, which contains definitions of the views and public synonyms for the dynamic performance views. You must run catalog.sql to create these views and synonyms.

Storage of the Dynamic Performance Views

Dynamic performance views are based on virtual tables built from database memory structures. Thus, they are not conventional tables stored in the database. Read consistency is not guaranteed for the views because the data is updated dynamically.
Because the dynamic performance views are not true tables, the data is dependent on the state of the database and instance. For example, you can query V$INSTANCE and V$BGPROCESS when the database is started but not mounted. However, you cannot query V$DATAFILE until the database has been mounted.



http://trailblizer.blog.163.com/blog/static/596303642009964470391/

http://blog.chinaunix.net/uid-27570589-id-3322338.html

最后

以上就是积极发卡为你收集整理的Dynamic Performance Views的全部内容,希望文章能够帮你解决Dynamic Performance Views所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(50)

评论列表共有 0 条评论

立即
投稿
返回
顶部