Oracle 视图 DBA_HIST_SERVICE_NAME 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图 DBA_HIST_SERVICE_NAME 用于查询已缓存的服务名列表,以及对应的实例号和时间戳等信息。
使用方法:
1、登录Oracle,输入SQL查询命令:SELECT service_name, SID, timestamp FROM dba_hist_service_name ORDER BY timestamp;
2、可以在where子句中增加过滤条件,比如下面例子:SELECT service_name, SID, timestamp FROM dba_hist_service_name WHERE status = ‘ACTIVE’ ORDER BY timestamp;
3、查看返回结果,查看缓存的服务名、实例号、状态等信息。
官方英文解释
DBA_HIST_SERVICE_NAME
displays the names of the Services tracked by the Workload Repository.
This view contains information for V$SERVICES
.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Database ID for the snapshot |
|
|
|
Hash of the service name |
|
|
|
Name of the service |
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|
See Also:
“V$SERVICES”