Pages

Popular Posts

Showing posts with label How To Check Oracle Database Uptime. Show all posts
Showing posts with label How To Check Oracle Database Uptime. Show all posts

Tuesday, March 11, 2008

How To Check Oracle Database Uptime

How To Check Oracle Database Uptime.

To check Oracle Database uptime execute the following:

SELECT to_char(startup_time,'DD-MON-YYYY HH24:MI:SS') "DB Startup Time"
FROM sys.v_$instance;

Or for better format:

SELECT to_char(logon_time,'Dy dd Mon HH24:MI:SS') "DB Startup Time"
FROM sys.v_$session
WHERE sid=1 /* this is pmon */