Scripts-Queries

RMAN backup details, Display last 5 days

Following query can be used to get rman backup job details for last 5 days.

set lines 220
col output_bytes_display for a30
col time_taken_display for a30
select session_key,input_type,status,
	   to_char(start_time,'yyyy-mm-dd hh24:mi') start_time,
       to_char(end_time,'yyyy-mm-dd hh24:mi') end_time,
       output_bytes_display,       time_taken_display
from v$rman_backup_job_details
where END_TIME > sysdate-5
order by session_key asc; 
Saumya Padhi

Share
Published by
Saumya Padhi

Recent Posts

Cleared 1Z0-997 Oracle Cloud Infra. Certified Architect Professional…

Cleared following 3 Oracle Cloud Infrastructure exams in a row in three days. Thanks to…

5 years ago

How to Clean up ODA Failed Deployment.

CLEANING UP FAILED ODA DEPLOYMENT. You can find cleanup.pl under /opt/oracle/oak/onecmd location. Repeat the steps…

5 years ago

ODA Bundle Patch: Upgrade to OAK 18.3.0.0.0

ODA Bundle Patch: Upgrade to OAK 18.3.0.0.0 Here i am upgrading ODA from 12.1.2.12.0 to…

6 years ago

Backup ODA_BASE: Database Appliance ODA X5

There are situations we may need to backup ODA_BASE, especially before patching ODA_BASE.This article applies…

6 years ago

ODA X5 CPU configuration

Oracle Database Appliance X5-2 nodes each contain 2 CPUs and each CPU has 18 cores.…

6 years ago

CRS-0804, PROC-44, CRS-4535, PROC-44: Error in network address

Getting following error during CRS start. we had a server reboot post maintenance. CRS-0804, PROC-44,…

7 years ago