Select to view content in your preferred language

Advice required upgrading Oracle with ArcSDE

1781
4
03-22-2017 09:37 AM
CarolineKeay
Deactivated User

Problem: We want to upgrade our Oracle 11g + ArcSDE 10.1.0 to Oracle 12c + ArcSDE 10.4.1

 

Steps tried so far:

  1. Created a new virtual server
  2. Exported a full database backup from current Oracle 11g
  3. installed Oracle 12c to new server
  4. from an ArcGIS 10.4.1 client used python to create ST_GEOMETRY as described here: http://desktop.arcgis.com/en/arcmap/10.3/tools/data-management-toolbox/create-spatial-type.htm
  5. imported full backup from oracle 12c
  6. from ArcGIS 10.4.1 client connected to new server using TNSNAMES.ora to define connection
  7. connected to geodatabase using ArcCatalog unfortunately all spatial tables were identified by a default icon and not the relevant spatial type icon. Right clicking on object would update icon but if loaded into ArcGIS it would put up a “New Query Layer” form and ask the user to identify a Unique Identified Field, then calculate extent.
  8. Raster datatype not recognised at all, so installed ST_RASTER type and reloaded raster files from backup, unfortunately they are still not recognised as rasters. Direct copy/pasting the rasters from the original geodatabase to the new one using ArcGIS client works but this would need to be done by every user/schema that owns rasters to maintain ownership.
  9. Noticed the new SDE.LAYERS table is empty except for the table directly loaded using copy/paste.

Can anyone advise what we are doing wrong and what steps we are missing.

Thanks in advance

4 Replies
VinceAngelo
Esri Esteemed Contributor

You seem to have forgotten to back up and restore the SDE user (between steps 5 and 6), and to upgrade the 10.1 schema tables to 10.4.1 between steps 6 and 7).

0 Kudos
Asrujit_SenGupta
MVP Regular Contributor

Seems like the Oracle Full Database Backup/Restore process may not have been done correctly. It is being treated as a Simple database.

(Check if R-clicking on the connection file in ArcCatalog gives you the 'Enable Geodatabase' option)

Also Step-4 is not necessary. Its for simple databases and not Enterprise Geodatabase.

The Create Spatial Type tool adds or upgrades the ST_Geometry SQL type, subtypes, and functions to an Oracle or PostgreSQL database. This allows you to use the ST_Geometry SQL type to store geometries in a database that does not contain a geodatabase. This tool also can be used to upgrade an existing ST_Geometry installation in an Oracle or PostgreSQL database.

0 Kudos
CarolineKeay
Deactivated User

The restore of the SDE user was done as part of the backup import. Then the upgrade geodatabase was done from the ArcGIS client on the new DB (Sorry, I think we missed listing that in the steps…). That would have been done between 6 and 7.

So you are saying if we are enterprise geodatabase (which we believe we are) we don’t need ST_Geometry? (or ST_Raster?). We don't have Oracle Spatial, does that make a difference? The original server had the ArcSDE  application installed on it, but I believe that is no longer necessary on ArcGIS 10.4.

We believe the upgrade process has been corrupted somewhere so are going to try again from scratch.

It would be good to get a set of documented steps to go from existing Oracle/GIS to new Oracle/GIS. I wonder if we need to upgrade the geodatabase on the existing DB first? Will that mess with our ArcGIS clients who are using older versions of ArcGIS?

0 Kudos
by Anonymous User
Not applicable

Hi all

I think that point 9. Noticed the new SDE.LAYERS table is empty except for the table directly loaded using copy/paste. and you will need to identify why that table (or maybe other tables in the SDE schema) has been created but not populated during the Oracle Import/Export process... 

How are you migrating the data from one database to the new one? Imp/exp? Backup/restore? Do you have a log of the process? Any error or warning during this process?

Regards

Jesús

0 Kudos