Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

10G and Undo

Status
Not open for further replies.

Sambo8

Programmer
May 10, 2005
78
NZ
Hi there,

THis may be a dumb? but I've hardly touched 10g is there anyway of finding out what time of day the undo tablespace is getting the most transactions?

Cheers

Sam
 
Thanks Jim,

This helps as it gives the date, but no time is that something I can tweak to show the time?

Many thanks,

Sam
 
Sam,

it seems you are unaware of the features of Oracle's datatype date. Actually it is date and time; however by default only date is shown.

For a start try this:
Code:
select to_char(begin_time,'YYYYMMDD-HH24MISS') from v$undostat;
And in case you prefer another format, have a look at the manual; I think you will find it when you look for an explanation of function to_char()

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top