Patches and updates

ArcSDE 9.2 Connection Performance and Geodatabase Repair Patch

Published: December 10, 2008

Summary

This patch addresses two different issues: It improves connection performance to an ArcSDE geodatabase under certain conditions and adds functionality to the sdegdbrepair utility.

Description

The ArcSDE 9.2 Connection Performance and Geodatabase Repair Patch is to be applied to ArcSDE and ArcSDE clients that already have 9.2 Service Pack 6 installed.

The patch may improve performance when connecting to an ArcSDE geodatabase from ArcGIS Desktop or when using the Add Data dialog box in ArcMap. For more information on what was specifically fixed related to connection performance, see technical article 35699.

This patch also offers additional functionality on the sdegdbrepair utility, including the detection and repair of specific states that are not pointed to by a version, and detection and repair of cases for which the deletes table is potentially missing specific entries. To learn how to use the sdegdbrepair utility, read the updated sdegdbrepair syntax and instructions.

Installing the Patch

ArcSDE 9.2 Service Pack 6 must be installed before you can install this Patch. It is strongly recommended that you back up your database including all previous ArcSDE system tables and user layer data before upgrading your ArcSDE installation. Install this Patch using an administrator account.

REQUIRED INSTALL STEP: If you connect to ArcSDE 9.2 via an Application Server and Direct Connect connections using ArcGIS 9.2, ArcIMS 9.2, or ArcView GIS 3.3 with DBA 2.1g make sure you also see ESRI Products connecting to ArcSDE (Application and Direct Connect connections).

Server Install for UNIX

During installation, you can either save the original 9.2 files or overwrite them. If you choose to save them, make sure you have enough disk space. The disk space requirements, for each platform, are displayed during the installation process.

