首页 > 数据库 >由于db_recovery_file_dest_size满导致数据库无法启动

由于db_recovery_file_dest_size满导致数据库无法启动

时间:2023-02-13 11:48:08浏览次数:42  
标签:recovery dest db bytes file size

数据库启动发现报错ORA-03113无法启动

SQL> startup ;
ORACLE instance started.

Total System Global Area 4275781632 bytes
Fixed Size                  2260088 bytes
Variable Size             922747784 bytes
Database Buffers         3338665984 bytes
Redo Buffers               12107776 bytes
Database mounted.
ORA-03113: end-of-file on communication channel
Process ID: 15766
Session ID: 232 Serial number: 3

查看日志发现db_recovery_file_dest_size空间已满,归档日志无法归档所以无法启动

启动数据库至Nomount进行修改,然后启动数据库
startup nomount;
alter system set db_recovery_file_dest_size=10G;
alter database mount;
alter database open;
show parameter db_recovery_file_dest_size;
select * from v$recovery_file_dest;

启动后使用rman将之前过期的日志进行清理
[oracle@oraclehost oracle]$ rman nocatalog

Recovery Manager: Release 11.2.0.4.0 - Production on Mon Feb 13 12:02:36 2023

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

RMAN> connect target /

connected to target database: ORCL (DBID=1632038687)
using target database control file instead of recovery catalog

RMAN> delete archivelog all completed before 'sysdate - 30';

清理后发现磁盘空间使用下降

标签:recovery,dest,db,bytes,file,size
From: https://www.cnblogs.com/nanblog/p/17115745.html

相关文章

  • Java:SpringBoot整合Sharding-Jdbc实现数据库读写分离
    读写分离实现效果:写操作使用master主库,读操作使用slave从库依赖<dependency><groupId>com.baomidou</groupId><artifactId>mybatis-plus-boot-starter</artifactId>......
  • SQLServer TempDB迁移
    1.查询目前TempDB的位置select*FROMsys.master_filesWHEREdatabase_id=DB_ID('tempdb');  2.迁移的到目标的权限问题,需要赋予sqlserver服务启动账号的权限读......
  • Innodb 相较于MyISAM 的优势在哪
    本文依旧主要参考沈剑大佬的十多篇博文,以及数位网友的优秀分享,文末是完整参考。1、索引1.1B树多叉平衡查找树,多叉平衡以及磁盘预读使得B树查找效率特别高。多叉(多......
  • [​DuckDB] 多核算子并行的源码解析
    DuckDB是近年来颇受关注的OLAP数据库,号称是OLAP领域的SQLite,以精巧简单,性能优异而著称。笔者前段时间在调研Doris的Pipeline的算子并行方案,而DuckDB基于论文《Morsel-Driv......
  • 数据库必知必会:TiDB(7)Placement Driver
    (数据库必知必会:TiDB(7)PlacementDriver)PlacementDriverPD的架构PD集群也是主从结构的,有一个leader,另外的节点是follower。集成了ETCD,其Raft协议保证了数据的一致性。......
  • leveldb Compaction
    leveldb是典型的LSM树实现,因此需要对内存中的数据进行持久化。一次内存数据的持久化过程,在leveldb中称为MinorCompaction。一次minorcompaction的产出是一个0层的sstable......
  • 数据库必知必会:TiDB(6)TiKV读写与 Coprocessor
    (数据库必知必会:TiDB(6)TiKV读写与Coprocessor)读写与Coprocessor数据写入用户提交写请求,由TiDBServer接收,TiDBServer向PD申请TSO,并获得Region的元数据信息,TiDBServe......
  • JDBC控制事务实现
    事务一个包含多个步骤的业务操作。如果这个业务操作被事务管理,则这多个步骤要么同时成功,要么同时失败。操作开启事务提交事务回滚事务使用Connection对象来管理事务......
  • 第 18 章 使用 JDBC 4.2 和 Derby 访问 数据库
    18.1JDBC......................................................31318.1.1数据库驱动程序............................31418.1.2查看数据库.........................
  • jdbc及ojdbc下载
    mysql网址:https://www.mysql.com/downloads/下载JDBC驱动:进入DOWNLOADS标签下,点击页面MYSQLCommunity(GPL)Downloads;进入页面点击Conector/J;进入页面选择平台为:Platef......