English

ArcSDE 9.1 Compress with Concurrent Editors Patch

Summary

This patch fixes two issues associated with compressing a geodatabase while users are in the process of making versioned edits to data in the geodatabase. ESRI recommends you apply this patch if you compress your geodatabase while any users are concurrently performing edits.

Description


Introduction

ESRI® announces the ArcSDE 9.1 Compress with Concurrent Editors patch. This patch fixes two issues associated with compressing a geodatabase while users are in the process of making versioned edits to data in the geodatabase. The specific issues addressed in this patch are listed in the next section. ESRI recommends you apply this patch if you compress your geodatabase while any users are concurrently performing edits.

Please see technical articles 36194 and 35287 for more detailed information.

Issues Fixed with this Patch

  • NIM041843 - Compressing a geodatabase while users are connected and editing can encounter the error "Target state not found in the STATES table (-172)". (Please see technical article 35287 for more details.)
  • NIM042238 - Executing a compress operation while sessions are connected and editing can result in data inconsistencies if the compress operation attempts to delete a state of the database with descendant states. (Please see technical article 36194 for more details.)
  • NIM043540 - ArcSDE for Oracle: Optimize delete statements used by trim and deleting states when removing rows from a versioned table's deletes table.
  • NIM043097 - Compressing a geodatabase can lead to blocking conditions in ArcGIS which impact editor user response time. Please see technical article 36371 for more details.)
  • NIM043170 - The compress analysis process results in extremely slow performance due to full table scans and full index scans being generated on the D table.

Installing the Patch

The ArcSDE 9.1 General Update Patch 3 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 INSTALLATION STEP: If you connect to ArcSDE 9.1 via an Application Server and Direct Connect connections using ArcGIS 9.1, ArcIMS 9.1, or ArcInfo Workstation 9.1 make sure you also see ESRI products connecting to ArcSDE (application server and direct connections).

Server installation for UNIX

During installation, you can either save the original 9.1 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.

The ArcSDE 9.1 General Update Patch 3 must be installed before you can install this patch.

  1. Download the appropriate tar file to a location other than $SDEHOME:
  2. DB2  
    HP-UX 64 sde91-compresspatch-db2-hp64.tar
    11 MB
    IBM64 sde91-compresspatch-db2-ibm64.tar
    10 MB
    IBM sde91-compresspatch-db2-ibm.tar
    10 MB
    Linux sde91-compresspatch-db2-lx.tar
    7 MB
    Solaris64 sde91-compresspatch-db2-slrs64.tar
    10 MB
       
    Informix  
    HP-UX sde91-compresspatch-inf-hp.tar
    11 MB
    IBM sde91-compresspatch-inf-ibm.tar
    10 MB
    Solaris sde91-compresspatch-inf-slrs.tar
    10 MB
       
    Oracle 9i  
    HP64 sde91-compresspatch-ora9i-hp64.tar
    13 MB
    IBM64 sde91-compresspatch-ora9i-ibm64.tar
    11 MB
    Linux sde91-compresspatch-ora9i-lx.tar
    9 MB
    Solaris64 sde91-compresspatch-ora9i-slrs64.tar
    13 MB
    Solaris sde91-compresspatch-ora9i-slrs.tar
    12 MB
       
    Oracle 10g  
    HP64 sde91-compresspatch-ora10g-hp64.tar
    13 MB
    IBM64 sde91-compresspatch-ora10g-ibm64.tar
    11 MB
    Linux sde91-compresspatch-ora10g-lx.tar
    9 MB
    Solaris64 sde91-compresspatch-ora10g-slrs64.tar
    13 MB

  3. Stop your current ArcSDE service if one is running.
  4. % sdemon -o shutdown

    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.

  5. Extract the specified tar file by typing:
  6. % tar -xvf sde91-compresspatch-<Database>-<Platform>.tar
  7. Start the installation by typing:
  8. % ./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.

  9. (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 SESSION
      DROP ANY INDEX
      DROP ANY TABLE
      DROP ANY VIEW
      DROP ANY PROCEDURE
      DROP ANY SEQUENCE
      EXECUTE ANY PROCEDURE
      SELECT ANY SEQUENCE
      SELECT ANY TABLE
      UNLIMITED TABLESPACE

  10. 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:
  11. %sdesetup -o upgrade -d <ORACLE8I|ORACLE9I|ORACLE10G|SQLSERVER|DB2|INFORMIX> –u <DB_Admin_User> –p <DB_Admin_password>

  12. (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:

      ALTER ANY INDEX
      ALTER ANY TABLE
      ANALYZE ANY
      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
  13. Restart your service.
  14. % sdemon -o start

  15. (This step is for Oracle users who have Oracle and ArcSDE installed on separate machines only, all other DBMS skip to the next step)


  16. If you have the ArcSDE component and Oracle installed on separate servers, there are three shared libraries used by EXTPROC that must be copied to the Oracle server. Check the list of files altered by this patch. If any of the following files are on this list, new versions of the file must be copied to the Oracle server. Be sure the files copied to the Oracle server are designed to run on the operating system of the Oracle server. See the ArcSDE for Oracle installation guide for instructions.

    If the file is not in the list, new versions of it do not need to be copied to the Oracle server.

    Library Name OS-dependent file names
    st_shapelib st_shapelib.dll (Windows), libst_shapelib.so (Solaris, Linux, and and HP-UX Itanium), libst_shapelib.sl (HP-UX PA-RISC), libst_shapelib_64.so (IBM)
    Projection Engine pe.dll (Windows), libpe.so (Solaris, Linux, and and HP-UX Itanium), libpe.sl (HP-UX PA-RISC), libpe_64.so (IBM)
    Geometry sg.dll (Windows), libsg.so (Solaris, Linux, and and HP-UX Itanium), libsg.sl (HP-UX PA-RISC), libsg_64.so (IBM)

  17. 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 installation for Windows

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. DB2  
    sde91-compresspatch-db2-win.EXE 3 MB
    Informix  
    sde91-compresspatch-inf-win.EXE 2 MB
    Oracle 9i  
    sde91-compresspatch-ora9i-win.exe 3 MB
    Oracle 10g  
    sde91-compresspatch-ora10g-win.exe 3 MB
    SQL Server  
    sde91-compresspatch-sql-win.exe 3 MB

  4. Double-click the appropriate executable to start the installation process.

  5. When Setup starts, follow the instructions on your screen.

  6. (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
  7. 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:
  8. c:\ sdesetup -o upgrade -d <ORACLE8I|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. As the ArcSDE administrative user, run the following command to restart the ArcSDE service:

    c:\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 have the ArcSDE component and Oracle installed on separate servers, there are three shared libraries used by EXTPROC that must be copied to the Oracle server. Check the list of files altered by this patch. If any of the following files are on this list, new versions of the file must be copied to the Oracle server. Be sure the files copied to the Oracle server are designed to run on the operating system of the Oracle server. See the ArcSDE for Oracle installation guide for instructions.

    If the file is not in the list, new versions of it do not need to be copied to the Oracle server.

    Library Name OS-dependent file names
    st_shapelib st_shapelib.dll (Windows), libst_shapelib.so (Solaris and Linux), libst_shapelib.sl (HP-UX PA-RISC), libst_shapelib_64.so (IBM)
    Projection Engine pe.dll (Windows), libpe.so (Solaris and Linux), libpe.sl (HP-UX PA-RISC), libpe_64.so (IBM)
    Geometry sg.dll (Windows), libsg.so (Solaris and Linux), libsg.sl (HP-UX PA-RISC), libsg_64.so (IBM)

  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.

ArcSDE SDK installation for UNIX

  1. Download the appropriate tar file to a location other than ArcSDE SDK installation location:
    All Databases (32 bit Operating System)
    HP sde91-compresspatch-sdk-hp.tar
    14 MB
    IBM sde91-compresspatch-sdk-ibm.tar
    11 MB
    Linux sde91-compresspatch-sdk-lx.tar
    8 MB
    Solaris sde91-compresspatch-sdk-slrs.tar
    10 MB
       
    All Databases (64 bit Operating System)
    HP64 sde91-compresspatch-sdk-hp64.tar
    12 MB
    IBM64 sde91-compresspatch-sdk-ibm64.tar
    11 MB
    Solaris64 sde91-compresspatch-sdk-slrs64.tar
    11 MB

  2. Extract the specified tar file by typing:
    % tar -xvf sde91-compresspatch-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 installation 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:

  3. ArcSDE SDK sde91-compresspatch-sdk-win.exe 8 MB

  4. Double-click the appropriate executable to start the installation process.

  5. When Setup starts, follow the instructions on your screen.

ESRI products connecting to ArcSDE (application server and direct connections)

    UNIX

    • If you connect to ArcSDE 9.1 using ArcInfo Workstation 9.1 or ArcIMS 9.1 on any supported Unix/Linux platform please follow the steps below to install this Patch to your ArcGIS 9.1 or ArcIMS 9.1 software installation directory.

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

        HP-UX sde91-compresspatch-esri-hp.tar.gz
        10 MB
        IBM sde91-compresspatch-esri-ibm.tar.gz
        8 MB
        Linux sde91-compresspatch-esri-lx.tar.gz
        6 MB
        Solaris sde91-compresspatch-esri-slrs.tar.gz
        7 MB

      • 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 sde91-compresspatch-esri-<Platform>.tar.gz
        %tar xvf sde91-compresspatch-esri-<Platform>.tar
      • ArcIMS only, restart ArcIMS Application Server, ArcIMS Monitor and ArcIMS Tasker (in that order).

    Windows

    • If you connect to ArcSDE 9.1 using ArcGIS 9.1, ArcIMS 9.1, or ArcInfo Workstation 9.1, please follow the steps below to install this Patch to your installation folder:

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

      sde91-compresspatch-esri-win.zip 8 MB

    • ArcIMS only, stop the ArcIMS Tasker, ArcIMS Monitor, ArcIMS Application Server (in that order).
    • Use WinZip to extract the new file from sde91-compresspatch-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).

Service Pack and Patch Updates

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

June 16, 2009: All platforms are now available for download.

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.