ArcSDE 9.2 Service Pack 6 must be installed on the server and your client applications before you install this Patch.

  1. Download the appropriate tar file to a location other than $SDEHOME:

    DB2  
    HP64 sde92-cpgrpatch-db2-hp64.tar
    10 MB
    IBM64 sde92-cpgrpatch-db2-ibm64.tar
    9 MB
    Linux sde92-cpgrpatch-db2-lx.tar
    7 MB
    Solaris64 sde92-cpgrpatch-db2-slrs64.tar
    9 MB
       
    Informix  
    HP sde92-cpgrpatch-inf-hp.tar
    9 MB
    IBM sde92-cpgrpatch-inf-ibm.tar
    9 MB
    Solaris sde92-cpgrpatch-inf-slrs.tar
    8 MB
       
    Oracle 9i  
    HP64 See important note
    12 MB
    IBM64 sde92-cpgrpatch-ora9i-ibm64.tar
    10 MB
    Linux sde92-cpgrpatch-ora9i-lx.tar
    8 MB
    Solaris64 sde92-cpgrpatch-ora9i-slrs64.tar
    11 MB
    Tru64 See important note
    13 MB
       
    Oracle 10g  
    HP64 See important note
    12 MB
    IBM64 sde92-cpgrpatch-ora10g-ibm64.tar
    11 MB
    Linux sde92-cpgrpatch-ora10g-lx.tar
    8 MB
    Solaris64 sde92-cpgrpatch-ora10g-slrs64.tar
    11 MB
    TRU64 See important note
    13 MB


    Note: This patch has been superceded by the ArcSDE 9.2 Service Pack 6 Compress with Concurrent Editors Patch. It addresses all the issues from this Patch as well as the newer issues addressed in the ArcSDE 9.2 Service Pack 6 Compress with Concurrent Editors Patch.

  2. Stop your current ArcSDE service if one is running.

    % sdemon -o shutdown
  3. NOTE (AIX only): You must remove any inactive libraries that are loaded into memory before proceeding to the next step. Not doing so will result in an installation error. To remove them, as ROOT user, type:

    # /usr/sbin/slibclean

    (Optional) To list the libraries loaded into memory, as ROOT user, type:

    # /usr/sbin/genkld

    For further information on the slibclean and genkld commands please refer to your AIX system administrator documentation.

  4. Extract the specified tar file by typing:

    % tar -xvf sde92-cpgrpatch-<Database>-<Platform>.tar

  5. Start the installation by typing:

    % ./applypatch
  6. This will start the dialog for the menu-driven installation procedure. Default selections are noted in parentheses ( ). To quit the installation procedure, type 'q' at any time.

  7. (This step is for Oracle only, all other DBMS skip to the next step)

    Before running "sdesetup -o upgrade", you must grant the following additional permissions to the SDE user in Oracle:

    ALTER ANY INDEX
    ALTER ANY TABLE
    ANALYZE ANY
    CREATE ANY INDEX
    CREATE ANY PROCEDURE
    CREATE ANY SEQUENCE
    CREATE ANY TRIGGER
    CREATE ANY VIEW
    CREATE INDEXTYPE
    CREATE LIBRARY
    CREATE OPERATOR
    CREATE PROCEDURE
    CREATE PUBLIC SYNONYM
    CREATE SESSION
    CREATE SEQUENCE
    CREATE TABLE
    CREATE TRIGGER
    CREATE TYPE
    DROP ANY INDEX
    DROP ANY PROCEDURE
    DROP ANY SEQUENCE
    DROP ANY TABLE
    DROP ANY VIEW
    DROP PUBLIC SYNONYM
    EXECUTE ANY PROCEDURE
    SELECT ANY SEQUENCE
    SELECT ANY TABLE
    UNLIMITED TABLESPACE

  8. To upgrade, run sdesetup. Failure to do so may cause problems in starting the service or with connecting to the geodatabase. Please go to the admin command guide under the %SDEHOME%\documentation folder for more information on using this command:

    %sdesetup -o upgrade -d <ORACLE9I|ORACLE10G|SQLSERVER|DB2|INFORMIX> –u <DB_Admin_User> –p <DB_Admin_password>

  9. (This step is for Oracle only, all other DBMS skip to the next step)
    After the upgrade completes, you may revoke the following permissions from the SDE user account:

    ANALYZE ANY
    ALTER ANY INDEX
    ALTER ANY TABLE
    CREATE ANY INDEX
    CREATE ANY TRIGGER
    CREATE ANY VIEW
    DROP ANY INDEX
    DROP ANY TABLE
    DROP ANY VIEW
    DROP ANY PROCEDURE
    DROP ANY SEQUENCE
    EXECUTE ANY PROCEDURE
    SELECT ANY SEQUENCE
    CREATE INDEXTYPE
    CREATE LIBRARY
    CREATE OPERATOR
    CREATE TYPE

  10. Restart your service.

    % sdemon -o start

  11. (This step is for Oracle users who have Oracle and ArcSDE installed on separate machines only, all other DBMS skip to the next step)
  12. If you are installing ArcSDE on a different server than Oracle, you must copy the shared libraries used by EXTPROC to the Oracle server. These libraries include st_shapelib plus the Geometry library and the Projection Engine library. (The names of these files vary depending on what operating system (OS) you are using.) Be sure the files copied to the Oracle server are designed to run on the operating system of the Oracle server. For example, if ArcSDE is installed on a Linux machine, but Oracle is installed on a Solaris machine, the library files you copy to the Oracle server must be for Solaris. To get the files for different operating system, you can install the software files of the ArcSDE component on the Oracle server, creating the SDEHOME files, and delete everything but the three required library files.


    Library Name OS-dependent file names
    st_shapelib st_shapelib.dll, libst_shapelib.so (.sl for HP, _64.so for IBM64)
    Projection Engine pe.dll, libpe.so (.sl for HP, _64.so for IBM64)
    Geometry sg.dll, libsg.so (.sl for HP, _64.so for IBM64)

    These files can be found in the bin (Windows) or lib (UNIX/Linux) directory of SDEHOME after you've installed the ArcSDE component. You can copy these files to the %ORACLE_HOME%\lib (Windows) or $ORACLE_HOME/lib (UNIX/Linux) directory on the Oracle server, which is the default location that Oracle looks in for shared libraries. Or, you can leave these files where they were installed or move them into any directory that is accessible to the user that owns ORACLE_HOME.

  13. If you have ArcSDE installed on more than one server, perform steps 1 through 8 for each one.
    Note:If you have multiple geodatabases on the same server, you only have to install the patch once on the server, but you must perform steps 5 through 8 to upgrade each of the geodatabases and restart their corresponding services if services exist.

Server Install for Windows

  • Windows Installation Notes:

    ArcSDE 9.2 Service Pack 6 must be installed on the server and your client applications before you install this Patch.

