我的意思是使用shutdown immediate
关闭数据库,但在20分钟后它没有完成。然后我使用shutdown abort
关闭它。
当我开始时,将mount
状态更改为open
需要3-4个小时。
下面是alter.log:
Startedredoapplicationat
Thread1:logseq18964,block96750
RecoveryofOnlineRedoLog:Thread1Group5Seq18964Readingmem0
Mem#0:/storage/app/oracle/oradata/sjzk/redo05.log
RecoveryofOnlineRedoLog:Thread1Group6Seq18965Readingmem0
Mem#0:/storage/app/oracle/oradata/sjzk/redo06.log
RecoveryofOnlineRedoLog:Thread1Group3Seq18966Readingmem0
Mem#0:/storage/app/oracle/oradata/sjzk/redo03.log
RecoveryofOnlineRedoLog:Thread1Group1Seq18967Readingmem0
Mem#0:/storage/app/oracle/oradata/sjzk/redo01.log
RecoveryofOnlineRedoLog:Thread1Group2Seq18968Readingmem0
Mem#0:/storage/app/oracle/oradata/sjzk/redo02.log
RecoveryofOnlineRedoLog:Thread1Group4Seq18969Readingmem0
Mem#0:/storage/app/oracle/oradata/sjzk/redo04.log
Completedredoapplicationof543.73MB
WedSep2716:45:152017
Errorsinfile/storage/app/oracle/diag/rdbms/sjzk/sjzk/trace/sjzk_m000_4200.trc:
ORA-01155:thedatabaseisbeingopened,closed,mountedordismounted
WedSep2717:00:172017
Errorsinfile/storage/app/oracle/diag/rdbms/sjzk/sjzk/trace/sjzk_m000_4362.trc:
ORA-01155:thedatabaseisbeingopened,closed,mountedordismounted
sjzk_m000_4200.trc:
Trace file /storage/app/oracle/diag/rdbms/sjzk/sjzk/trace/sjzk_m000_4362.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /storage/app/oracle/product/11.2.0/db_1
System name: Linux
Node name: qyws-6-43
Release: 3.0.13-0.27-default
Version: #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b)
Machine: x86_64
VM name: VMWare Version: 6
Instance name: sjzk
Redo thread mounted by this instance: 1
Oracle process number: 28
Unix process pid: 4362, image: oracle@qyws-6-43 (M000)
*** 2017-09-27 17:00:17.494
*** SESSION ID:(1141.3) 2017-09-27 17:00:17.494
*** CLIENT ID:() 2017-09-27 17:00:17.494
*** SERVICE NAME:() 2017-09-27 17:00:17.494
*** MODULE NAME:(MMON_SLAVE) 2017-09-27 17:00:17.494
*** ACTION NAME:(Monitor FRA Space) 2017-09-27 17:00:17.494
ORA-01155: the database is being opened, closed, mounted or dismounted
这个问题与磁盘有关吗?
答案 0 :(得分:1)
关闭中止数据库将在打开数据库之前执行崩溃恢复。时间关系 1.块的体积需要恢复,因为oracle将向前滚动 重做以恢复损坏的块。 2.磁盘性能
对于第一个,您可以通过设置 fast_start_mttr_target 参数来减少它,或者您可以根据您的系统体验将重做日志文件大小设置为正确的值。 对于第二个,您应该使用性能更好的磁盘。