Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

48

主题
1#
发表于 2013-1-16 16:45:41 | 查看: 3434| 回复: 4
本帖最后由 lory 于 2013-1-16 17:06 编辑

OS: linux redhat AS 4.0
DB:oracle 10.2.0.5
在看rman的资料,按照手册上的做(B14191-03) user-managed TPITR
http://docs.oracle.com/cd/B19306_01/backup.102/b14191.pdf
on page 20-2



但是在导出tablespace 的meta data时出现:
oracle@RAC1 ~]$ exp \'/ as sysdba \' tablespaces=test1 transport_tablespace=y file=/u01/app/oracle/oradata/CLONEDB/t

Export: Release 10.2.0.5.0 - Production on Tue Jan 15 16:48:23 2013

Copyright (c) 1982, 2007, Oracle. All rights reserved.


Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export transportable tablespace metadata...
EXP-00008: ORACLE error 1001 encountered
ORA-01001: invalid cursor
ORA-06512: at "SYS.DBMS_SYS_SQL", line 902
ORA-06512: at "SYS.DBMS_SQL", line 19
ORA-06512: at "SYS.DBMS_TTS", line 838
ORA-00376: file 3 cannot be read at this time
ORA-01110: data file 3: '/u01/app/oracle/oradata/CLONEDB/sysaux01.dbf'
ORA-06512: at "SYS.DBMS_PLUGTS", line 1387
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully


2#
发表于 2013-1-16 18:40:25
可以先修复sysaux01.dbf文件

回复 只看该作者 道具 举报

3#
发表于 2013-1-17 17:14:05
xifenfei 发表于 2013-1-16 18:40
可以先修复sysaux01.dbf文件

我按照手册上面做的user-managed tablespace point in time recovery,
上面没说要恢复sysaux,不过确实在导出的时候要sysaux,
所以怀疑是不是手册上写错了。

回复 只看该作者 道具 举报

4#
发表于 2013-1-17 17:52:13
试试

ALTER SYSTEM SET OPTIMIZER_MODE=RULE;

由于统计信息存放在SYSAUX上,所以CBO的游标会失败,此时用RBO往往可以绕过问题

回复 只看该作者 道具 举报

5#
发表于 2013-1-18 11:07:38
Maclean Liu(刘相兵 发表于 2013-1-17 17:52
试试

ALTER SYSTEM SET OPTIMIZER_MODE=RULE;

试了设定
ALTER SYSTEM SET OPTIMIZER_MODE=RULE;

还是一样的,应该是要sysaux在线才能做了

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-16 06:29 , Processed in 0.045750 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569