Installation Steps

  1. Install this Patch using an administrator account. Make sure you have write access to the ArcSDE installation folder, that no one is using ArcSDE, and that the ArcSDE service is down.
  2. Download the appropriate files to a location other than the ArcSDE installation folder:

  3. Double-click the appropriate executable to start the install process.
  4. When Setup starts, follow the instructions on your screen.
  5. (This step is for Oracle only, all other DBMS skip to the next step)
    Before running "sdesetup -o upgrade", you must grant the following additional permissions to the SDE user in Oracle:

    ALTER ANY INDEX
    ALTER ANY TABLE
    ANALYZE ANY
    CREATE ANY INDEX
    CREATE ANY PROCEDURE
    CREATE ANY SEQUENCE
    CREATE ANY TRIGGER
    CREATE ANY VIEW
    CREATE INDEXTYPE
    CREATE LIBRARY
    CREATE OPERATOR
    CREATE PROCEDURE
    CREATE PUBLIC SYNONYM
    CREATE SESSION
    CREATE SEQUENCE
    CREATE TABLE
    CREATE TRIGGER
    CREATE TYPE
    DROP ANY INDEX
    DROP ANY PROCEDURE
    DROP ANY SEQUENCE
    DROP ANY TABLE
    DROP ANY VIEW
    DROP PUBLIC SYNONYM
    EXECUTE ANY PROCEDURE
    SELECT ANY SEQUENCE
    SELECT ANY TABLE
    UNLIMITED TABLESPACE

  6. As the ArcSDE Administrative user run the sdesetup command. Failure to do so may cause problems in starting the service or with connecting to the geodatabase. Please go to the admin command guide under the %SDEHOME%\documentation folder for more information on using this command:

    c:\ sdesetup -o upgrade -d <ORACLE9I|ORACLE10G|SQLSERVER|DB2|INFORMIX> –u <DB_Admin_User> –p <DB_Admin_password>

  7. (This step is for Oracle only, all other DBMS skip to the next step)
    After the upgrade completes, you may revoke the following permissions from the SDE user account:

    ANALYZE ANY
    ALTER ANY INDEX
    ALTER ANY TABLE
    CREATE ANY INDEX
    CREATE ANY TRIGGER
    CREATE ANY VIEW
    DROP ANY INDEX
    DROP ANY TABLE
    DROP ANY VIEW
    DROP ANY PROCEDURE
    DROP ANY SEQUENCE
    EXECUTE ANY PROCEDURE
    SELECT ANY SEQUENCE
    CREATE INDEXTYPE
    CREATE LIBRARY
    CREATE OPERATOR
    CREATE TYPE

  8. As the ArcSDE administrative user, run the following command to restart the ArcSDE service:

    c:\sdemon -o start

  9. (This step is for Oracle users who have Oracle and ArcSDE installed on separate machines only, all other DBMS skip to the next step)
  10. If you are installing ArcSDE on a different server than Oracle, you must copy the shared libraries used by EXTPROC to the Oracle server. These libraries include st_shapelib plus the Geometry library and the Projection Engine library. (The names of these files vary depending on what operating system (OS) you are using.) Be sure the files copied to the Oracle server are designed to run on the operating system of the Oracle server. For example, if ArcSDE is installed on a Windows machine, but Oracle is installed on a Solaris machine, the library files you copy to the Oracle server must be for Solaris. To get the files for different operating system, you can install the software files of the ArcSDE component on the Oracle server, creating the SDEHOME files, and delete everything but the three required library files.


    Library Name OS-dependent file names
    st_shapelib st_shapelib.dll, libst_shapelib.so (.sl for HP, _64.so for IBM64)
    Projection Engine pe.dll, libpe.so (.sl for HP, _64.so for IBM64)
    Geometry sg.dll, libsg.so (.sl for HP, _64.so for IBM64)

  11. If you have ArcSDE installed on more than one server, perform steps 1 through 8 for each one.
    Note:If you have multiple geodatabases on the same server, you only have to install the patch once on the server, but you must perform steps 5 through 8 to upgrade each of the geodatabases and restart their corresponding services if services exist.

ArcSDE SDK Install for UNIX

  1. Download the appropriate tar file to a location other than ArcSDE SDK installation location:
    All Databases (32 bit Operating System)

    All Databases (64 bit Operating System)

  2. Extract the specified tar file by typing:
    % tar -xvf sde92-cpgrpatch-sdk-<Platform>.tar
  3. Start the installation by typing:
    % ./applypatch

    This will start the dialog for the menu-driven installation procedure. Default selections are noted in parentheses ( ). To quit the installation procedure, type 'q' at any time.

