English

ArcSDE 9.0 General Update Patch

Summary

This Patch contains performance improvements, maintenance fixes and fixes a potential data issue. All users should download and install this required Patch as soon as possible.

Description


Important Note

Important information for identifying and repairing issues that the following bug may cause. It can potentially affect all supported ArcSDE 9.0 Databases. ArcSDE 8.x databases are not impacted by this issue:

CQ00279152 - Range query scanning states needs to use ORDER BY.

Problem summary
When working with Geodatabases in ArcSDE, users periodically compress the geodatabase. Part of the compress operation performs what's called a "trim" which updates and deletes rows from the delta tables (the A and D tables).

The problem may occur when the process of selecting what to update or delete does not return selected results from the delta tables in the expected order.

Please note that not all data is affected. If affected, there will only be a few states with this problem. Please also note this problem does not occur on 8.x geodatabases because the trim operation in that version of ArcSDE used a different selection method.

What are the symptoms?
Symptoms of the problem may include one or more of the following:

  • Orphaned rows in the delta tables
  • Edits being lost on reconcile
  • Duplicate rows preventing compress.

Fixing the problem
Applying this patch will fix the software and will prevent the possibility of issues associated with this bug from occurring in your database. It does not fix any data issues that were caused by this bug prior to installing the patch. Data issues can be identified and repaired using a REPAIR utility which should also be installed and applied.

All users of versioned ArcSDE 9.0 geodatabases should apply the patch, regardless of whether their database is affected or not. Not all databases are impacted by this issue. However, those that are will need to be repaired.

Determining if a database is affected
A REPAIR utility is available to check for errors. You can download from this page (sdegdbrepair.tar.Z or sdegdbrepair.zip depending on your database and you operating system).

UNIX: Download the REPAIR utility. Uncompress and extract the specified tar file for your database. Ensure that the last letter of the file name is a capital Z. Otherwise, the uncompress command will not work.

Windows: Use WinZip to extract the REPAIR utility and User Guide.

Make sure to follow the instructions in the User Guide for installing and using the patch. The utility is called sdegdbrepair<dbms> where <dbms> is your database. For example, "sdegdbrepairora9i" is for an Oracle 9i database. You must back up your database in full including all ArcSDE system tables and user data before running the utility.

To determine if there are potential errors in your database:
See sdegdbrepairUserGuide.pdf that comes with the download of the utility.

When will the repair utility be available?
The Oracle 8i and 9i REPAIR utility that fixes potential data errors associated with this problem, is available for download as of October 14, 2005. The utility for the other Databases will be made available from this web page at a later date.

Installing the Patch

ArcSDE 9.0 Service Pack 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 your SDE user account.

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

Server Install for UNIX


Installation Notes:

Installation Steps:


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

  1. Download the appropriate tar file to a location other than $SDEHOME:
  2. DB2  
    CQ00279152 repair utility DB2sdegdbrepair.tar 2 MB
    HP64 sde90-genpatch-db2-hp64.tar
    11 MB
    IBM sde90-genpatch-db2-ibm.tar
    10 MB
    IBM64 sde90-genpatch-db2-ibm64.tar
    10 MB
    Linux sde90-genpatch-db2-lx.tar
    8 MB
    Solaris64 sde90-genpatch-db2-slrs64.tar
    10 MB
       
    Informix  
    CQ00279152 repair utility Informixsdegdbrepair.tar 2 MB
    HP sde90-genpatch-inf-hp.tar
    11 MB
    IBM sde90-genpatch-inf-ibm.tar
    10 MB
    Solaris sde90-genpatch-inf-slrs.tar
    10 MB
       
    Oracle 8i  

    New as of 10/14/05 - Contains Repair Option

    CQ00279152 repair utility Oracle8isdegdbrepair.tar.Z

    6 MB
    HP sde90-genpatch-ora8i-hp.tar
    18 MB
    IBM sde90-genpatch-ora8i-ibm.tar
    12 MB
    Solaris sde90-genpatch-ora8i-slrs.tar
    12 MB
    Tru64 sde90-genpatch-ora8i-tru64.tar
    16 MB
       
    Oracle 9i (Use these with Oracle 10g)  

    New as of 10/14/05 - Contains Repair Option

    CQ00279152 repair utility Oracle9isdegdbrepair.tar.Z

    9 MB
    HP64 sde90-genpatch-ora9i-hp64.tar
    13 MB
    IBM64 sde90-genpatch-ora9i-ibm64.tar
    12 MB
    Linux sde90-genpatch-ora9i-lx.tar
    10 MB
    Solaris sde90-genpatch-ora9i-slrs.tar
    12 MB
    Solaris64 sde90-genpatch-ora9i-slrs64.tar
    13 MB
    Tru64 sde90-genpatch-ora9i-tru64.tar
    16 MB

  3. Stop your current ArcSDE service.


  4. % sdemon -o shutdown

  5. Extract the specified tar file by typing:


  6. % tar -xvf sde90-genpatch-<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. (Oracle only) Before upgrading your Oracle instance, you must grant the following additional permissions to the SDE user in Oracle:


  10. 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

  11. To upgrade, run sdesetup<dbms>. Failure to do so may cause problems in starting the service or with connecting to the service. Using Oracle 9i as an example:


  12. % sdesetupora9i -o upgrade –u sde –p sdepassword

  13. (Oracle only) 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

  14. Start your service again.


  15. % sdemon -o start

Server Install for Windows


    Windows Installation Notes:

      ArcSDE 9.0 Service Pack 3 must be installed before you install this Patch.

      To find out what products are currently installed on your machine, download the ServicePackFinder.exe utility and run it from your local machine. This utility provides a report detailing which ArcGIS products are currently installed on your machine. This will help determine which product Service Packs you should install on your machine. The report also details which service packs have been installed. The report is displayed when the utility is run and a servicepack.txt log file is created in your temp folder. The Service Pack Finder utility searches for the following ArcGIS products.


        ArcGIS Desktop (ArcView, ArcEditor, ArcInfo) Includes the ArcReader fixes for the ArcReader FEATURE.
        ArcGIS Desktop Developer Kit
        ArcGIS Engine Runtime
        ArcGIS Engine Developer Kit
        ArcGIS Server
        ArcGIS Server .NET ADF
        ArcGIS Server Java ADF
        ArcGIS Tutorial Data
        ArcReader standalone
        ArcIMS
        ArcSDE


      NOTE (ArcIMS and ArcGIS Desktop users): If you use ArcIMS 9.0 or ArcGIS Desktop 9.0, you must also install ArcIMS 9.0 Service Pack 3 or ArcGIS 9.0 Service Pack 3. For example, if you use ArcIMS 9.0 and ArcSDE 9.0, install both ArcIMS 9.0 Service Pack 3 and ArcSDE 9.0 Service Pack 3. Since ArcIMS 9.0, ArcSDE 9.0 and the ArcGIS 9.0 products share common DLLs, it is important to keep the software release versions in sync to avoid any software conflicts.

      NOTE (ArcGIS Server users): If you have ArcGIS Server 9.0 and any other ArcGIS product installed on your machine, we recommend that you install the ArcGIS 9.0 Server Service Pack before installing the remaining Service Packs. Since ArcGIS Server and the ArcGIS 9.0 products share common DLLs, it is important to keep the software release versions in sync to avoid any software conflicts.

Installation Steps


  1. 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  
    CQ00279152 repair utility DB2sdegdbrepair.zip 1 MB
    sde90-genpatch-db2-win.exe 3 MB
    Informix  
    CQ00279152 repair utility Informixsdegdbrepair.zip 1 MB
    sde90-genpatch-inf-win.exe 3 MB
    Oracle 8i  

    New as of 10/14/05 - Contains Repair Option

    CQ00279152 repair utility Oracle8isdegdbrepair.zip

    1 MB
    sde90-genpatch-ora8i-win.exe 3 MB
    Oracle 9i (Use this with Oracle 10g)  

    New as of 10/14/05 - Contains Repair Option

    CQ00279152 repair utility Oracle9isdegdbrepair.zip

    1 MB
    sde90-genpatch-ora9i-win.exe 3 MB
    SQL Server  

    New as of 10/21/05 - Contains Repair Option

    CQ00279152 repair utility MsSQLsdegdbrepair.zip

    1 MB
    sde90-genpatch-sql-win.exe 3 MB

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


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


  6. (Oracle only) Before upgrading your Oracle instance, you must grant the following additional permissions to the SDE user in Oracle:
  7. 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

  8. To upgrade, run sdesetup<dbms>. Failure to do so may cause problems in starting the service or with connecting to the service. Using Oracle 9i as an example:

    sdesetupora9i -o upgrade

  9. (Oracle Only) 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

  10. As the SDE user, run the following command to restart the ArcSDE service:

    sdemon -o start

ArcSDE SDK Install for UNIX


Installation Steps:


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

  3. Extract the specified tar file by typing:


  4. % tar -xvf sde90-genpatch-sdk-<Platform>.tar

  5. Start the installation by typing:


  6. % ./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


