This blog provides valuable insights and information for Oracle DBA professionals.
datapump_info.sql
Get link
Facebook
X
Pinterest
Email
Other Apps
-- ************************************************************************************************************
-- * Filename : datapump_info.sql
-- * Author : Saravanakumar K
-- * Description : This script with show progress of export/import
-- * Usage : @datapump_info.sql
-- * Version : v1
-- *************************************************************************************************************
set lines 200 pages 9999
col "SID,SERIAL#,Username" for a25
col message for a75
col STATE for a15
col JOB_MODE for a12
col OPERATION for a12
SELECT
s.sid
|| ','
|| s.serial#
|| ','
|| dp.owner_name "SID,SERIAL#,Username",
sl.sofar,
sl.totalwork,
dp.state,
dp.job_mode,
dp.operation,
sl.message
FROM
gv$session s,
gv$session_longops sl,
dba_datapump_jobs dp
WHERE
s.sid = sl.sid
AND s.serial# = sl.serial#
AND s.username = dp.owner_name
AND ( sl.time_remaining > 0
OR sl.totalwork > 0 )
and dp.state = 'EXECUTING';
clear col
Automating DBA Tasks with Oracle GoldenGate Oracle GoldenGate is widely recognized as one of the best tools for real-time data replication. It allows seamless database migrations, schema or table replication across homogeneous and heterogeneous environments, and enhances database performance by offloading reporting workloads. Additionally, it ensures high availability by enables Bi-directional or cascading database replication configurations. Beyond these well-known benefits, GoldenGate can also be leveraged for automating routine DBA tasks, reducing manual intervention and improving efficiency by Streamline Your DBA Tasks with EVENTACTIONS. Let's explore how you can leverage its EVENTACTIONS parameter to automate routine DBA tasks, reduce manual effort, and optimize workflows. In this post, I will demonstrate how GoldenGate can assist in automating key DBA operations, such as: Starting or stopping GoldenGate processes – Automate the m...
Comments
Post a Comment