on 11-28-2009 9:38 AM
Dear Friends,
I created tapblespace in primary database
Now i need to apply archive logs in the standby server.
i followed the regular procedure while adding datafile in primaray server and next to standby server.
I given the command in standby server after mount standby database
SQL> alter database create tablespace PSAPEL700I extent management local autoall
ocate segment space management auto datafile '/oracle/PRD/sapdata9/el700i_1/el70
0i.data1' size 4096M autoextend off;
alter database create tablespace PSAPEL700I extent management local autoallocate
segment space management auto datafile '/oracle/PRD/sapdata9/el700i_1/el700i.da
ta1' size 4096M autoextend off
*
ERROR at line 1:
ORA-00900: invalid SQL statement
if this is not correct procedure
please clarify me how to create tablespace in standby database
Regards
Hari Kousik
Hello Hari,
> i followed the regular procedure while adding datafile in primaray server and next to standby server.
No, you don't ... the exact procedure is described in the official documentation and your way looks completely different.
Please check this documentation:
http://download.oracle.com/docs/cd/B14117_01/server.101/b10823/manage_ps.htm#1010429
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please omit "alter database" statement. SQL command for creating TS should looks like this:
CREATE TABLESPACE tablespace_name DATAFILE Datafile_Options Storage_Options;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai,
Thank you for giving answer for my problem
But this is standby server.i gave command
eg :
create tablespace PSAPEL700I extent management local autoallocate segment space management auto datafile '/oracle/PRD/sapdata9/el700i_1/el700i.data1' size 4096M autoextend off
its giving info database not open.
any other information about my problem.
pleae...
Regards,
Hari kousik
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.