Patches and updates
ArcSDE 9.1 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.1 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.1 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 (sde91gdbrepair.tar.Z or sde91gdbrepair.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.1 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.1 via an Application Server and Direct Connect connections using ArcGIS 9.1, ArcIMS 9.1, 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 Steps:
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.
- Download the appropriate tar file to a location other than $SDEHOME:
- Stop your current ArcSDE service.
% 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.
- Extract the specified tar file by typing:
% tar -xvf sde91-genpatch-<Database>-<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.
- (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
- 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:
Server Install for Windows
Windows Installation Notes:
ArcSDE 9.1 must be installed on the server and your client applications before you install this Patch.
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 DB2sde91gdbrepair.zip 1 MB sde91-genpatch-db2-win.exe 2 MB Informix CQ00279152 repair utility Informixsde91gdbrepair.zip 1 MB sde91-genpatch-inf-win.exe 2 MB Oracle 8i New as of 10/14/05 - Contains Repair Option
CQ00279152 repair utility Oracle8isde91gdbrepair.zip
1 MB sde91-genpatch-ora8i-win.exe 2 MB Oracle 9i (Use this with Oracle 10g) New as of 10/14/05 - Contains Repair Option
CQ00279152 repair utility Oracle9isde91gdbrepair.zip
1 MB sde91-genpatch-ora9i-win.exe 2 MB SQL Server New as of 10/21/05 - Contains Repair Option
CQ00279152 repair utility MsSQLsde91gdbrepair.zip
1 MB sde91-genpatch-sql-win.exe 2 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 –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
- 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 sde91-genpatch-sdk-hp.tar 8 MBIBM sde91-genpatch-sdk-ibm.tar 9 MBLinux sde91-genpatch-sdk-lx.tar 5 MBSolaris sde91-genpatch-sdk-slrs.tar 9 MBAll Databases (64 bit Operating System) HP64 sde91-genpatch-sdk-hp64.tar 8 MBIBM64 sde91-genpatch-sdk-ibm64.tar 7 MBSolaris64 sde91-genpatch-sdk-slrs64.tar 7 MBTru64 sde91-genpatch-sdk-tru64.tar 9 MB - Extract the specified tar file by typing:
% tar -xvf sde91-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 sde91-genpatch-sdk-win.exe 6 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.1 using ArcInfo Workstation 9.1 or ArcIMS 9.1, please follow the steps below to install this Patch to your ArcInfo Workstation 9.1 installation directory under $ARCHOME, or ArcIMS 9.1 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 sde91-genpatch-esri-hp.tar.Z 7 MBIBM sde91-genpatch-esri-ibm.tar.Z 9 MBLinux sde91-genpatch-esri-lx.tar.Z 5 MBSolaris sde91-genpatch-esri-slrs.tar.Z 8 MBTru64 sde91-genpatch-esri-tru64.tar.Z 9 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 sde91-genpatch-esri-<Platform>.tar.Z
%tar xvf sde91-genpatch-esri-<Platform>.tarArcIMS only, restart ArcIMS Application Server, ArcIMS Monitor and ArcIMS Tasker (in that order).
- 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:
- If you connect to ArcSDE 9.1 using ArcGIS 9.1, ArcIMS 9.1, ArcInfo Workstation 9.1, or ArcView GIS 3.3 with DBA 2.1e, please follow the steps below to install this Patch to your ArcGIS 9.1, ArcIMS 9.1, ArcInfo Workstation 9.1, or ArcView GIS 3.3 with DBA 2.1e 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 sde91-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).
- If you connect to ArcSDE 9.1 using ArcInfo Workstation 9.1 or ArcIMS 9.1, please follow the steps below to install this Patch to your ArcInfo Workstation 9.1 installation directory under $ARCHOME, or ArcIMS 9.1 installation directory under $AIMSHOME:
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-91-CQ00279476
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-91-CQ00279476
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/17/2005 - Now Available:
- The ArcSDE SDK downloads for Linux and IBM64.
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 10/13/2005 - Now Available:
- The ArcSDE Oracle9i and SDK downloads for Tru64.
- The ArcSDE Oracle8i downloads for Tru64 and HP.
UPDATE 10/06/2005 - Now Available:
- The ArcSDE Oracle9i and SDK downloads for HP64.
UPDATE 09/29/2005 - Now Available:
- The ArcSDE Oracle9i download for Linux.
- The ArcSDE DB2 downloads for Windows ans all UNIX platforms.
UPDATE 09/28/2005 - Now Available:
- The ArcSDE Oracle8i download for IBM.
- The Oracle8i and Oracle9i Repair Utility downloads for UNIX.
- The DB2 Repair Utility downloads for Windows and UNIX.
UPDATE 09/27/2005 - Now Available:
- The ArcSDE Oracle9i download for IBM64 and Solaris.
- The ArcSDE Oracle8i download for Solaris.
UPDATE 09/26/2005 - Now Available:
- The ArcSDE Oracle9i download for Solaris64.
UPDATE 09/23/2005 - Now Available:
- The ArcSDE Oracle8i and Oracle9i downloads for Windows.
- The Oracle8i and Oracle9i Repair Utility downloads for Windows.
- The ArcSDE SDK download for Solaris64.
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:1066
Get help from ArcGIS experts
Download the Esri Support App