Solved! Go to Solution.
I have a task of moving an oracle database with SDE (geodatabase) to a new server. I don't have experience in Oracle so I need detailed explanation if possible, so I need to know what is the best way to do this task.
The source server is Windows Server 2008 R2 The source database server is Oracle10g The destination server is Windows Server 2008 R2 the destination database server in Oracle11g
Thank you in advance,
I have posted this question after reading many pages and trying many ways that all lead me to failure, and I have very little time to finish this task.
I expected that any one will help me by giving the steps that should be done and then I'll research each step. I didn't expect to be blamed for sending a question here.
Thank you for not answering my question,
Ahmed,
Below are some basic steps that you can consider (it may differ sightly based on environment and your need):
1. Create a complete backup of the database on current machine using datapump
2. Create a new Oracle database on a new machine
3. Copy the dump created in step 1 to the new machine.
4. Create all necessary user tablespaces.
5. Grant these two permissions to PUBLIC by logging as 'sys' user in SQLPLUS:
SQL> grant execute on dbms_lock to public;
SQL> grant execute on dbms_pipe to public;
6. Import the Oracle dump file into the new Oracle database.
7. Check if there are any invalid objects for SDE schema, then re-compile those invalid objects by logging as 'sys' user in SQLPLUS:
SQL> select object_name,object_type from dba_objects where status='INVALID' and owner='SDE';
If you find any 'INVALID' objects, recompile then using following command;
SQL> exec dbms_utility.compile_schema(schema=>'SDE');
8. Install the correct (if required) version of ArcSDE on new machine.
Hope this helps 🙂 !
Well, you're welcome 😉 (joke)... Sorry, but you provided very little background, not even what version of ArcSDE geodatabase / ArcGIS you are running and what procedures you tried, nor specific issues you encountered we might be able to answer.
Maybe these Help pages are of use, and if you specify what exact issues or error messages you encountered, some of us might be of further help:
A quick tour of setting up a geodatabase in Oracle
Methods for moving a geodatabase in Oracle
Moving a geodatabase using an XML document
And maybe this OTN Community thread with rather detailed instructions on duplicating a database is of some use:
TIP 04: Duplicating a Database in 10g by Joel Pèrez
https://forums.oracle.com/thread/247436
Ahmed:
Do you currently have mxds that are using feature classes and tables from the existing SDE database? If so, will the replacement database have the same name so it can be referenced in the same way in the SDE connections that are saved in the mxd?
This was a task my organization had to go through when creating a replacement SDE database as it had a different name (I'm not sure how you can get around this unless you can turn off the old database and immediately turn on the new database - This is a risky procedure as you might have issues with the new database). As such, we also needed a script that would reroute the SDE connections to the new server, so both SDE databases could be available (This allowed us some time to trouble-shoot any connection issues before retiring the old server).