Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • All Hints for Oracle Databases Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • switchover for primary database Oracle
  • The most important Tuning Notes Oracle
  • How to know current SID Oracle
  • Shuffle an array PHP/MYSQL/Wordpress
  • Wait Based Tuning Step by step with SQL statement Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Formatter Explain plan Output 1 Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • plan10g.sql good1 Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • ORA-3136 Oracle
  • Clean up Oracle

Finding last recovered file on DR and remove all chanracters before any “/”

Posted on 08-Sep-2008 By Admin No Comments on Finding last recovered file on DR and remove all chanracters before any “/”

sunflower1/800P>ssh sunlight1 “grep “Media ” /EMCdb19/oracle/800L/bdump/alert_800L.log| grep -v grep | grep “arch” | tail -1 ”

Media Recovery Log /EMCdb16/archlog/800P/arch0000296866.arc

sunflower1/800P>

sunflower1/800P>ssh sunlight1 “grep “Media ” /EMCdb19/oracle/800L/bdump/alert_800L.log| grep -v grep | grep “arch” | tail -1 | sed -e s#^.*/##”

arch0000296866.arc

sunflower1/800P>

Linux/Unix, shell

Post navigation

Previous Post: replace alphabets using sed
Next Post: Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets.

Related Posts

  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix

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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Find Command Linux/Unix
  • Wait time tuning research Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • The most important Tuning Notes Oracle
  • alter database backup controlfile to trace Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • adding new line after specific pattern using sed Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme