Patches and updates
ArcSDE 9.0 General Update Patch
Summary
Description
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:
ArcSDE 9.0 Service Pack 3 must be installed on the server and your client applications before you can install this Patch.
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.
- Download the appropriate tar file to a location other than $SDEHOME:
- Stop your current ArcSDE service.
% sdemon -o shutdown
- Extract the specified tar file by typing:
% tar -xvf sde90-genpatch-<Database>-<Platform>.tar
- Start the installation by typing:
% ./applypatchThis 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.
- (Oracle only) Before upgrading your Oracle instance, 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
- 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 –u sde –p sdepassword
- (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
- Start your service again.
% 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
- Make sure you have write access to the ArcSDE installation folder, that no one is using ArcSDE, and that the ArcSDE service is down.
- Download the appropriate files to a location other than the ArcSDE installation folder:
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 - Double-click the appropriate executable to start the install process.
- When Setup starts, follow the instructions on your screen.
- (Oracle only) Before upgrading your Oracle instance, 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
- 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
- (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
- As the SDE user, run the following command to restart the ArcSDE service:
sdemon -o start
ArcSDE SDK Install for UNIX
Installation Steps:
- Download the appropriate tar file to a location other than ArcSDE SDK installation location:
All Databases (32 bit Operating System) HP sde90-genpatch-sdk-hp.tar 14 MBIBM sde90-genpatch-sdk-ibm.tar 12 MBLinux sde90-genpatch-sdk-lx.tar 8 MBSolaris sde90-genpatch-sdk-slrs.tar 11 MBAll Databases (64 bit Operating System) HP64 sde90-genpatch-sdk-hp64.tar 10 MBIBM64 sde90-genpatch-sdk-ibm64.tar 10 MBSolaris64 sde90-genpatch-sdk-slrs64.tar 10 MBTru64 sde90-genpatch-sdk-tru64.tar 17 MB - Extract the specified tar file by typing:
% tar -xvf sde90-genpatch-sdk-<Platform>.tar
- 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
Installation Steps:
- Make sure you have write access to the ArcSDE SDK installation folder:
- Download the appropriate files to a location other than the ArcSDE SDK installation folder:
ArcSDE SDK sde90-genpatch-sdk-win.exe 7 MB ArcSDE Java SDK sde90-genpatch-javasdk-win.exe 2 MB - Double-click the appropriate executable to start the install process.
- When Setup starts, follow the instructions on your screen.
ESRI Products connecting to ArcSDE (Application and Direct Connect connections).
- 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 MBIBM sde90-genpatch-esri-ibm.tar.Z 12 MBLinux sde90-genpatch-esri-lx.tar.Z 8 MBSolaris sde90-genpatch-esri-slrs.tar.Z 11 MBTru64 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>.tarArcIMS only, restart ArcIMS Application Server, ArcIMS Monitor and ArcIMS Tasker (in that order).
- 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:
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
- C:\Program Files\ArcGIS\bin
- ArcGIS Desktop, Server, Engine, Reader, or ArcView 9 - <installation-folder>\arcgis\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).
- 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.
Download ID:1065
Get help from ArcGIS experts
Download the Esri Support App