Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • First Entry in RAC Oracle
  • Pending Distributed Transations Oracle
  • Changing default shell Linux/Unix
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • on IBM-AIX for display Linux/Unix
  • Removing Blank lines from file using grep Linux/Unix
  • switchover for primary database Oracle
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • currwait.sql Oracle
  • Order by with ROWNUM Oracle
  • Multiple listeners Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Flowers Resize datafiles Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place 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

  • Paste command syntax Linux/Unix
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • Guide to Linux System Command Mastery Linux/Unix
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Search and replace pattern Linux/Unix
  • PLSQL Table Syntax 2 Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Backup and Recovery Scenarios Oracle
  • Parallel DML Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • PLSQL Table Syntax 1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme