詳細如下:
a)v$开头的数据字典叫动态视图,其数据存放在内存中,动态变化,一旦关闭实例,里面的数据就会被清空,启动实例后被重新设置;dba_XXX等开头的数据字典是静态视图,其数据存放在表中,关闭实例后,数据不会被清空 .
b)靜態視圖區別如下,下面以dba_tables,all_tables,user_tables作一分析.
DBA_TABLES describes all relational tables in the database.
ALL_TABLES describes all relational tables accessible to the user.
USER_TABLES describes all relational tables owned by the user.
所以一般情況下dba_tables>=all_tables>=user_tables.
dba_tables是dba拥有的或可以访问的所有的表,是系统中所有的表,
all_tables是某一用户拥有的或可以访问的所有的表,是当前用户能看到的所有的表,
ser_tables是當前登錄用戶下面所屬的表,是当前登錄用户下的表.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14245958/viewspace-430152/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/14245958/viewspace-430152/