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.

相关推荐
spencer_tseng11 小时前
ORA-00911: invalid character
oracle·ora-00911
寒风暖哥12 小时前
Oracle视图查询返回空数据集的分析
oracle·c#
oradh13 小时前
数据库入门概述
数据库·oracle·数据库基础·数据库入门
数据库人生16 小时前
Oracle 根据等待事件 enq: TX - index contention 查找对象
oracle·current_obj#·row_wait_obj#
xcLeigh16 小时前
Oracle 迁移深度复盘:多数据库选型决策全解析
大数据·数据库·sql·oracle·数据迁移·数据管理
是桃萌萌鸭~17 小时前
oracle中的 CDB 和 PDB 详解
数据库·oracle
huohuopro17 小时前
Hbase学习
学习·oracle·hbase
云边有个稻草人18 小时前
Oracle替换工程实践:迁移落地实操与成本全解析
数据库·oracle