Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • To see how much time or progress of long transaction Oracle
  • create database syntax Oracle
  • Virtual Indexes in Oracle Oracle
  • How to stop OCSSD Daemon Oracle
  • CPU speed on solaris Linux/Unix
  • oradebug ipcrm ipcs Oracle
  • Database link password in user_db_links Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • Library cahe Latches and internal explaination Oracle
  • V$ROLLSTAT status is Full Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • DB Console Mainenance. Oracle
  • Find Command Linux/Unix
  • My Minimum Tuning Programs Oracle
  • How can I tell if ASO is installed ? Oracle

Find_stale_dr.sql finding stale physical DR..

Posted on 19-Jan-2009 By Admin No Comments on Find_stale_dr.sql finding stale physical DR..

col name format a50

col UNRECOVERABLE_CHANGE# format 999999999999999999999

col dt1 format a30

set lines 120 pages 200

SELECT NAME, UNRECOVERABLE_CHANGE#, TO_CHAR (UNRECOVERABLE_TIME,’DD-MON-YYYY HH:MI:SS’) dt1

FROM V$DATAFILE

WHERE UNRECOVERABLE_CHANGE# != 0;

Oracle, SQL scripts

Post navigation

Previous Post: Find Stale DR Physical Standby
Next Post: dbms_job.submit example

Related Posts

  • Query to Generate aggregate on every 30 mins. Oracle
  • Find nth max and min. Oracle
  • login.sql Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • create trigger syntax Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • grep multuple patterns Linux/Unix
  • RAC with RHEL4 and 11g Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • Export With Query Another Example. Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • AWR license Oracle
  • find checksum of a file. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme