ArcGIS Server Banner

Installation summary for the ArcSDE component for Oracle

Installation summary for the ArcSDE component for Oracle

Release 9.3 E-mail This TopicPrintable VersionGive Us feedback

Introduction

Note:This topic was updated for 9.3.1.

You can store ArcSDE geodatabases in Oracle databases. This does not require Oracle Spatial, but use of Oracle Spatial types is supported with ArcSDE geodatabases in Oracle.

To see which operating systems and database versions are supported, go to the ESRI support site and navigate to System Requirements for ArcGIS Server.

NOTE: If there is no native ArcSDE build for the operating system of the server hosting the Oracle database, then there is no support for SQL access to ST_Geometry. ST_Geometry storage can be used from ArcSDE clients, but SQL access to this data is not supported.

The setup, installation, and postinstallation procedures vary slightly between operating systems. The steps in this topic are an overview of the preinstallation, ArcSDE component installation, and postinstallation setups for ArcSDE for Oracle. For complete instructions, including instructions for installing the DBMS and ArcSDE component on separate machines, read the installation guide provided on the ArcSDE component installation media.

Summary steps for creating an ArcSDE geodatabase on Oracle

Preinstallation tasks

Before you can install the ArcSDE component and set up the geodatabase, there are a few tasks you must complete.

On Windows

  1. Install and configure the Oracle database management system (DBMS). If you are going to install the ArcSDE component on a server separate from the DBMS, you also need to install the Oracle client on the server where the ArcSDE component is installed.
  2. The topics Oracle initialization parameters, Minimize disk I/O contention in Oracle, Tuning memory in Oracle, and Configuring Oracle Net Services to use ST_Geometry SQL functions can help you with this. Also consult your Oracle documentation.

  3. Make sure the Windows TEMP environment variable is set to a writable folder.

On Linux or UNIX

  1. Install and configure the Oracle DBMS. If you are going to install the ArcSDE component on a server separate from the DBMS, you also need to install the Oracle client on the server where the ArcSDE component is installed.
  2. The topics Oracle initialization parameters, Minimize disk I/O contention in Oracle, Tuning memory in Oracle, and Configuring Oracle Net Services to use ST_Geometry SQL functions can help you with this. Also consult your Oracle documentation.

  3. Create an SDE operating system (OS) account to own the SDEHOME files.
  4. Set environment variables.

NOTE: Beginning with Oracle 10g, nonadministrative users do not have access to ORACLE_HOME. Therefore, if your ArcSDE administrator (the sde user) is not an administrator on the server, this user has to install the Oracle client so it gets installed in a location the sde user has permission to access. The Oracle client needs to be installed on whichever server the ArcSDE component is installed on; this is true for local (ArcSDE and Oracle DBMS on the same machine) and remote (ArcSDE and Oracle on different machines) configurations. For information on supported clients and databases, consult the ArcGIS Server system requirements page on the ESRI support site.

Installing the ArcSDE component

The installation files for the ArcSDE component are on a separate DVD in the ArcGIS Server media kit.

On Windows

  1. Insert the installation DVD into the drive.
  2. Launch the installation wizard for ArcSDE for Oracle.
  3. Follow the instructions in the wizard to install the ArcSDE component of ArcGIS Server.
  4. NOTE: You must be a Windows administrator to install any software on the machine.

On Linux or UNIX

  1. Place the ArcSDE component media into the appropriate drive and mount the drive.
  2. Change directories to the appropriate drive.
  3. Run the installation command appropriate to the shell you are using to open the command-driven dialog box for the ArcSDE component installation procedure.
  4. Follow the instructions in the installation procedure.

Tip

  • New installations of ArcSDE at 9.3 do not create public synonyms for ST functions and operators. That means all ST functions, such as ST_Point, and operators, such as ST_Buffer, must be fully qualified. For example, you would type "sde.ST_Point" or "sde.ST_Buffer" rather than ST_Point or ST_Buffer when executing SQL commands.
  • If you upgrade to ArcSDE 9.3 for Oracle from a previous release of ArcSDE, the public synonyms will still be in your geodatabase and you will not be required to fully qualify ST functions and operators.

Postinstallation tasks

The postinstallation tasks

In preparing to create the ArcSDE geodatabase system tables, determine if you need to specify storage settings for these system tables and their indexes. These settings are grouped under the DATA_DICTIONARY configuration keyword in the dbtune.sde file. You would need to alter the configuration parameter values prior to creating the geodatabase, then specify the altered dbtune.sde file when the geodatabase is created.

If you created a default table space for your SDE user, the system tables and indexes will be created in the SDE user's default table space without you having to alter the DATA_DICTIONARY parameters in the dbtune.sde file.

For details on these parameters, see The DATA_DICTIONARY keyword and its related topics The dbtune file and the DBTUNE table, DBTUNE configuration keywords, and DBTUNE configuration parameter name-configuration string pairs.

To create the geodatabase, the SDE user must have specific privileges. See the required installation privileges listed in User permissions for geodatabases in Oracle.

On Windows

  1. Grant EXECUTE privilege on DBMS_PIPE and DBMS_LOCK to PUBLIC in the database.
  2. Use the ArcSDE for Oracle Post Installation wizard to complete the postinstallation setup.
  3. If you do not want to alter any settings in the files in SDEHOME\etc, you can continue with the Post Installation wizard as soon as the installation wizard completes.

    If you customized any of the files, open the Post Installation wizard from the Start menu (Start > All Programs > ArcGIS > ArcSDE).

    The Post Installation wizard lets you select configuration files, creates the geodatabase schema, authorizes the software, and creates and starts an ArcSDE service.

  4. Optionally, you can revoke extra privileges (those needed for the setup of the geodatabase) from the SDE user.

On Linux or UNIX

  1. Create an Oracle SDE user and table space.
  2. A script, create_sde_oracle.sql, is installed in the SDEHOME > tools > oracle directory that can be used to create the Oracle SDE user and table space. See Sample scripts installed with ArcSDE for Oracle for details.

  3. Modify files in SDEHOME/etc and /etc/services.
  4. Run sdesetup to create the geodatabase schema and authorize the software.
  5. Grant EXECUTE privilege on DBMS_PIPE and DBMS_LOCK to PUBLIC.
  6. Start an ArcSDE service (if you will use one).
  7. Optionally, you can revoke extra privileges (those needed for the setup of the geodatabase) from the SDE user.

If you are using Real Application Cluster (RAC), you must rename the version_util package, utilize the version_util.no_state_seq.sbp package, and load the correct package by following these steps:

  1. Navigate to the SDEHOME/lib (UNIX or Linux) or SDEHOME\bin (Windows) directory.
  2. Rename the original version_util.spb file as version_util.seq.spb and rename the version_util.no_state_seq.spb as version_util.spb.
  3. Start SQL*Plus in the directory where the files reside and connect as the SDE user.
  4. Execute the following command:
  5. start version_util.spb sde

  6. Ensure there are no errors after this command is executed.

If you are utilizing user schema geodatabases in Oracle, you need to do this for the SDE master geodatabase and each geodatabase stored in a user's schema. When you do this for the user's geodatabase, you need to connect to SQL*Plus as the geodatabase owner and, when you execute the command, specify the geodatabase user. For example:

start version_util.spd crane

See Also

  • About new installations of the ArcSDE component
  • Sample scripts installed with ArcSDE for Oracle