重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 171|回复: 0
打印 上一主题 下一主题

[Oracle] 没有设置快速恢复区导致 oratop工具失败报 ORA-01476

[复制链接]
跳转到指定楼层
楼主
发表于 2024-12-4 22:32:36 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式


参考:
Utility Oratop Fails With ORA-01476 (Doc ID 2941209.1)       

In this Document

Symptoms
Changes
Cause
Solution


Applies to:
Oracle Database - Enterprise Edition - Version 19.1.0.0.0 and later
Information in this document applies to any platform.
Symptoms
The command oratop is failed caused by ORA-01476 as below:

./oratop -i 10 / as sysdba

oratop: Release 16.5.1 Production on Sun Dec 11 10:30:00 CST 2022
Copyright (c) 2011, Oracle. All rights reserved.

Connecting
ORA-01476: divisor is equal to zero
Error - database not open.

Changes
Upgraded to 19c.

Cause
The below SQL is included into oratop utility from 19c:

SELECT
  (SPACE_USED - SPACE_RECLAIMABLE) / SPACE_LIMIT * 100 fra
FROM
  V$RECOVERY_FILE_DEST
If the value of V$RECOVERY_FILE_DEST.SPACE_LIMIT is 0(after configure Fast Recovery Area, then dis-configure it), the above SQL will fail by error ORA-01476.



Solution
Setting parameter db_recovery_file_dest_size to a non-zero value.

alter system set db_recovery_file_dest_size = n;


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-12-23 03:56 , Processed in 0.097116 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表