Installation Steps:


  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 sde90-genpatch-sdk-win.exe 7 MB
    ArcSDE Java SDK sde90-genpatch-javasdk-win.exe 2 MB

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


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

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


UNIX

  • If you connect to ArcSDE 9.0 using ArcInfo Workstation 9.0 or ArcIMS 9.0 SP3, please follow the steps below to install this Patch to your ArcInfo Workstation 9.0 installation directory under $ARCHOME, or ArcIMS 9.0 SP3 installation directory under $AIMSHOME:

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

      HP sde90-genpatch-esri-hp.tar.Z
      14 MB
      IBM sde90-genpatch-esri-ibm.tar.Z
      12 MB
      Linux sde90-genpatch-esri-lx.tar.Z
      8 MB
      Solaris sde90-genpatch-esri-slrs.tar.Z
      11 MB
      Tru64 sde90-genpatch-esri-tru64.tar.Z
      17 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. Ensure that the last letter of the file name is a capital Z. Otherwise, the uncompress command will not work. At the UNIX prompt type:

      %cd <installation_directory> (i.e. cd $ARCHOME)
      %uncompress sde90-genpatch-esri-<Platform>.tar.Z
      %tar xvf sde90-genpatch-esri-<Platform>.tar

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


Windows

  • If you connect to ArcSDE 9.0 using ArcGIS 9.0 SP3, ArcIMS 9.0 SP3, ArcInfo Workstation 9.0, or ArcView GIS 3.3 with DBA 2.1f, please follow the steps below to install this Patch to your ArcGIS 9.0, ArcIMS 9.0, ArcInfo Workstation 9.0, or ArcView GIS 3.3 with DBA 2.1f installation folder:

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

    sde90-genpatch-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 sde90-genpatch-esri-win.zip to the appropriate installation folder, see list below:

    • ArcGIS Desktop, Server, Engine, Reader, or ArcView 9 - <installation-folder>\arcgis\bin
    • ArcGIS Workstation - <installation-folder>\arcexe9x\bin
    • ArcView GIS - <installation-folder>\av_gis30\arcview\(bin32 & DCONNECT\LIB)
    • Depending on the ArcIMS Setup features installed, the SDE client file could be located in one or more of the following locations:
      • C:\Program Files\ArcGIS\bin
      • C:\Program Files\ArcGIS\ArcIMS\IndexBuilder
      • C:\Program Files\ArcGIS\ArcIMS\Metadata\Commands
      • C:\Program Files\ArcGIS\ArcIMS\Server\bin

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

How to identify which Patch is installed


    UNIX

    Any modified UNIX executables (or libraries) being sent out as part of a Patch will return the unique identification number for that fix when checked with the "what" command for UNIX and the "strings" command for Linux. For example, to display the identification string for this Patch on UNIX, type:

      %what gsrvr.static | grep QFE

      QFE-SDE-90-CQ00279203

    Windows

    To check for the presence of a Patch, for each file examine the unique identification information provided (right click, properties, version tab, item name, QFE Version). With only a few exceptions, all files modified as part of a Patch distribution can be uniquely identified in this manner. The identification string for this Patch should read:

      QFE-SDE-90-CQ00279203

Service Pack Updates

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

    UPDATE 10/21/2005 - Now Available:

      New as of 10/21/05 - Contains Repair Option

    • The SQL Server Repair Utility download for Windows (Fixes any found data errors associated with this problem).

    UPDATE 10/14/2005 - Now Available:

      New as of 10/14/05 - Contains Repair Option

    • The Oracle8i and Oracle9i Repair Utility download for Unix and Windows (Fixes any found data errors associated with this problem).
    • The utlity for the other Databases will be made available from this web page at a later date

    UPDATE 09/28/2005 - Now Available:

    • The ArcSDE Oracle8i and Oracle9i downloads for Tru64.

    UPDATE 09/26/2005 - Now Available:

    • The ArcSDE Oracle8i download for HP.

    UPDATE 09/23/2005 - Now Available:

    • New version of the Oracle(8i and 9i) Repair Utility download for Unix and Windows. If you've downloaded the Oracle Repair Utility prior to 9/23/2005, we recommend downloading this new version that fixes a minor issue in the repair utility itself.
    • New version of the DB2 Repair Utility download for Unix and Windows.
    • The ArcSDE Oracle9i download for HP64.

    UPDATE 09/22/2005 - Now Available:

    • The ArcSDE Java SDK download for Windows.

Getting Help

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