RE: RMAN display of date AND time

  • From: "Ruth Gramolini" <rgramolini@xxxxxxxxxxxxxxx>
  • To: <Dave.Herring@xxxxxxxxxx>, "Oracle-L@Freelists. Org (E-mail)" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 7 Oct 2005 09:33:25 -0400

Here is a little script I use to find the completion time for backups,
including the seconds:

select max(to_char(completion_time,'YYYY-MM-DD:hh24:mi:ss')) from
RMAN.rc_backup_datafile where db_name='dbname';

I run this in the catalog database logged on as rman.

HTH,

Ruth
-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]On
Behalf Of Herring Dave - dherri
Sent: Thursday, October 06, 2005 5:54 PM
To: Oracle-L@Freelists. Org (E-mail)
Subject: RMAN display of date AND time


Is there any way to get RMAN to display the time portion of the date in it's
log?  For example, during a backup I'll messages like:



channel c3: starting piece 1 at 06-OCT-05



... but I'd like these messages to include the time as well.  I thought it'd
be simple enough to issue the following command before any allocation of
channel commands, but that didn't work either:



SQL "ALTER SESSION SET nls_date_format = ''DD-MON-YY HH24:MI:SS''";



Any ideas?



Dave

-------------------------------------

Dave Herring, DBA

Acxiom Corporation

3333 Finley

Downers Grove, IL 60515

wk: 630.944.4762

<mailto:dherri@xxxxxxxxxx>

-------------------------------------



**************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be legally
privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank You.
**************************************************************************

Other related posts: