v$session_longops监控 PDB clone 进度
How to Monitor PDB Clone / Move On 'Create Pluggable Database' with 'COPY' Clause Statement Execution (Doc ID 2866302.1) | 编辑To Bottom |
In this Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 19.14.1.0.0 and laterInformation in this document applies to any platform. GOALMonitor execution of the PDB creation/cloning/move through 'Create Pluggable Database' SQL statement, using COPY clause: CREATE PLUGGABLE DATABASE <PDB_NAME> USING '/<path>/<manifest_file>.xml' COPY; SOLUTIONConnect to cdb$root in another session in the destination CDB and query v$session_longops: select opname, sid, serial#, sofar, totalwork, time_remaining, message from v$session_longops where time_remaining > 0;
You may also check the physical copy of the datafiles in your filesystem to monitor the progress of the file copies. |