码迷,mamicode.com
首页 > 其他好文 > 详细

热备份时,突然断电

时间:2015-01-11 17:36:54      阅读:252      评论:0      收藏:0      [点我收藏+]

标签:

 

 

alter tablespace users begin backup;

断电

startup

select status from v$instance;

alter tablespace users end backup;

alter database open;

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

SYS@ora11g>alter tablespace users begin backup;

Tablespace altered.

 

SYS@ora11g>shutdown abort

ORACLE instance shut down.

 

SYS@ora11g>startup

ORACLE instance started.

Total System Global Area  830930944 bytes

Fixed Size                  2231048 bytes

Variable Size             616563960 bytes

Database Buffers          205520896 bytes

Redo Buffers                6615040 bytes

Database mounted.

ORA-10873: file 4 needs to be either taken out of backup mode or media

recovered

ORA-01110: data file 4: ‘+DATA/ora11g/datafile/users.259.833721555‘

 

 

SYS@ora11g>select status from v$instance;

STATUS

----------

MOUNTED

 

SYS@ora11g>alter tablespace users end backup;

Tablespace altered.

 

SYS@ora11g>alter database open;

Database altered.

热备份时,突然断电

标签:

原文地址:http://www.cnblogs.com/wwxbi/p/4216788.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!