on 03-28-2008 1:58 PM
I'm in the middle of system copy of XI based on SAPWeb AS server 6.40. I'm system copying the Quality server (XQA) from Production server (XPD) using offline backup of production server.
In Production server, schema ID name is SAPXPD. After copy the prodcution server data, tablespaces in quality server look like SAPXPD, SAPXPD640, SAPXPDDB etc.
and in operating system file system, it look like xpd_1,xpd640_1 etc.
I think, i should first change the schema ID and it should change the tablespace name, operating system file system etc.
Pls let me know how to change the schema ID in this case. If there is any documentation, pls copy it to me ar <email address deleted by moderator>.
Thanks in advance
Amar
Hi Amarjit,
You could change SID by executing sql statement, below;
CREATE CONTROLFILE SET DATABASE "XXX" RESETLOGS ARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 254
MAXINSTANCES 50
MAXLOGHISTORY 4537
LOGFILE
GROUP 11 (
'D:\ORACLE\XXX\ORIGLOGA\LOG_G11M1.DBF',
'E:\ORACLE\XXX\MIRRLOGA\LOG_G11M2.DBF'
) SIZE 75M,
GROUP 12 (
'D:\ORACLE\XXX\ORIGLOGB\LOG_G12M1.DBF',
'E:\ORACLE\XXX\MIRRLOGB\LOG_G12M2.DBF'
) SIZE 75M,
GROUP 13 (
'D:\ORACLE\XXX\ORIGLOGA\LOG_G13M1.DBF',
'E:\ORACLE\XXX\MIRRLOGA\LOG_G13M2.DBF'
) SIZE 75M,
GROUP 14 (
'D:\ORACLE\XXX\ORIGLOGB\LOG_G14M1.DBF',
'E:\ORACLE\XXX\MIRRLOGB\LOG_G14M2.DBF'
) SIZE 75M,
GROUP 15 (
'D:\ORACLE\XXX\ORIGLOGA\LOG_G15M1.DBF',
'E:\ORACLE\XXX\MIRRLOGA\LOG_G15M2.DBF'
) SIZE 75M,
GROUP 16 (
'D:\ORACLE\XXX\ORIGLOGB\LOG_G16M1.DBF',
'E:\ORACLE\XXX\MIRRLOGB\LOG_G16M2.DBF'
) SIZE 75M,
GROUP 17 (
'D:\ORACLE\XXX\ORIGLOGA\LOG_G17M1.DBF',
'E:\ORACLE\XXX\MIRRLOGA\LOG_G17M2.DBF'
) SIZE 75M,
GROUP 18 (
'D:\ORACLE\XXX\ORIGLOGB\LOG_G18M1.DBF',
'E:\ORACLE\XXX\MIRRLOGB\LOG_G18M2.DBF'
) SIZE 75M
-- STANDBY LOGFILE
DATAFILE
'E:\ORACLE\XXX\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
.
.
.
CHARACTER SET US7ASCII
;
Since, create this sql statement perform following command on your productive system;
startup nomount
alter database backup controlfile to trace resetlogs;
Then go to \usertrace directory and open newly created log file. So, you can see the sql statement as same as above. Copy the statement and change SID regarding your requirement. For example CREATE CONTROLFILE SET DATABASE "XQA" and execute it on your QA system.
Before the operation, do not forget to delete existing control files on your QA system.
At the end of the respective execution, perform following statements;
>shutdown
>startup mount
>alter database open resetlogs;
>shutdown
I hope that it helps to you.
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.