Database Administration (MOSC)

MOSC Banner

Is there a way to know total transactions for a year in a database?

edited Dec 12, 2013 10:31AM in Database Administration (MOSC) 16 commentsAnswered
 HiManagement wants to know the number of transactions in a database. Is there a surefire way to know that without doing audit on all transactions?
I found this script online, but don't think it is right.
select 'DATABASE', 'Total transactions in last 24 Hrs', 
to_char(max(next_change#) - min(first_change#),'9,999,999,999') 
from v$log_history;
I really appreciate your quick response.
Thanks.
Debasis

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center