🍒Check Database Uptime on Oracle
Get Started
ทำการตรวจสอบ Instance Start Time
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:00ทำการตรวจสอบ History Start Time
select 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:00ทำการตรวจสอบ PMON Start Time
select 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:00ทำการตรวจสอบ SID Start Time
ทำการตรวจสอบ Database Uptime
อ่านเพิ่มเติม : https://bit.ly/38meNhr
Last updated
Was this helpful?