ArcSDE SDK Install for Windows

  1. Make sure you have write access to the ArcSDE SDK installation folder.
  2. Download the appropriate files to a location other than the ArcSDE SDK installation folder:

    ArcSDE SDK sde92-cpgrpatch-sdk-win.exe 8 MB

  3. Double-click the appropriate executable to start the install process.
  4. When Setup starts, follow the instructions on your screen.

ESRI Products connecting to ArcSDE (Application Server and Direct Connect connections)

  • UNIX

    • If you connect to ArcSDE 9.2 Service Pack 6 using ArcGIS 9.2 Workstation or ArcIMS 9.2 on any supported Unix/Linux platform please follow the steps below to install this Patch to your ArcGIS 9.2 or ArcIMS 9.2 software installation directory. This also applies if connecting to ArcSDE 9.2 using ArcGIS Server, ArcGIS Engine, and ArcGIS Reader for Sun Solaris and Linux:

      • Before you start, make sure you have write access to the installation directory then download the appropriate compressed tar file to that location:

      • ArcIMS only, stop the ArcIMS Tasker, ArcIMS Monitor, ArcIMS Application Server (in that order).
      • Uncompress and extract the specified tar file for your platform. At the UNIX prompt type:

        %cd <installation_directory> (i.e. cd $ARCHOME)
        %gunzip sde92-cpgrpatch-esri-<Platform>.tar.gz
        %tar xvf sde92-cpgrpatch-esri-<Platform>.tar

      • ArcIMS only, restart ArcIMS Application Server, ArcIMS Monitor and ArcIMS Tasker (in that order).

    Windows

    • If you connect to ArcSDE 9.2 Service Pack 6 using ArcGIS 9.2, ArcIMS 9.2, ArcInfo Workstation 9.2, or ArcView GIS 3.3 with DBA 2.1g, please follow the steps below to install this Patch to your ArcGIS 9.2, ArcIMS 9.2, ArcInfo Workstation 9.2, or ArcView GIS 3.3 with DBA 2.1g installation folder:

    • Before you start, make sure you have write access to the installation folder, then download the zip file to that location:

    • ArcIMS only, stop the ArcIMS Tasker, ArcIMS Monitor, ArcIMS Application Server (in that order).
    • Use WinZip to extract the new file from sde92-cpgrpatch-esri-win.zip to the appropriate installation folder, see list below
      • ArcGIS Desktop, Workstation, or ArcView 9 - <installation-folder>\bin
      • ArcView GIS - <installation-folder>\arcview3\bin
      • ArcIMS – <installation-folder>\server\bin:
        If it is listed in the files included section, extract sde.dll to <installation-folder>\Metadata\Commands
        If it is listed in the files included section, extract sde.dll to <installation-folder>\IndexBuilder
    • ArcIMS only, restart ArcIMS Application Server, ArcIMS Monitor and ArcIMS Tasker (in that order).

How to identify which Patch is installed

  1. UNIX
    • To find out what ArcGIS products are currently installed on your machine, copy the PatchFinder.tar utility to your machine and run it from your local machine. This utility provides a report detailing which ArcGIS products and which service packs have been installed. The PatchFinder utility searches for the following ArcGIS products.

      • ArcGIS Engine Developer Kit for C++
        ArcGIS Engine Developer Kit for the Java Platform
        ArcGIS Engine Runtime
        ArcGIS Server for the Java Platform
        ArcIMS
        ArcIMS Web ADF for the Java Platform
        ArcInfo Workstation
        ArcReader
        ArcSDE

      Extract the tar file by typing:

      % tar xvf PatchFinder.tar

      Run the utility by typing:

      % ./PatchFinder

    Windows
    • To check for the presence of a Patch, for each file examine the File version information (right click, properties, version tab). With only a few exceptions, all files modified as part of a Patch distribution can be uniquely identified in this manner. The File version for this Patch should read:

      • 9.2.6.1278

    Service Pack Updates

    Check Online Support Center periodically for the availability of additional Service Packs. New information about this Service Pack will be posted here.

    August 3, 2009: Changed instructions on how to identify patched files for Windows.

    Getting Help

    Domestic sites, please contact ESRI Technical Support at 1-888-377-4575, if you have any difficulty installing this Service Pack. International sites, please contact your local ESRI software distributor.



Download ID:1478

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options