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.

相关推荐
空杆推不起2 小时前
穿透数据库 JOIN 核心:语法分类、底层算法、生产优化与高频坑点全解析
数据库·oracle
传说故事19 小时前
数据库中一些常用英文单词含义
数据库·oracle
dotnet901 天前
批量生成所有表的修改脚本
数据库·sql·oracle
蓝鸟19741 天前
EXISTS子查询SELECT 1与SELECT *到底有无区别?Oracle生产实测解惑(附HIS业务SQL案例)
oracle·his系统·sql优化·数据库调优·exists
一十九的酒1 天前
Oracle Data Guard 备库归档日志满导致同步中断的解决实战
数据库·oracle·oracle-dg 续传·归档空间满
回眸&啤酒鸭1 天前
【回眸】Memmy Agent 智能体落地应用全景指南
数据库·oracle
一只专注api接口开发的技术猿1 天前
OpenClaw 实战:搭建京东商品监控与简易数据分析脚本
大数据·jvm·数据库·oracle·数据分析
Irene19911 天前
Oracle 连接避坑指南:环境+配置+账号
数据库·oracle
鹿鸣天涯1 天前
应急响应:MySQL日志分析
mysql·安全·adb·oracle
仙宇觉尘2 天前
记一次 .NET 某中医药附属医院门诊系统 崩溃分析
数据库·oracle·.net