oracle數據字典
oracle數據字典 
    以下表格中收集了oracle數據字典中幾乎所有的視圖或別名,至于每個視圖或別名的字段請用‘describe’語句來查詢。 
命名說明: 
    oracle數據字典中,對象名稱多數以"user.","all.","dba."為前綴"user."視圖中記錄通常記錄執行查詢的帳戶所擁有的對象的信息,"all."視圖中記錄包括"user"記錄和授權至public或用戶的對象的信息,"dba."視圖包含所有數據庫對象,而不管其所有者。 
使用舉例: 
select * from dba_data_files 
    查詢表空間的信息(當前用戶必須擁有dba角色) 
select owner , object_name ,object_type from all_objects 
    查詢某一用戶下的所有表、過程、函數等信息 
視圖名                                 描述 
  
all_catalog               all tables, views, synonyms, sequences accessible to the user   
all_col_comments          comments on columns of accessible tables and views   
all_col_grants_made       grants on columns for which the user is owner or grantor  
all_col_grants_recd      grants on columns for which the user or public is the grantee   
all_col_privs            grants on columns for which the user is the grantor, grantee, owner, or an 
                         enabled role or public is the grantee   
all_col_privs_made       grants on columns for which the user is owner or grantor  
all_col_privs_recd       grants on columns for which the user, public or enabled role is the grantee   
all_constraints          constraint definitions on accessible tables   
all_cons_columns         information about accessible columns in constraint definitions   
all_db_links              database links accessible to the user   
all_def_audit_opts         auditing options for newly created objects   
all_dependencies          dependencies to and from objects accessible to the user   
all_errors                  current errors on stored objects that user is allowed to create   
all_indexes            descriptions of indexes on tables accessible to the user   
all_ind_columns        columns comprising indexes on accessible tables   
all_objects          objects accessible to the user   
all_refresh             all the refresh groups that the user can touch   
all_refresh_children   all the objects in refresh groups, where the user can touch the group   
all_sequences                   description of sequences accessible to the user   
all_snapshots           snapshots the user can look at   
all_source              current source on stored objects that user is allowed to create   
all_synonyms           all synonyms accessible to the user   
all_tables         description of tables accessible to the user   
all_tab_columns         columns of all tables, views and clusters   
all_tab_comments         comments on tables and views accessible to the user   
all_tab_grants_made         user's grants and grants on user's objects   
all_tab_grants_recd         grants on objects for which the user or public is the grantee   
all_tab_privs         grants on objects for which the user is the grantor, grantee, owner, or an  
                    enabled role or public is the grantee   
all_tab_privs_made   user's grants and grants on user's objects   
all_tab_privs_recd    grants on objects for which the user, public or enabled role is the grantee   
all_triggers         triggers accessible to the current user   
all_trigger_cols          column usage in user's triggers or in triggers on user's tables   
all_users            information about all users of the database   
all_views            text of views accessible to the user   
user_audit_connect   audit trail entries for user logons/logoffs   
user_audit_object    audit trail records for statements concerning objects, specifically: table, 
                       cluster, view, index, sequence, [public] database link, [public] synonym,  
                     procedure, trigger, rollback segment, tablespace, role, user   
user_audit_session    
user_audit_statement  audit trail records concerning grant, revoke, audit, noaudit and alter  
                      system   
user_audit_trail           audit trail entries relevant to the user   
user_catalog               tables, views, synonyms and sequences owned by the user   
user_clusters              descriptions of user's own clusters   
user_clu_columns              mapping of table columns to cluster columns   
user_col_comments           comments on columns of user's tables and views   
user_col_grants             grants on columns for which the user is the owner, grantor or grantee   
user_col_grants_made     all grants on columns of objects owned by the user   
user_col_grants_recd     grants on columns for which the user is the grantee   
user_col_privs       grants on columns for which the user is the owner, grantor or grantee   
user_col_privs_made     all grants on columns of objects owned by the user   
user_col_privs_recd    grants on columns for which the user is the grantee   
user_constraints    constraint definitions on user's own tables   
user_cons_columns     information about accessible columns in constraint definitions   
user_cross_refs     cross references for user's views and synonyms   
user_db_links       database links owned by the user   
user_dependencies    dependencies to and from a users objects   
user_errors         current errors on stored objects owned by the user   
user_extents      extents comprising segments owned by the user   
user_free_space    free extents in tablespaces accessible to the user   
user_indexes         description of the user's own indexes   
user_ind_columns    columns    comprising user's indexes or on user's tables  
user_jobs          all jobs owned by this user   
user_objects          objects owned by the user   
user_object_size               sizes, in bytes, of various pl/sql objects   
user_obj_audit_opts             auditing options for user's own tables and views   
user_refresh                   all the refresh groups   
user_refresh_children             all the objects in refresh groups, where the user owns the  
                        refresh group   
