Phone (800) 766-1884 for immediate Oracle support & training
Free Oracle Tips

Home Home
Oracle Monitoring
Growth Monitoring
Emergency DBA Support
Installs & Upgrades
Oracle Migration
Oracle Support Plan
Oracle SQL Tuning
Oracle Performance Tuning

 Our Remote DBA Clients

 

Free Oracle Tips


 
HTML Text

Free Oracle App Server Tips


 
HTML Text
 

Donald K. Burleson

Oracle Tips

How long has my database been up?

The following script can be used to determine the uptime for any Oracle database.  The data is stored in the v$_session system view in the logon_time column.  By displaying the login_time for the Oracle process minitor background process (PMON), we can determine the time that the Oracle database was started.

select

   to_char(logon_time,'Dy dd Mon HH24:MI:SS')

      "Oracle Startup Time"

from

      sys.v_$session

where

   sid=1   -- sid=1 represents the PMON process

;

Here is the output:

Oracle Startup Time

-------------------

Tue 20 Mar 07:03:24

 

Burleson Oracle consulting & training



 

 

WISE Oracle monitoring software
 

 

Oracle forum for DBA 

 

Rampant TechPress Oracle book publisher

image 

  

 
E-mail us for BC Oracle support:   

Copyright © 1996 -  2012 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.