DBA
以 DBA 開頭的只有DBA權限的用戶才能查詢,內容包含了系統(tǒng)全部
- dba_users 數(shù)據(jù)庫用戶信息
- dba_segments 表段信息
- dba_extents 數(shù)據(jù)區(qū)信息
- dba_objects 數(shù)據(jù)庫對象信息
- dba_tablespaces 數(shù)據(jù)庫表空間信息
- dba_data_files 數(shù)據(jù)文件設置信息
- dba_temp_files 臨時數(shù)據(jù)文件信息
- dba_rollback_segs 回滾段信息
- dba_ts_quotas 用戶表空間配額信息
- dba_free_space 數(shù)據(jù)庫空閑空間信息
- dba_profiles 數(shù)據(jù)庫用戶資源限制信息
- dba_sys_privs 用戶的系統(tǒng)權限信息
- dba_tab_privs 用戶具有的對象權限信息
- dba_col_privs 用戶具有的列對象權限信息
- dba_role_privs 用戶具有的角色信息
- dba_audit_trail 審計跟蹤記錄信息
- dba_stmt_audit_opts 審計設置信息
- dba_audit_object 對象審計結果信息
- dba_audit_session 會話審計結果信息
- dba_indexes 用戶模式的索引信息
USER
User是普通用戶可以查詢,內容包含了該用戶是所有者的部分
- user_objects 用戶對象信息
- user_source 數(shù)據(jù)庫用戶的所有資源對象信息
- user_segments 用戶的表段信息
- user_tables 用戶的表對象信息
- user_tab_columns 用戶的表列信息
- user_constraints 用戶的對象約束信息
- user_sys_privs 當前用戶的系統(tǒng)權限信息
- user_tab_privs 當前用戶的對象權限信息
- user_col_privs 當前用戶的表列權限信息
- user_role_privs 當前用戶的角色權限信息
- user_indexes 用戶的索引信息
- user_ind_columns 用戶的索引對應的表列信息
- user_cons_columns 用戶的約束對應的表列信息
- user_clusters 用戶的所有簇信息
- user_clu_columns 用戶的簇所包含的內容信息
- user_cluster_hash_expressions 散列簇的信息
V$
V$是數(shù)據(jù)字典動態(tài)視圖,顯示系統(tǒng)當前的狀態(tài)。它的值在隨時都可能發(fā)生變化
- v$database 數(shù)據(jù)庫信息
- v$datafile 數(shù)據(jù)文件信息
- v$controlfile 控制文件信息
- v$logfile 重做日志信息
- v$instance 數(shù)據(jù)庫實例信息
- v$log 日志組信息
- v$loghist 日志歷史信息
- v$sga 數(shù)據(jù)庫SGA信息
- v$parameter 初始化參數(shù)信息
- v$process 數(shù)據(jù)庫服務器進程信息
- v$bgprocess 數(shù)據(jù)庫后臺進程信息
- v$controlfile_record_section 控制文件記載的各部分信息
- v$thread 線程信息
- v$datafile_header 數(shù)據(jù)文件頭所記載的信息
- v$archived_log 歸檔日志信息
- v$archive_dest 歸檔日志的設置信息
- v$logmnr_contents 歸檔日志分析的DML DDL結果信息
- v$logmnr_dictionary 日志分析的字典文件信息
- v$logmnr_logs 日志分析的日志列表信息
- v$tablespace 表空間信息
- v$tempfile 臨時文件信息
- v$filestat 數(shù)據(jù)文件的I/O統(tǒng)計信息
- v$undostat Undo數(shù)據(jù)信息
- v$rollname 在線回滾段信息
- v$session 會話信息
- v$transaction 事務信息
- v$rollstat 回滾段統(tǒng)計信息
- v$pwfile_users 特權用戶信息
- v$sqlarea 當前查詢過的sql語句訪問過的資源及相關的信息
- vsql與vsql與vsqlarea基本相同的相關信息
- v$sysstat 數(shù)據(jù)庫系統(tǒng)狀態(tài)信息
ALL
ALL是普通用戶可以查詢,內容包含了該用戶所能訪問的部分
- all_users 數(shù)據(jù)庫所有用戶的信息
- all_objects 數(shù)據(jù)庫所有的對象的信息
- all_def_audit_opts 所有默認的審計設置信息
- all_tables 所有的表對象信息
- all_indexes 所有的數(shù)據(jù)庫對象索引的信息
其他
- session_roles 會話的角色信息
- session_privs 會話的權限信息
- index_stats 索引的設置和存儲信息
- dual 系統(tǒng)偽列表信息
oracle最重要的9個動態(tài)性能視圖
- vsession+vsession+vsession_wait (在10g里功能被整合)
- v$process
- v$sql
- v$sqltext
- vbh(更寧愿是xbh(更寧愿是xbh)
- v$lock
- v$latch_children
- v$sysstat
- v$system_event
按組分的幾組重要的性能視圖
- System 的 over view:vsysstat,vsysstat,vsystem_event , v$parameter
- 某個session 的當前情況:vprocess,vprocess,vsession , vsessionwait,vsessionwait,vsession_event , v$sesstat
- SQL 的情況:vsql,vsql,vsqlarea , vSQLPLAN,VSQLPLAN,VSQL_PLAN_STATISTICS, v$sqltext_with_newlines
- Latch / lock /ENQUEUE:vlatch,vlatch,vlatch_children , vlatchholder,vlatchholder,vlock ,VENQUEUESTAT,VENQUEUESTAT,VENQUEUE_LOCK
- IO 方面的:vsegstat,vsegstat,vfilestat , vtempstat,vtempstat,vdatafile , v$tempfile
- shared pool / Library cache :vLibrarycache,vLibrarycache,vrowcache , x$ksmsp
- advice:vdbcacheadvice,vdbcacheadvice,vPGA_TARGET_ADVICE, v$SHARED_POOL_ADVICE