preloader
blog-post

Query to find database uptime in Oracle

Query to find database uptime

SELECT host_name
	,       instance_name
	,       TO_CHAR(startup_time, 'DD-MM-YYYY HH24:MI:SS') startup_time
	,       FLOOR(SYSDATE - startup_time) days  
FROM sys.v_$instance;
Share this blog:
Comments

Related Articles