user_resource_limits          display resource limit of the user   
user_role_privs          roles granted to current user   
user_segments          storage allocated for all database segments   
user_sequences          description of the user's own sequences   
user_snapshots          snapshots the user can look at   
user_snapshot_logs          all snapshot logs owned by the user   
user_source          source of stored objects accessible to the user   
user_synonyms          the user's private synonyms   
user_sys_privs          system privileges granted to current user   
user_tables          description of the user's own tables   
user_tablespaces          description of accessible tablespaces   
user_tab_audit_opts          auditing options for user's own tables and views   
user_tab_columns          columns of user's tables, views and clusters   
user_tab_comments          comments on the tables and views owned by the user   
user_tab_grants          grants on objects for which the user is the owner, grantor or grantee   
user_tab_grants_made          all grants on objects owned by the user   
user_tab_grants_recd          grants on objects for which the user is the grantee   
user_tab_privs          grants on objects for which the user is the owner, grantor or grantee   
user_tab_privs_made          all grants on objects owned by the user   
user_tab_privs_recd          grants on objects for which the user is the grantee   
user_triggers          triggers owned by the user   
user_trigger_cols          column usage in user's triggers   
user_ts_quotas          tablespace quotas for the user   
user_users          information about the current user   
user_views          text of views owned by the user   
audit_actions          description table for audit trail action type codes. maps action type  
                     numbers to action type names   
column_privileges          grants on columns for which the user is the grantor, grantee, owner, or  
                     an enabled role or public is the grantee   
dictionary          description of data dictionary tables and views   
dict_columns          description of columns in data dictionary tables and views   
dual    
global_name               global database name   
index_histogram           statistics on keys with repeat count   
index_stats            statistics on the b-tree   
resource_cost           cost for each resource   
role_role_privs           roles which are granted to roles   
role_sys_privs           system privileges granted to roles   
role_tab_privs           table privileges granted to roles   
session_privs          privileges which the user currently has set   
session_roles          roles which the user currently has enabled.   
table_privileges          grants on objects for which the user is the grantor, grantee, owner, or  
                      an enabled role or public is the grantee   
accessible_columns          synonym for all_tab_columns   
all_col_grants          synonym for column_privileges   
all_jobs           synonym for user_jobs   
all_tab_grants          synonym for table_privileges   
cat synonym for          user_catalog   
clu  synonym for         user_clusters   
cols synonym for             user_tab_columns   
dba_audit_connect       synonym for user_audit_connect   
dba_audit_resource       synonym for user_audit_resource   
dba_refresh_children      synonym for user_refresh_children   
dict         synonym for dictionary   
ind          synonym for user_indexes   
obj           synonym for user_objects   
seq             synonym for user_sequences   
sm$version synonym for sm_$version   
syn synonym for user_synonyms   
tabs synonym for user_tables   
v$access synonym for v_$access   
v$archive synonym for v_$archive   
v$backup synonym for v_$backup   
v$bgprocess synonym for v_$bgprocess   
v$circuit synonym for v_$circuit   
v$compatibility synonym for v_$compatibility   
v$compatseg synonym for v_$compatseg   
v$controlfile synonym for v_$controlfile   
v$database synonym for v_$database   
v$datafile synonym for v_$datafile   
v$dbfile synonym for v_$dbfile   
v$dblink synonym for v_$dblink   
v$db_object_cache synonym for v_$db_object_cache   
v$dispatcher synonym for v_$dispatcher   
v$enabledprivs synonym for v_$enabledprivs   
v$filestat synonym for v_$filestat   
v$fixed_table synonym for v_$fixed_table   
v$latch synonym for v_$latch   
v$latchholder synonym for v_$latchholder   
v$latchname synonym for v_$latchname   
v$librarycache synonym for v_$librarycache   
v$license synonym for v_$license   
v$loadcstat synonym for v_$loadcstat   
v$loadtstat synonym for v_$loadtstat   
v$lock synonym for v_$lock   
v$log synonym for v_$log   
v$logfile synonym for v_$logfile   
v$loghist synonym for v_$loghist   
v$log_history synonym for v_$log_history   
v$mls_parameters synonym for v_$mls_parameters   
v$mts synonym for v_$mts   
v$nls_parameters  synonym for v_$nls_parameters   
v$nls_valid_values synonym for v_$nls_valid_values   
v$open_cursor  synonym for v_$open_cursor   
v$option  synonym for v_$option   
v$parameter  synonym for v_$parameter   
v$pq_sesstat  synonym for v_$pq_sesstat   
v$pq_slave  synonym for v_$pq_slave   
v$pq_sysstat synonym for v_$pq_sysstat   
v$process synonym for v_$process   
v$queue synonym for v_$queue   
v$recovery_log synonym for v_$recovery_log   
v$recover_file synonym for v_$recover_file   
v$reqdist synonym for v_$reqdist   
v$resource synonym for v_$resource   
v$rollname synonym for v_$rollname   
v$rollstat synonym for v_$rollstat   
v$rowcache synonym for v_$rowcache   
v$session synonym for v_$session   
v$session_cursor_cache synonym for v_$session_cursor_cache   
v$session_event synonym for v_$session_event   
v$session_wait synonym for v_$session_wait   
v$sesstat synonym for v_$sesstat   
v$sess_io synonym for v_$sess_io   
v$sga synonym for v_$sga   
v$sgastat synonym for v_$sgastat   
v$shared_server synonym for v_$shared_server   
v$sqlarea synonym for v_$sqlarea   
v$statname synonym for v_$statname   
v$sysstat synonym for v_$sysstat   
v$system_cursor_cache         synonym for v_$system_cursor_cache   
v$system_event               synonym for v_$system_event   
v$thread        synonym for v_$thread   
v$timer         synonym for v_$timer   
v$transaction  synonym for v_$transaction   
v$type_size    synonym for v_$type_size   
v$version      synonym for v_$version   
v$waitstat     synonym for v_$waitstat   
v$_lock        synonym for v_$_lock