Oracle 视图 V$DATAGUARD_PROCESS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图 V$DATAGUARD_PROCESS 用于查看数据库实例的数据库守护进程。 该视图对于关于数据库守护进程状态的查询是十分有用的,比如可以查看哪些进程正在运行,数据同步的情况等等。
该视图的使用方法如下:
使用 SELECT 语句查询V$DATAGUARD_PROCESS 来查看数据库守护进程:
SELECT *
FROM V$DATAGUARD_PROCESS;
该查询将返回如下结果:
PROCESS_NAME | STATUS| FLAG | P1TEXT | P1 | P2TEXT | P2 | P3TEXT | P3
———— | —- | —- | —— | — | —— | — | —— | —
MRP0 | RUN | 16 | n/a | 0 | n/a | 0 | n/a | 0
MMON | RUN | 16 | n/a | 0 | n/a | 0 | n/a | 0
MMNL | RUN | 16 | n/a | 0 | n/a | 0 | n/a | 0
ARCH | RUN | 16 | n/a | 0 | n/a | 0 | n/a | 0
…
上面这些字段含义分别是:
PROCESS_NAME:守护进程的名称
STATUS: 守护进程的状态:RUN/IDLE/WAITING
FLAG:守护进程的标志
P1TEXT:守护进程参数P1的描述文字
P1:守护进程参数P1的值
P2TEXT:守护进程参数P2的描述文字
P2:守护进程参数P2的值
P3TEXT:守护进程参数P3的描述文字
P3:守护进程参数P3的值
官方英文解释
V$DATAGUARD_PROCESS
displays one row for each Oracle Data Guard process that is currently running.
Column | Datatype | Description |
---|---|---|
|
|
Name of the process whose information is being reported. Some of the possible values include:
|
|
|
Operating system process identifier of the process |
|
|
Indicates which Oracle subsystem created the process. Possible values:
|
|
|
Role of the process. Possible values:
|
|
|
Timestamp of when the process started or registered for inclusion in this fixed view |
|
|
Timestamp of when the first task of the process was requested |
|
|
Indicates whether the task performed by the process is done ( |
|
|
Current action of the process. Possible values can include:
|
|
|
For RFS and DTS processes, the PID of the process communicating with this process |
|
|
For RFS and DTS processes, the role of the process communicating with this process. Possible values can include:
|
|
|
Group number of the log that the process is operating upon |
|
|
Resetlog ID (branch) of the log that the process is operating upon |
|
|
Thread number that the process is operating upon |
|
|
Sequence number that the process is operating upon |
|
|
Starting block number that the process is operating upon |
|
|
Number of blocks that the process is operating upon |
|
|
Archived redo log delay interval in minutes |
|
|
Destination ID that the process is currently operating upon |
|
|
Mask of all destination IDs that the process will operate upon, where:
and so on. |
|
|
Unique identifier assigned to each customer in the Oracle Cloud If the database is not in the cloud, then the value of this columns is The combination of |
|
|
Database ID of the redo that the process is operating upon |
|
|
Data Guard ID that the process must communicate with |
|
|
Instance number that the process must communicate with at the specified DGID |
|
|
Indicates the method by which the process has been requested to stop:
|
|
|
SCN at which the database has applied redo |
|
|
The ID of the container to which the data pertains. Possible values include:
|
Note:
Oracle recommends that you use this view instead of V$MANAGED_STANDBY
.