Oracle 视图 ALL_SCHEDULER_RESOURCES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle使用调度器资源来管理数据库中的活动,控制其启动和关闭,并监控它们的运行。ALL_SCHEDULER_RESOURCES视图显示在数据库中所定义的所有调度器资源的信息。调度器资源可以是程序、计划、Windows服务等。这个视图也包括已分配和可分配资源计数器,针对每个资源定义的可用限制等信息。
要使用ALL_SCHEDULER_RESOURCES视图,可以使用SELECT语句检索调度器资源的信息,例如:
SELECT resource_name,resource_type,available_count,assigned_count
FROM all_scheduler_resources
WHERE resource_type=’PLSQL_PROGRAM’;
这段SQL查询将返回调度器中每个PL/SQL程序的资源名称、资源类型、可用计数器和已分配计数器。
官方英文解释
ALL_SCHEDULER_RESOURCES
displays all scheduler resource objects in the database that are accessible to the current user.
Related Views
-
DBA_SCHEDULER_RESOURCES
displays all scheduler resource objects in the database. -
USER_SCHEDULER_RESOURCES
displays all scheduler resource objects in the database from the schema of the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the resource object |
|
|
|
Name of the resource object |
|
|
Resource status for resource object. |
|
|
|
Maximum number of available units for the resource object |
|
|
|
Current number of resource units in use for the resource object |
|
|
|
Current number of running jobs using the resource object |
|
|
|
Comments for the resource object |
See Also:
-
“DBA_SCHEDULER_RESOURCES”
-
“USER_SCHEDULER_RESOURCES”