Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: RMAN display of date AND time

RE: RMAN display of date AND time

From: Ruth Gramolini <rgramolini_at_tax.state.vt.us>
Date: Fri, 7 Oct 2005 09:33:25 -0400
Message-ID: <006901c5cb43$b1ff19a0$bb59000a@vttaxnet.tax.state.vt.us>


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_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Herring Dave - dherri
Sent: Thursday, October 06, 2005 5:54 PM To: Oracle-L_at_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_at_acxiom.com>




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.


--

http://www.freelists.org/webpage/oracle-l Received on Fri Oct 07 2005 - 08:37:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US