今天在导数据的时候, 一不小心把数据库搞宕机了.
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.
本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/myh0305/archive/2007/05/06/1598436.aspx