monitor PX limits from Resource Manager for active sessions (文件 ID 240877.1)
Description | |
---|---|
It shows the parallel degree limit from resource manager for all connect users. Degrees of 0 or 1 mean that the query is running in serial. Example output SID SERIAL# USERNAME PLAN RESOURCE_CONSUMER_GROUP PARALLEL_DEGREE_LIMIT_P1 --- ------- ----------- ------------------ ------------------------ ------------------------ 9 117 HR MAILDB_PLAN MAIL_MAINTENANCE_GROUP 0 The user HR has a Parallel Degree Limit 0, this means all his queries are running serial. |
|
References | |
None |
|
Script | |
select s.SID, s.SERIAL#, s.username ,rpd.plan, s.RESOURCE_CONSUMER_GROUP, rpd.PARALLEL_DEGREE_LIMIT_P1 from v$session s, DBA_RSRC_CONSUMER_GROUPS rcg, DBA_RSRC_PLAN_DIRECTIVES rpd , V$RSRC_CONSUMER_GROUP vcg where s.RESOURCE_CONSUMER_GROUP is not null and rcg.CONSUMER_GROUP = s.RESOURCE_CONSUMER_GROUP and rcg.status = 'ACTIVE' and rpd.GROUP_OR_SUBPLAN = rcg.CONSUMER_GROUP and rpd.status = 'ACTIVE' and vcg.name = s.RESOURCE_CONSUMER_GROUP; |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1371052/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- profile的resource limits和資源計劃resource_manager_plan的limitMIT
- limit active sessionsMITSession
- Resource Manager Enhancements in Oracle Database 11g (文件 ID 884082.1)OracleDatabase
- How To Change UNIX Process Resource LimitsMIT
- Procedure PqStat to monitor Current PX Queries (Doc ID 240762.1)
- Oracle Database Resource ManagerOracleDatabase
- Oracle Resource Manager概述Oracle
- Removing Sessions in Killed Status on Unix (文件 ID 274216.1)REMSession
- 2.7 Overview of Oracle Resource Manager in a CDBViewOracle
- Oracle 資源管理(resource manager)Oracle
- oracle resource manager (ORM)舉例OracleORM
- 生成sql monitor active report指令碼SQL指令碼
- 一個RESOURCE MANAGER引起的問題分析
- jedis異常:Could not get a resource from the pool
- 【MOS】Cluster Health Monitor (CHM) FAQ (文件 ID 1328466.1 ID 2062234.1)
- tomcat啟動:Exception loading sessions from persistent storageTomcatExceptionSession
- A discussion of Dead Connection Detection, Resource Limits, V$SESSION, V$PROCESS and OS processesMITSession
- "_dns_free_resource_record", referenced from:問題DNS
- Oracle11g RMAN Duplicate from Active DatabaseOracleDatabase
- 使用resource_manager限制使用者並行度並行
- 資料庫資源管理器(Database Resource Manager)資料庫Database
- Resource Manager資源管理之使用組切換分析
- RMAN duplicate from active database 複製資料庫Database資料庫
- Oracle 11g Data Guard 使用duplicate from active databaseOracleDatabase
- 搭建11g data guard(duplicate from active database方式)Database
- Step by Step Guide on Creating Physical Standby Using RMAN DUPLICATE...FROM ACTIVE DATABASE WithoutGUIIDEDatabase
- How To Automate Disconnection of Idle SessionsSession
- MTK_on_line_FAQ_SW_ALPS_Framework+-+Resource+ManagerTheme+ManagerFramework
- ASM - Scalability and Limits [ID 370921.1]ASMMIT
- Remote Desktop Manager_幫助文件REM
- ApiBoot - ApiBoot Resource Load 使用文件APIboot
- Creating a Physical Standby using RMAN DUPLICATE FROM ACTIVE DATABASEDatabase
- Upgrade Advisor: Database from 10.2 to 11.2 (文件 ID 251.1)Database
- dbms_resource_manager.calibrate_io測試資料庫IO效能資料庫
- _resource_manager_always_on=FALSE引起排程異常的解決案例False
- Oracle OCP 1Z0 053 Q690(Resource Manager&Undo)Oracle
- Kill SessionsSession
- 11g rman新特性 duplicate target database for standby from active databaseDatabase