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

 找回密码
 注册

QQ登录

只需一步,快速开始

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

[Oracle] ORA-4031 When Enabling Flashback In 19c

[复制链接]
跳转到指定楼层
楼主
发表于 2024-7-28 15:11:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
After upgrading database to 19c where flashback is enabled and when a guaranteed restore point is created, the following error occurs:

SQL> alter DATABASE FLASHBACK ON;
alter DATABASE FLASHBACK ON
*
ERROR at line 1:
ORA-04031: unable to allocate 15937408 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","flashback generation buffer")

原因:
This is due to insufficient contiguous space in shared pool required for as flashback buffer.

处理方法:
To avoid future similar errors, set the following parameter and restart the database:   

alter system set "_allocate_flashback_buffer"=TRUE scope=spfile sid='*';

This will pre-allocate flashback buffer during database startup.  Memory will be allocated even if we don't plan to create restore point later.

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 21:04 , Processed in 0.142761 second(s), 21 queries .

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

© 2001-2020

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