学习动态视图(序)

一直想让自己习惯在没有Toad的情况下工作,尽可能多的熟悉动态视图,可往往都半途而废。今天留个脚印,非紧急状况不使用工具,就SQLPlus!

关于动态视图这个命题已经被提很多遍了,学习动态视图,就从它开始了!根据前人的经验,初定了一个学习计划,罗列于此,也算是给自己一点学习的动力:
v$sysstat + v$sesstat
v$session
v$process
v$sql + v$sqltext + v$sqlarea
v$bh + x$bh
v$lock
v$latch + v$latch_children
v$system_event
v$transaction
V$filestat

===========================================================

V$views are dynamic performance views based on the X$tables. Query V$FIXED_VIEW_DEFINITION for definitions of V$views. V$views are owned by SYS and are public synonyms for corresponding V_$views. V$views are cumulative in nature tracking information since startup. V$ & GV$ views are created from $ORACLE_HOME/rdbms/admin/catalog.sql. Grant access to the V$_views or GV$_views and instruct users to access the views prefaced with SYS.

Only differance between GV$ and V$ views is the instance ID column. Ensure timed_statistics = TRUE for collection of all needed information.
Replication, RAC, Streams, Heterogeneous Services, Logical Standby and Other Views here

For a complete list of the v$views use one of the three querys below:
select kqfvinam name from x$kqfvi order by kqfvinam;
select * from PUBLICSYN where sname like 'V$%' order by 3,1;
select table_name from DICTIONARY where table_name like 'V$%' order by 1;

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/55472/viewspace-311543/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/55472/viewspace-311543/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值