🍒Check Database Uptime on Oracle
Get Started
select instance_name, to_char(startup_time,'DD/MM/YYYY HH24:MI:SS') as start_time from v$instance ;INSTANCE_NAME START_TIME
---------------- -------------------
ORCL 01/01/2020 00:00:00select instance_name, to_char(startup_time,'DD/MM/YYYY HH24:MI:SS') as start_time from dba_hist_database_instance order by startup_time desc ; INSTANCE_NAME START_TIME
---------------- -------------------
ORCL 01/01/2020 00:00:00
ORCL 01/01/2019 00:00:00select database_name, to_char(logon_time,'DD/MM/YYYY HH24:MI:SS') as start_time from v$session where program like '%PMON%' ;DATABASE_NAME START_TIME
---------------- -------------------
ORCL 01/01/2020 00:00:00Last updated