dbTalk Databases Forums  

Login ond logoff time in DBA_AUDIT_SESSION

comp.databases.oracle.server comp.databases.oracle.server


Discuss Login ond logoff time in DBA_AUDIT_SESSION in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lothar Armbrüster
 
Posts: n/a

Default Login ond logoff time in DBA_AUDIT_SESSION - 04-20-2011 , 08:21 AM






Hello out there,
last weekend I migrated a database from 10.2.0.5 to 11.2.0.2 vie
dbexport/dbimport.
Everything runs fine but I found out that DBA_AUSDIT_SESSION shows the
same time in TIMESTAMP and LOGOFF_TIME.
Sessions are audited by audit session whenever successful.
On the old database I could get the thime a user was logged in via

select
username,
timestamp,
logoff_time-timestamp time_logged_id
from
dba_audit_session

On the new database this always gives 0.
I tried using extended_timestamp but then the difference is just the
milliseconds.

Do I overlook something?

Regards,
Lothar

Reply With Quote
  #2  
Old   
Maxim Demenko
 
Posts: n/a

Default Re: Login ond logoff time in DBA_AUDIT_SESSION - 04-20-2011 , 12:13 PM






On 20.04.2011 15:21, Lothar Armbrüster wrote:
Quote:
same time in TIMESTAMP and LOGOFF_TIME
Lothar, i remember, there was a discussion on oracle-l a while ago
regarding this behaviour

http://www.freelists.org/post/oracle...ME-are-equal,9


Best regards

Maxim

Reply With Quote
  #3  
Old   
Lothar Armbrüster
 
Posts: n/a

Default Re: Login ond logoff time in DBA_AUDIT_SESSION - 04-21-2011 , 09:59 AM



Maxim Demenko <mdemenko (AT) gmail (DOT) com> writes:

Quote:
On 20.04.2011 15:21, Lothar Armbrüster wrote:
same time in TIMESTAMP and LOGOFF_TIME

Lothar, i remember, there was a discussion on oracle-l a while ago regarding
this behaviour

http://www.freelists.org/post/oracle...ME-are-equal,9


Best regards

Maxim
Okay, it seems that I now have to compute the difference from two rows.

Thanks,
Lothar

--
Lothar Armbrüster | lothar.armbruester (AT) t-online (DOT) de
Hauptstr. 26 |
65346 Eltville |

Reply With Quote
  #4  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Login ond logoff time in DBA_AUDIT_SESSION - 04-22-2011 , 10:18 AM



On Apr 20, 1:13*pm, Maxim Demenko <mdeme... (AT) gmail (DOT) com> wrote:
Quote:
On 20.04.2011 15:21, Lothar Armbrüster wrote:

same time in TIMESTAMP and LOGOFF_TIME

Lothar, i remember, there was a discussion on oracle-l a while ago
regarding this behaviour

http://www.freelists.org/post/oracle...d-LOGOFF-TIME-...

Best regards

Maxim
Maxim, good info. If I knew that I had forgotten the behavior change.

-- Mark D Powell --

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.