If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Query - When ORACLE server/databas has been started

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-05-10, 16:31
sholtan sholtan is offline
Registered User
 
Join Date: Jul 2006
Posts: 5
Query - When ORACLE server/databas has been started

I'm trying to find out when ORACLE DATABASE/SERVER started and how long it has been running. Is there query or command in that I can use to check this? Is there more than one option to find this out and is it same for all ORACLE versions or diffferent from version to version?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-05-10, 16:37
magicwand magicwand is offline
Registered User
 
Join Date: Mar 2010
Location: Vienna, Austria
Posts: 111
Would be much easier to answer, if you told us which OS you are using ...
__________________
If A is a success in life, then A = x + y + z.
Work is x; y is play; and z is keeping your mouth shut. After all the years, I'm still working on the correct value for z.
(Albert Einstein)
Reply With Quote
  #3 (permalink)  
Old 09-05-10, 17:05
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,155
Oracle database FAQ - Oracle FAQ

Code:
  1  SELECT to_char(startup_time,'DD-MON-YYYY HH24:MI:SS') "DB Startup Time",
  2  to_char(round((sysdate-startup_time)*24*60)) UP_TIME_MINUTES
  3* FROM   sys.v_$instance
SQL> /

DB Startup Time 	      UP_TIME_MINUTES
----------------------------- ----------------------------------------
05-SEP-2010 06:57:30	      837
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.

Last edited by anacedent; 09-06-10 at 00:55.
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On