Show Navigation | Hide Navigation
You are here:
Geodatabases and ArcSDE > Administering ArcSDE geodatabases > Configuring an ArcSDE geodatabase

DBTUNE configuration keywords

Release 9.2
Last modified December 3, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Configuring an ArcSDE geodatabase"


Related Topics

NOTE: ArcSDE Enterprise only



To help you navigate this topic, follow the links below to go to the sections in which you are interested:



What are configuration keywords?


Configuration keywords are words or phrases that specify how data is stored in the database. They are associated with a group of parameters and parameter values (called config_strings in the DBTUNE table), which together are referred to as parameter name–configuration string pairs. Parameters and their configuration strings define the storage configuration of database objects such as tables, indexes, feature classes, network classes, and raster columns.
Learn more about configuration parameters

Top of page


How are they used?


You specify a configuration keyword when



ArcSDE searches the DBTUNE table for the parameter name–configuration string pairs associated with the specified configuration keyword. The necessary configuration strings are incorporated in the CREATE TABLE or CREATE INDEX statement ArcSDE submits to the database.

For example, if you create a new feature class in ArcCatalog by right-clicking a geodatabase stored in SQL Server, pointing to New, then clicking Feature Class, one of the New Feature Class dialog boxes gives you the opportunity to specify a configuration keyword to use to create your data.

You could choose the WKB_GEOMETRY configuration keyword, which has a parameter, GEOMETRY_STORAGE, which is associated with a configuration string of OGCWKB. This means the geometry storage method used for this feature class will be the Open Geospatial Consortium (OGC) well-known binary (WKB) type, rather than the default geometry storage type.

NOTE: To make a configuration keyword available on the ArcGIS Desktop dialog boxes, specific parameters need to be present under that configuration keyword.


Learn how to make configuration keywords available in the ArcGIS user interface

Top of page


Where do they come from and where are they stored?


The initial source of configuration keywords and their parameter name–configuration string pairs is the dbtune file. This file populates the SDE.DBTUNE table when the DBTUNE and all the other ArcSDE geodatabase system tables are created.

If you are using ArcSDE for Oracle or DB2, there are certain configuration strings you should alter in the dbtune file before you create the ArcSDE geodatabase schema. These fall under the DEFAULTS configuration keyword and specify tablespaces for table storage.
Learn more about the dbtune file and DBTUNE table

From then on, the configuration keywords and parameters are stored in the DBTUNE table. New keywords can be created, values for existing parameters can be altered, and keywords and parameters can be removed using the sdedbtune administration command. For details on how to use this command, see the ArcSDE Administration Command Reference installed with ArcSDE.

Top of page


Types of configuration keywords


Some configuration keywords are present by default in all database management system (DBMS) implementations of ArcSDE. Others are present by default for only specific DBMS implementations. Still others can be created or customized by the ArcSDE administrator. All these types of configuration keywords are described in the following sections.

Top of page


ArcSDE for SQL Server default configuration keywords


Default DBTUNE keywords common to all DBMSs for ArcSDE 9 and higher are listed below. Following that, the one SQL Server-specific keyword is described.



*These keywords are composite keywords.
Learn more about composite keywords

There is only one SQL Server-specific configuration keyword present by default in the DBTUNE table. It is WKB_GEOMETRY.

WKB_GEOMETRY contains two parameters: one to set the geometry storage to OGC well-known binary and one to allow the keyword to be used when creating data in ArcCatalog.

##WKB_GEOMETRY
GEOMETRY_STORAGE        OGCWKB
UI_TEXT		User interface text


This storage type provides a portable representation of geometry as a contiguous stream of bytes. If you specify WKB_GEOMETRY when you create a new feature class in the geodatabase using either ArcCatalog or the ArcSDE administration command sdelayer, that particular feature class will use the OGC well-known binary storage method; the rest of the necessary parameters will be picked up from the DEFAULTS keyword.

NOTE: The OGC well-known binary representation supports only simple 2D geometries.



Learn more about geometry storage types

Top of page


ArcSDE for Oracle default configuration keywords


Default DBTUNE keywords common to all DBMSs for ArcSDE 9 and higher are listed below. Following these is a list of the keywords that are specific to ArcSDE for Oracle and a list of the keywords specific to ArcSDE geodatabases stored in Oracle Spatial.

Configuration keywords common to all ArcSDE geodatabases




*These keywords are composite keywords.
Learn more about composite keywords

Configuration keywords specific to geodatabases in Oracle


The following configuration keywords are specific to geodatabases stored in Oracle. The first three default configuration keywords define geometry storage. You can find a discussion of these at the bottom of the topic Geometry storage parameters and keywords.



Top of page


ArcSDE for DB2 default configuration keywords


Beginning with ArcSDE 9.2, there are no default DB2-specific configuration keywords in the DBTUNE table.

Default DBTUNE keywords common to all DBMSs for ArcSDE 9 and higher are as follows:



*These keywords are composite keywords.
Learn more about composite keywords

Top of page


ArcSDE for Informix default configuration keywords


Beginning with ArcSDE 9.2, there are no default Informix-specific configuration keywords in the DBTUNE table.

Default DBTUNE keywords common to all DBMSs for ArcSDE 9 and higher are as follows:



*These keywords are composite keywords.
Learn more about composite keywords

Top of page


Custom configuration keywords


You can add new keywords with any valid name. For example, you might create a keyword to define the storage location of your raster data tables if one doesn't already exist:

##RASTER
AUX_INDEX_COMPOSITE	"TABLESPACE RASTER_DATA PCTFREE 10 INITRANS 4"
AUX_STORAGE		"TABLESPACE RASTER_DATA PCTFREE 10 INITRANS 4"

BLK_INDEX_COMPOSITE	"TABLESPACE RASTER_DATA PCTFREE 10 INITRANS 4"
<other parameters>
END


Other examples of when you might create a custom configuration keyword are



To add a keyword to the DBTUNE table, you must export the contents of the table to a text file, edit the file, then reimport the text file, updating the DBTUNE table's contents. Be sure when editing the text file to prefix the keyword with ## and close the parameter group with END.

For details on exporting and importing the DBTUNE table's contents, read the sdedbtune topic in the Administration Command Reference installed with ArcSDE.

Top of page


Configuration keywords for archiving


You can specify configuration keywords for history tables. This is done by appending _ARCHIVE to the end of a keyword; for example, DEFAULTS_ARCHIVE. For each archive keyword you create, change the parameters as needed.

For a DEFAULTS_ARCHIVE keyword in an ArcSDE for Oracle or DB2 geodatabases, you would most likely assign a different tablespace for the table storage parameters, such as B_STORAGE.

When a history table is created, ArcSDE records the archiving table's configuration keywords, then searches for corresponding archive keywords in the DBTUNE table. It uses the parameters specified for <keyword>_ARCHIVE when creating the history table. Therefore, if the DEFAULTS keyword was used to create the archiving table, ArcSDE will search for DEFAULTS_ARCHIVE.

For any given keyword, if the corresponding archive keyword is not found, ArcSDE will use the same keyword as the archiving table. In the example above, it will use the DEFAULTS keyword, which means the history tables and indexes will be stored in the same logical storage spaces as the archiving table.

If the <keyword>_ARCHIVE is present but missing a given parameter, the value of the parameter found in the DEFAULTS keyword will be used.
Learn about archiving data

NOTE: If you create an archive keyword, there is no need to include a UI_TEXT parameter. You would not specify the *_ARCHIVE keyword when the data is created; rather, the system will search for the keyword that matches the archiving table's configuration keyword.



Top of page

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.