This blog provides valuable insights and information for Oracle DBA professionals.
alert_path.sql
Get link
Facebook
X
Pinterest
Email
Other Apps
-- ************************************************************************************************************
-- * Filename : alert_path.sql
-- * Author : Saravanakumar K
-- * Description : This script with show alert logfile path and second session with give code to ssh in RAC
-- * Usage : @alert_path.sql
-- * Version : v1
-- *************************************************************************************************************
col Alert_Path for a120
select inst_id,value from gv$diag_info where name like '%Diag Trace%' order by 1;
SELECT
'ssh '
|| i.host_name
|| ' '
|| 'cat '
|| d.value
|| '/alert_'
|| i.instance_name
|| '.log > alert_'
|| i.instance_name
|| '.log' as "Alert_Path"
FROM
gv$diag_info d,
gv$instance i
WHERE
d.name LIKE '%Diag Trace%'
AND d.inst_id = i.inst_id
ORDER BY
1;
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