分享
 
 
 

Oracle 10g如何安排ORA-19815

王朝oracle·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

下班的时候,想不到又碰到了ORA-19815错误,这个10g的数据库最近数据量狂增,天天产生大约5~6个G的归档:

ORA-19815: WARNING: db_recovery_file_dest_size of 53687091200 bytes is 85.00% used,

and has 8052259328 remaining bytes available.

*************************************************************

You have the following choices to free up space from

flash recovery area:

1. Consider changing your RMAN retention policy.

If you are using dataguard, then consider changing your

RMAN archivelog deletion policy.

2. Backup files to tertiary device sUCh as tape using the

RMAN command BACKUP RECOVERY AREA.

3. Add disk space and increase the db_recovery_file_dest_size

parameter to reflect the new space.

4. Delete unncessary files using the RMAN DELETE command.

If an OS command was used to delete files, then use

RMAN CROSSCHECK and DELETE EXPIRED commands.

db_recovery_file_dest_size设置的是50G,在当前的备份策略下已经不足够。只好临时扩展一下恢复区:

SQL> show parameter recov

NAME TYPE VALUE

------------------------------------ ----------- ------------

db_recovery_file_dest string /msflsh

db_recovery_file_dest_size big integer 50G

recovery_parallelism integer 0

SQL> alter system set db_recovery_file_dest_size=65G scope=both;

System altered.

SQL> show parameter recov

NAME TYPE VALUE

------------------------------------ ----------- ----------------

db_recovery_file_dest string /msflsh

db_recovery_file_dest_size big integer 65G

recovery_parallelism integer 0

再修改下冗余策略,释放部分磁盘空间:

$ rman target /

Recovery Manager: Release 10.1.0.3.0 - 64bit Production

Copyright (c) 1995, 2004, Oracle. All rights reserved.

connected to target database: MMSDB (DBID=799462343)

RMAN> show all;

using target database controlfile instead of recovery catalog

RMAN configuration parameters are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 2;

....

RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 1;

old RMAN configuration parameters:

CONFIGURE RETENTION POLICY TO REDUNDANCY 2;

new RMAN configuration parameters:

CONFIGURE RETENTION POLICY TO REDUNDANCY 1;

new RMAN configuration parameters are successfully stored

RMAN> delete obsolete;

RMAN retention policy will be applied to the command

RMAN retention policy is set to redundancy 1

allocated channel: ORA_DISK_1

channel ORA_DISK_1: sid=127 devtype=DISK

Deleting the following obsolete backups and copies:

Type Key Completion Time Filename/Handle

-------------------- ------ ------------------ --------------------

Backup Set 672 27-NOV-05

Backup Piece 672 27-NOV-05

/msflsh/MMSDB/backupset/2005_11_27/o1_mf_annnn_TAG20051127T043004_1rkkggjh_.bkp

Backup Set 673 27-NOV-05

Backup Piece 673 27-NOV-05

/msflsh/MMSDB/backupset/2005_11_27/o1_mf_annnn_TAG20051127T043004_1rkkh05d_.bkp

Backup Set 674 27-NOV-05

Backup Piece 674 27-NOV-05

/msflsh/MMSDB/backupset/2005_11_27/o1_mf_annnn_TAG20051127T043004_1rkkhvtb_.bkp

Backup Set 676 28-NOV-05

Backup Piece 676 28-NOV-05

/msflsh/MMSDB/backupset/2005_11_28/o1_mf_annnn_TAG20051128T043004_1rn5tfoo_.bkp

Backup Set 718 03-DEC-05

Backup Piece 718 03-DEC-05

/msflsh/MMSDB/autobackup/2005_12_03/o1_mf_s_576045489_1s1d5kgd_.bkp

Do you really want to delete the above objects (enter YES or NO)? yes

deleted backup piece

backup piece handle=/msflsh/MMSDB/backupset/2005_11_27/

o1_mf_annnn_TAG20051127T043004_1rkkggjh_.bkp recid=672 stamp=575440206

deleted backup piece

backup piece handle=/msflsh/MMSDB/backupset/2005_11_27/

o1_mf_annnn_TAG20051127T043004_1rkkh05d_.bkp recid=673 stamp=575440224

deleted backup piece

backup piece handle=/msflsh/MMSDB/backupset/2005_11_27/

o1_mf_annnn_TAG20051127T043004_1rkkhvtb_.bkp recid=674 stamp=575440251

deleted backup piece

backup piece handle=/msflsh/MMSDB/backupset/2005_11_28/

o1_mf_annnn_TAG20051128T043004_1rn5tfoo_.bkp recid=676 stamp=575526605

deleted backup piece

backup piece handle=/msflsh/MMSDB/autobackup/2005_12_03/

o1_mf_s_576045489_1s1d5kgd_.bkp recid=718 stamp=576045489

Deleted 5 objects

RMAN> exit

Recovery Manager complete.

赶紧跑回家,北京冷的要命了,明天需要重新规划一下这个数据库了。以前的设计容量太小了。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有