transportable tablespace and standby database. [message #275956] |
Tue, 23 October 2007 08:47 |
aline
Messages: 92 Registered: February 2002
|
Member |
|
|
hello,
I'm trying to do an export with the transportable tablespace option on a standby database.
Do you have any idea against this problem?
exp "'/ as sysdba'" file=exp_tts.dmp log=exp_tts.log transport_tablespace=y tablespaces=mytest
Export: Release 9.2.0.8.0 - Production on Mon Oct 22 18:12:15 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
EXP-00008: ORACLE error 1219 encountered
ORA-01219: database not open: queries allowed on fixed tables/views only
EXP-00000: Export terminated unsuccessfully
|
|
|
|
Re: transportable tablespace and standby database. [message #276002 is a reply to message #275962] |
Tue, 23 October 2007 11:07 |
aline
Messages: 92 Registered: February 2002
|
Member |
|
|
hello Michel,
thk for you answer.
You right but if I open my database in read only mode, I have another error.
I know than my tablespace in not in read only mode but my database is in this state!
So I hope it would be ok but unfortunately not
exp "'/ as sysdba'" file=exp_tts.dmp log=exp_tts.log transport_tablespace=y tablespaces=mytest
Export: Release 9.2.0.8.0 - Production on Tue Oct 23 18:01:55 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
Export done in WE8ISO8859P15 character set and AL16UTF16 NCHAR character set
server uses WE8MSWIN1252 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export transportable tablespace metadata...
EXP-00008: ORACLE error 29335 encountered
ORA-29335: tablespace 'MYTEST' is not read only
ORA-06512: at "SYS.DBMS_PLUGTS", line 436
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
Of course, I tried to unsuccessfully:
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> alter database open read only;
Database altered.
SQL> alter tablespace mytest read only;
alter tablespace mytest read only
*
ERROR at line 1:
ORA-16000: database open for read-only access
[Updated on: Tue, 23 October 2007 11:12] Report message to a moderator
|
|
|
|
|
|
|