Oracle 历史重启时间 Alert.log

Applies To

All Users

Summary

This document provides information to query information on the historical instance startup time.

Solution

Alert.log is one way of knowing the timestamp of the instance startup. However, if the alert.log has been deleted during housekeeping activities, we can use DBA_HIST_DATABASE_INSTANCE view which provides historical details about the instance startup time.

SQL> SELECT STARTUP_TIME FROM dba_hist_database_instance ORDER BY startup_time DESC;

STARTUP_TIME


04-JAN-16 01.04.35.000 PM

24-DEC-15 01.14.01.000 PM

22-DEC-15 05.33.36.000 PM

22-DEC-15 11.53.49.000 AM

18-DEC-15 06.59.20.000 AM

.

.

.

06-JUL-15 07.07.47.000 AM

25-JUN-15 08.39.29.000 PM

25-JUN-15 04.41.26.000 PM

25-JUN-15 04.40.57.000 PM

95 rows selected.

There is much more information captured in the view and the values of the column indicate valuable information.

相关推荐
蒸蒸yyyyzwd12 小时前
cpp选手秋招学习笔记 day12
笔记·学习·oracle
oradh1 天前
Oracle闪回技术操作总结
数据库·oracle·oracle闪回技术操作总结·oracle闪回·flashback技术
smilejingwei1 天前
Trae+SQLazy 实践 SQL 国产化移植:Oracle => 达梦
数据库·sql·oracle
Irene19911 天前
当前用户查OWNER报错总结:在Oracle中,查询OWNER(或用户名/SCHEMA)报错,本质是权限不足,但错误的表现形式会根据具体场景而不同
oracle
lixora1 天前
Oracle Data Block 详细结构解析
oracle
Code额1 天前
Python asyncio 异步编程全套学习文档(零基础完整版)
python·学习·oracle·async·异步·asyncio
秋田君1 天前
【无标题】
数据库·oracle
JacksonMx2 天前
企业级幂等方案
数据库·spring boot·spring·oracle
Irene19912 天前
生产级探查脚本:数据探查 SQL 示例(无需DBA权限、跨Oracle版本(11g/19c)的表结构探查脚本方案)
oracle
—Miss. Z—2 天前
备份与恢复
数据库·oracle