1z0-凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 3976751
  • 博文数量: 536
  • 博客积分: 10470
  • 博客等级: 上将
  • 技术积分: 4825
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-26 14:08
文章分类

全部博文(536)

文章存档

2024年(3)

2021年(1)

2019年(1)

2017年(1)

2016年(2)

2013年(2)

2012年(10)

2011年(43)

2010年(10)

2009年(17)

2008年(121)

2007年(252)

2006年(73)

相关博文
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·
  • ·

分类: oracle

2008-05-07 19:07:54

data dictionary views

depending on which features are installed and configured, an oracle 10g database can contain more than 1,300 data dictionary views. data dictionary views have names that begin with dba_, all_, and user_.

the difference between the dba_, all_, and user_ views can be illustrated using the dba_tables data dictionary view as an example. the dba_tables view shows information on all the tables in the database. the corresponding all_tables view, despite its name, shows only the tables that a particular database user owns or has access to.

for example, if you were logged into the database as a user named scott, the all_tables view would show all the tables owned by the user scott and the tables to which scott has been granted access by other users. the user_tables view shows only those objects owned by a user. if the user scott were to examine the user_tables view, only those tables he owns would be displayed.

eg:
dba_tables
all tables in the entire database. reserved for user accounts that have dba privileges.

all_tables
all tables owned by a particular database user plus all tables to which the user has been granted access.

user_tables
all tables owned by a particular database user.

---------------
dynamic performance views

depending on which features are installed and configured, an oracle 10g database can contain approximately 350 dynamic performance views. most of these views have names that begin with v$.

------------
a comparison of data dictionary and dynamic performance views

dictionary views                            dynamic performance views

the dba_ views usually have plural names (for example, dba_data_files).

the names of the v$ views are generally singular(for example, v$datafile).


the dba_ views are available only when the database is open and running.

some v$ views are available even when the database is not fully open and running.


the data contained in the dba_ views is generally uppercase.

the data contained in the v$ views is usually lowercase.


the data contained in the dba_ views is static and is not cleared when the database is shutdown.

the v$ views contain dynamic statistical data that is lost each time the database is shutdown.

-----------------

oracle namespace

tables share a namespace with views, sequences, private synonyms, procedures, functions, packages, materialized views, and user-defined types. objects sharing a namespace cannot have the same name.

------------------
   oracle uses a search hierarchy when a startup command is issued without specifying either a pfile or an spfile. oracle first looks for a parameter file called spfile$oracle_sid.ora. if it doesn’t find that, it searches for spfile.ora. finally it searches for a traditional text pfile with the default name of init$oracle_sid.ora.

阅读(2061) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-08-18 08:43:57

killtest 1z0-042考试题库 http://www.killtest.cn/10gdba/1z0-042.asp

|
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图