无法归档重做日志

今天在导数据的时候, 一不小心把数据库搞宕机了.

Oracle给出的信息是: 详细资料 由于输出设备已满或不可用, 归档程序无法归档重做日志。 

在网上google了一把, 发现是设定的归档日志存储区已经满了, 更改存储区的大小即可或者转移已有的归档日志.

SQL> show parameter db_recovery
NAME                         TYPE        VALUE
---------------------------- ----------- --------------------------------------------
db_recovery_file_dest        string      D:/oracle/product/10.2.0/flash_recovery_area
db_recovery_file_dest_size   big integer 2G

SQL> alter system set db_recovery_file_dest_size =4G;
系统已更改。

即可解决出现的问题. 同时查看了trc文件, 信息:

Unable to allocate flashback log of 486 blocks from
current recovery area of size 2147483648 bytes.
Current Flashback database retention is less than target
because of insufficient space in the flash recovery area.
Flashback will continue to use available space, but the
size of the flash recovery area must be increased to meet
the Flashback database retention target
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值