Oracle經常使用動態視圖

1.關於數據庫/實例的動態性能視圖數據庫

 

v$database :displays information about the database from the control file.緩存

v$instance :displays the state of the current instance(當前實例的情況)session

v$option :displays oracle database options and features(數據庫的選項和特性)oracle

         :option must be separately licensed(選項單獨認證設置)ide

         :whereas features come with the product and are enabled based on性能

          the product that is running(產品特性的發揮也是要產品運行才能體現)this

v$parameter :displays information about the initialization parameter thatspa

            :are currently in effect for the session.A new session inheritsorm

            :parameter values from the instance-wide values displayed by theserver

            :v$system_parameter view.

v$backup    :display the backup status of all online datafiles.(全部在線數據文件的備份狀況)

v$px_process_sysstat :contains information about the sessions running parallel execution

                       (包含並行執行會話的信息)

v$process :displays information about the currently active processes(活動進程的信息)

v$waitstat: displays block contention statistics.this table is only updated when timed

          :statistics are enabled(顯示熱塊競爭的統計,當時間統計參數啓動時,這個表只能更新)

v$system_event :total waits for an event(事件的總等待時間)

 

2.關於磁盤文件的視圖

v$datafile :datafile information from the control file

v$filestat :displays the number of physical reads and writes done and the total number of

         :single-block and multiblock I/Os done at file level(在文件級別顯示物理讀寫和io信息)

v$log    :displays log file information from the control file

v$log_history :log history information from the control file

v$dbfile :all datafiles making up the database

v$tempfile :tempfile information

v$tempstat :file read/write statistics(文件讀寫的統計)

v$segment_statistics :segment-level statistics

 

3.contention競爭的視圖

v$lock :lists the locks currently held by the oracle database and outstanding requests for

       : a lock or latch (正在使用的鎖和過多的請求對鎖)

v$rollname :lists the names of all online rollback segments(在線回滾段的信息)

v$rollstat :contains rollback segment statistics(回滾段的統計狀況)

v$waitstat :block contention statistics(塊爭用統計)

v$latch :aggregate latch statistics (閂鎖的總和統計)

 

4.memory 的視圖

v$buffer_pool_statistics :statistics about all buffer pools available for the instance

                         :(實例全部可用的緩存池的統計)

v$db_object_cache:database objects thatare cached inthe library cache(被緩存在庫緩存區的對象)

v$librarycache :contains statistics about library cache performance and activity

               (庫緩存區的性能和活動的統計信息)

v$rowcache :statistics for data dictionary activity(數據字典活動信息統計)

v$sysstat:system statistics

v$sgastat :detailed information on the system global area(sga)

 

5.用戶/會話的視圖

v$lock :lists the locks currently held by the oracle database and outstanding requests for

       : a lock or latch (正在使用的鎖和過多的請求對鎖)

v$open_cursor :list cursors that each user session currently has opened and parsed,or cached

               (當前會話打開的遊標列表)

v$process :displays information about the currently active processes(活動進程的信息)

v$transaction :lists the active transaction in the system (列出系統活動的事物)

v$px_sesstat :parallel execution(px),contains information about the sessions running

              (正在執行會話的並行執行狀況統計)

v$px_session :parallel execution(px),contains information about the sessions running

v$sesstat :user session statistics

v$session_event :on waits for an event by a session(會話等待事件)

v$sort_usage :在11g好像就沒有了

v$sort_segment:displays information about every sort segment in given instance

               顯示實例中給出的每一個回滾段的信息。

v$session_wait :current or last wait for each session(當前或上次的等待信息)

v$session

v$session_object_cache :object cache statistics for the current user session on the local 

                       :server(instance)

相關文章
相關標籤/搜索