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.

相关推荐
lusklusklusk10 小时前
Oracle数据库基础之2_体系结构
数据库·oracle
lusklusklusk12 小时前
Oracle数据库基础之11_Duplicate和Dataguard和RAC
数据库·oracle
fb_1234515 小时前
MySQL运维实战:备份恢复+主从复制+读写分离+MHA高可用(超详细手把手教程)
运维·mysql·oracle
oradh20 小时前
Oracle固定执行计划的方法----SQL Profie(三)
数据库·sql·oracle
lusklusklusk1 天前
Oracle数据库基础之7_备份恢复基础之SCN
数据库·oracle
雪碧聊技术1 天前
从 0 跑通一个最小 RAG Demo:文档切分、向量检索与答案生成
数据库·oracle
lusklusklusk1 天前
Oracle数据库基础之8_闪回
数据库·oracle
lusklusklusk1 天前
Oracle数据库基础之10_性能优化
数据库·oracle·性能优化
lusklusklusk2 天前
Sqlserver_Oracle_Mysql_Postgresql表_索引碎片或膨胀的知识点汇总
mysql·oracle·sqlserver
JosieBook2 天前
【WinForm 代码反脆弱系列】04 数据库操作 —— 连接字符串、连接对象与连接池
数据库·oracle