oracle数据库服务打不开,怎样查找数据库版本

工作中遇到ORACLE数据库服务器故障,服务不能启动,需要重新部署ORACLE,但是不清楚数据库的版本,不能通过命令行查询,可以通过告警日志文件查看信息,找到数据库的版本号。

告警日志文件路径可根据自身情况查询。

一般在app/oracle/diag/rdbms/orcl/orcl/trace下

app/oracle/diag/rdbms/<db_name>/<oracle_sid>/trace

alert_<oracle_sid>.log

参考资料:

How to know the version without connecting to the database

There may be situations where we cannot connect to the database, for example after a server failure that does not allow the database to be started. In such scenarios, if we do have access to the database server we can read the alert log file. This file contains information about important events and issues, including startup or shutdown requests. After each startup request you will see some lines like this.

Starting ORACLE instance (normal) (OS id: 15192)
2021-10-08T20:32:04.838992-03:00
All SGA segments were allocated at startup
Using an SGA granule size of 16MB
...
...
NOTE: initializing MDS service with 1 containers
**Oracle Database 21c Express Edition Release 21.0.0.0.0 - Production**
**Version 21.3.0.0.0.**
Windows NT Version V10.0 OS Build 19043
ORACLE\_HOME = C:\Oracle\product\21c\dbhomeXE

参考连接:How to Find Your Oracle Database Version Number | Beekeeper Studio

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值