System tables of a geodatabase in DB2

The system tables for a geodatabase enforce geodatabase behavior, store information about the geodatabase, and keep track of the data stored in the geodatabase.

View a diagram of the ArcSDE geodatabase system tables.

You need Adobe Acrobat Reader to open the file.

The system tables and their contents should not be altered using anything other than ArcGIS software. However, you can use SQL to view the contents of the system tables.

Some of the geodatabase system tables contain XML columns. You can use the native XML queries of your database management system to query these columns. The whitepaper "XML Schema of the Geodatabase" defines the XML tags.

COLUMN_REGISTRY

The COLUMN_REGISTRY table manages all registered columns.

CautionCaution:

If you alter column definitions using a SQL interface, the records in the COLUMN_REGISTRY table are not updated. This may cause any subsequent exports of the data to fail.

Field name

Field type

Description

Null?

DATABASE_NAME

VARCHAR(32)

Name of the database in which the table containing the column is stored

NOT NULL

TABLE_NAME

VARCHAR(128)

Name of the table that contains the registered column

NOT NULL

OWNER

VARCHAR(32)

Owner of the table in which the column resides (the user who created the table)

NOT NULL

COLUMN_NAME

VARCHAR(32)

Name of the registered column

NOT NULL

SDE_TYPE

INTEGER

Code for the column's data type; possible values and their definitions include the following:

  • 1 = SE_INT16_TYPE—2-byte integer
  • 2 = SE_INT32_TYPE—4-byte integer
  • 3 = SE_FLOAT32_TYPE—4-byte float
  • 4 = SE_FLOAT64_TYPE—8-byte float
  • 5 = SE_STRING_TYPE—Null terminal character array
  • 6 = SE_BLOB_TYPE—Variable length data
  • 7 = SE_DATE_TYPE—Structured time date
  • 8 = SE_SHAPE_TYPE—Shape geometry (SE_SHAPE)
  • 9 = SE_RASTER_TYPE—Raster
  • 10 = SE_XML_TYPE—XML document
  • 11 = SE_INT64_TYPE—8-byte integer
  • 12 = SE_UUID_TYPE—A universal unique ID
  • 13 = SE_CLOB_TYPE—Character variable length data
  • 14 = SE_NSTRING_TYPE—Unicode null terminal character array
  • 15 = SE_NCLOB_TYPE—Unicode character large object
  • 20 = SE_POINT_TYPE—Point user-defined type
  • 21 = SE_CURVE_TYPE—Linestring user-defined type
  • 22 = SE_LINESTRING_TYPE—Linestring user-defined type
  • 23 = SE_SURFACE_TYPE—Polygon user-defined type
  • 24 = SE_POLYGON_TYPE— Polygon user-defined type
  • 25 = SE_GEOMETRYCOLLECTION_TYPE—Multipoint user-defined type
  • 26 = SE_MULTISURFACE_TYPE—Linestring user-defined type
  • 27 = SE_MULTICURVE_TYPE—Linestring user-defined type
  • 28 = SE_MULTIPOINT_TYPE—Multipoint user-defined type
  • 29 = SE_MULTILINESTRING_TYPE—Multilinestring user-defined type
  • 30 = SE_MULTIPOLYGON_TYPE—Multipolygon user-defined type
  • 31 = SE_GEOMETRY_TYPE—Geometry user-defined type

NOT NULL

COLUMN_SIZE

INTEGER

The length of the registered column value

DECIMAL_DIGITS

INTEGER

Number of integers to the right of the decimal in the column value

DESCRIPTION

VARCHAR(65)

A description of the type of column

OBJECT_FLAGS

INTEGER

Stores the column properties, which include the following:

  • Has a row ID
  • Row ID column controlled by ArcSDE
  • Allows NULLs
  • Stores Oracle LONG RAW data
  • Stores BLOB data
  • Stores CLOB data
  • Stores ST_Geometry geometry data
  • Stores binary geometry data
  • Stores user-defined type geometry data
  • Stores Oracle LOB geometry data
  • Stores binary raster data
  • Stores user-defined type raster data
  • Stores XML data
  • Stores dates
  • Stores time
  • Stores a timestamp
  • Stores a Unicode string

NOT NULL

OBJECT_ID

INTEGER

Value set to the RASTERCOLUMN_ID of the RASTER_COLUMNS table if the column is a raster column or the LAYER_ID of the LAYERS table if this column is a geometry column

COMPRESS_LOG

The COMPRESS_LOG table tracks all compress operations performed on the geodatabase.

NoteNote:

This table is created the first time you compress the geodatabase.

Field name

Field type

Description

Null?

COMPRESS_ID

INTEGER

Unique identifier of a compress operation

NOT NULL

SDE_ID

INTEGER

Process identification number of the compress operation; references sde_id column in PROCESS_INFORMATION table

NOT NULL

SERVER_ID

INTEGER

System process_id of the ArcSDE server process that performed or is performing the compress operation

NOT NULL

DIRECT_CONNECT

VARCHAR(1)

Y (yes) or N (no) if the client is making a direct connection to the geodatabase

NOT NULL

COMPRESS_START

TIMESTAMP

The date and time the compress operation started

NOT NULL

START_STATE_COUNT

INTEGER

The number of states present when compress started

NOT NULL

COMPRESS_END

TIMESTAMP

The date and time the compress operation completed

NOT NULL

END_STATE_COUNT

INTEGER

The number of remaining states after the compress operation

NOT NULL

COMPRESS_STATUS

VARCHAR(20)

Indicates whether or not the compress operation completed successfully

NOT NULL

DBTUNE

The DBTUNE table stores the configuration keywords forArcSDE data objects, such as feature classes.

Field name

Field type

Description

Null?

KEYWORD

VARCHAR(32)

The configuration keyword

NOT NULL

PARAMETER

VARCHAR(32)

The configuration parameter

NOT NULL

CONFIG_STRING

VARCHAR(2048)

The value of the configuration parameter

GDB_ITEMRELATIONSHIPS

The GDB_ITEMRELATIONSHIPS table stores information about how objects in the GDB_ITEMS table are related. For example, feature datasets and replicas are tracked in this table.

Field name

Field type

Description

Null?

OBJECTID

INTEGER

Unique identifier for the row

NOT NULL

UUID

CHARACTER(38)

Unique identifier of the item

NOT NULL

TYPE

CHARACTER(38)

Corresponds to UUID in the GDB_ITEMRELATIONSHIPTYPES table

NOT NULL

ORIGINID

CHARACTER(38)

Corresponds to UUID in the GDB_ITEMS table

NOT NULL

DESTID

CHARACTER(38)

Corresponds to UUID in the GDB_ITEMS table

NOT NULL

ATTRIBUTES

XML

Property set representing the attribute pairs

PROPERTIES

INTEGER

Bitmask of item properties

GDB_ITEMRELATIONSHIPTYPES

The GDB_ITEMRELATIONSHIPTYPES table maintains data on the types of relationships that exist between the objects in the GDB_ITEMS table.

Field name

Field type

Description

Null?

OBJECTID

INTEGER

Unique identifier for the row

NOT NULL

UUID

CHARACTER(38)

Unique identifier of the item

NOT NULL

NAME

VARCHAR(226)

Name of the relationship type; values include the following:

  • DatasetInFeatureDataset
  • DatasetInFolder
  • DatasetOfReplicaDataset
  • DatasetsRelatedThrough
  • DomainInDataset
  • FeatureClassInGeometricNetwork
  • FeatureClassInNetworkDataset
  • FeatureClassInParcelFabric
  • FeatureClassInTerrain
  • FeatureClassInTopology
  • FolderInFolder
  • ItemInFolder
  • ReplicaDatasetInReplica
  • RepresentationOfFeatureClass
  • TableInParcelFabric

NOT NULL

FORWARDLABEL

VARCHAR(226)

Label that describes the relationship from the context of the origin item

BACKWARDLABEL

VARCHAR(226)

Label that describes the relationship from the context of the destination item

ORIGITEMTYPEID

CHARACTER(38)

Corresponds to UUID in the GDB_ITEMTYPES table

NOT NULL

DESTITEMTYPEID

CHARACTER(38)

Corresponds to UUID in the GDB_ITEMTYPES table

NOT NULL

ISCONTAINMENT

SMALLINT

Indicates whether the origin item's existence controls the existence of the destination object

GDB_ITEMS

Items are any object used in the ArcGIS system that can be indexed and searched, including tables, domains, topologies, and networks. The GDB_ITEMS table maintains information about all the items stored in the geodatabase.

Field name

Field type

Description

Null?

OBJECTID

INTEGER

Unique identifier for the row

NOT NULL

UUID

CHARACTER(38)

Unique identifier of the item

NOT NULL

TYPE

CHARACTER(38)

Corresponds to UUID in the GDB_ITEMTYPES table

NOT NULL

NAME

VARCHAR(226)

Name of the item (logical)

PHYSICALNAME

VARCHAR(226)

Fully qualified name of the item

PATH

VARCHAR(512)

The unique relative path to the item

URL

VARCHAR(255)

The associated URL for the item; used with catalog services

PROPERTIES

INTEGER

Bitmask of item properties

DEFAULTS

BLOB

Information about the item that is independent of the underlying dataset, such as a serialized renderer; a symbol for a feature class; or column widths, colors, or fonts for tables

DATASETSUBTYPE1

INTEGER

Indicates the feature type of the table

Possible values are as follows for feature classes and raster catalogs:

  • Null
  • 1 = simple feature
  • 7 = simple junction feature
  • 8 = simple edge
  • 10 = complex edge
  • 11 = annotation feature
  • 13 = dimension feature
  • 14 = raster catalog item

For relationship classes, the cardinality of the relationship class is stored. Possible values are:

  • 1 = 1:1
  • 2 = 1:M
  • 3 = M:N

For topologies, this column stores the Topology ID.

DATASETSUBTYPE2

INTEGER

Indicates the geometry type of the table

Possible values are as follows for feature classes and raster catalogs:

  • Null
  • 1 = single, zero dimensional geometry
  • 2 = ordered collection of points
  • 3 = ordered collection of paths
  • 4 = collection of rings ordered by their containment relationship
  • 9 = collection of surface patches

For relationship classes, the value in this column indicates whether the relationship class is attributed. Possible values are 0 = nonattributed, or 1 = attributed.

DATASETINFO1

VARCHAR(255)

Stores the shape field name for feature classes

DATASETINFO2

VARCHAR(255)

Stores information for feature classes that participate in topologies

DEFINITION

XML

Stores information about the item

DOCUMENTATION

XML

Data definition of the item (metadata)

ITEMINFO

XML

Storage information for the item, such as symbology, that is independent of the underlying dataset

SHAPE

ST_GEOMETRY

The spatial extent of the item

GDB_ITEMTYPES

The GDB_ITEMTYPES table stores information on what type of object each item in the GDB_ITEMS table is.

Field name

Field type

Description

Null?

OBJECTID

INTEGER

Unique identifier for the type

NOT NULL

UUID

CHARACTER(38)

Unique identifier of the item

NOT NULL

PARENTTYPEID

CHARACTER(38)

Corresponds to UUID in this (the GDB_ITEMTYPES) table

NOT NULL

NAME

VARCHAR(226)

Name of the item type; values include the following:

  • AbstractTable
  • Catalog Dataset
  • Coded Value Domain
  • Dataset
  • Domain
  • Extension Dataset
  • Feature Class
  • Feature Dataset
  • Folder
  • Geometric Network
  • Historical Marker
  • Item
  • Mosaic Dataset
  • Network Dataset
  • Parcel Fabric
  • Range Domain
  • Raster Catalog
  • Raster Dataset
  • Relationship Class
  • Replica
  • Replica Dataset
  • Representation Class
  • Resource
  • Schematic Dataset
  • Survey Datraset
  • Table
  • Terrain
  • Tin
  • Toolbox
  • Topology
  • Workspace
  • Workspace Extension

NOT NULL

GDB_REPLICALOG

Each time a replica exports or imports changes, information about the operation is stored in the GDB_REPLICALOG table.

Field name

Field type

Description

Null?

ID

INTEGER

Unique identifier for row

REPLICAID

INTEGER

Corresponds to the OBJECTID field in the GDB_ITEMS table

EVENT

INTEGER

Indicates whether an import (1) or an export (2) has been logged

ERRORCODE

INTEGER

The error code associated with the event; you can search the developer help to get the description associated with the error. If the event was successful, a success error code is returned.

LOGDATE

TIMESTAMP

The date on which the event occurred

SOURCEBEGINGEN

INTEGER

Several generations of data changes may be imported or exported in one event. This value indicates the generation number of the first generation of changes involved. For example, if generations 1 to 3 were imported, this field would have the value 1.

SOURCEENDGEN

INTEGER

Several generations of data changes may be imported or exported in one event. This value indicates the generation number of the last generation of changes involved. For example, if generations 1 to 3 were imported, this field would have the value 3.

TARGETGEN

INTEGER

The generation to which changes are to be applied; this value is used to apply changes to the appropriate version in the target replica.

GDB_TABLES_LAST_MODIFIED

The GDB_TABLES_LAST_MODIFIED table is used to validate geodatabase system tables when cached by the client application.

Field name

Field type

Description

Null?

TABLE_NAME

VARCHAR(160)

Name of the geodatabase system table that was modified

NOT NULL

LAST_MODIFIED_COUNT

INTEGER

Keeps a count of the number of times a system table is modified; incrementally increases for each modification

NOT NULL

LAYER_LOCKS

The LAYER_LOCKS table maintains the locks on feature classes.

Field name

Field type

Description

Null?

SDE_ID

INTEGER

Process identification number of the process that has locked the layer; corresponds to the sde_id column in PROCESS_INFORMATION table

NOT NULL

LAYER_ID

INTEGER

Corresponds to layer_id field in LAYERS table

NOT NULL

AUTOLOCK

CHARACTER(1)

Set to 1 if the layer lock was set internally; otherwise, set to 0 if the layer lock was set by the application.

NOT NULL

LOCK_TYPE

CHARACTER(1)

The type of layer lock can be one of the following:

  • 0 = A read lock on the entire layer
  • 1 = A write lock on the entire layer
  • 2 = A read lock on an area within the layer
  • 3 = A write lock on an area within the layer
  • 4 = A layer autolock

NOT NULL

MIN_X

INTEGER

The minimum x-coordinate of the bounding box used to define the features within an area locked during an area lock

MIN_Y

INTEGER

The minimum y-coordinate of the bounding box used to define the features within an area locked during an area lock

MAX_X

INTEGER

The maximum x-coordinate of the bounding box used to define the features within an area locked during an area lock

MAX_Y

INTEGER

The maximum y-coordinate of the bounding box used to define the features within an area locked during an area lock

LAYERS

The LAYERS table maintains data about each feature class in the database. The information helps build and maintain spatial indexes, ensure proper shape types, maintain data integrity, and store the spatial reference for the coordinate data.

This table stores a row for each spatial column in the database. Applications use the layer properties to discover available spatial data sources. The layer properties are used by ArcSDE to constrain and validate the contents of the spatial column, index geometry values, and properly create and manage the associated DBMS tables.

Field name

Field type

Description

Null?

LAYER_ID

INTEGER

Unique identifier for the layer

NOT NULL

DESCRIPTION

VARCHAR(65)

User-defined description of the layer

DATABASE_NAME

VARCHAR(8)

Name of the database in which the layer is stored

OWNER

VARCHAR(30)

The user who created the layer

NOT NULL

TABLE_NAME

VARCHAR(128)

Name of the business table of the layer

NOT NULL

SPATIAL_COLUMN

VARCHAR(128)

Name of the spatial column in the layer

EFLAGS

INTEGER

Stores the following layer properties:

  • Stores single-precision or double-precision coordinates
  • Stores 3D coordinates
  • Stores measures
  • Has autolocking enabled or disabled
  • Is in load-only I/O mode or normal I/O mode
  • Stores annotation
  • Stores CAD data
  • Is a view of another layer
  • Does not have a spatial index
  • The DBMS data type in which the layer data is stored
  • The sde types that the layer can accept, which can be such types as points, linestrings, and polygons

LAYER_MASK

INTEGER

Stores additional internal properties about the layer

GSIZE1

DOUBLE

Size of first spatial grid

GSIZE2

DOUBLE

Size of second spatial grid

GSIZE3

DOUBLE

Size of third spatial grid

MIN_X

DOUBLE

Minimum x-coordinate value of the layer

MIN_Y

DOUBLE

Minimum y-coordinate value of the layer

MAX_X

DOUBLE

Maximum x-coordinate value of the layer

MAX_Y

DOUBLE

Maximum y-coordinate value of the layer

MIN_Z

DOUBLE

Minimum z-coordinate value of the layer

MAX_Z

DOUBLE

Maximum z-coordinate value of the layer

MIN_M

DOUBLE

Minimum m-coordinate value of the layer

MAX_M

DOUBLE

Maximum m-coordinate value of the layer

CDATE

INTEGER

The date the layer was created

NOT NULL

LAYER_CONFIG

VARCHAR(32)

The configuration keyword that was specified when the layer was created

OPTIMAL_ARRAY_SIZE

INTEGER

Geometry array buffer size

STATS_DATE

INTEGER

The date statistics were last calculated for a layer

MINIMUM_ID

INTEGER

The minimum feature ID value of a binary layer

SRID

INTEGER

Spatial reference identification number; corresponds to the SRID value in the SPATIAL_REFERENCES table

NOT NULL

SECONDARY_SRID

INTEGER

Not in use at this time

BASE_LAYER_ID

INTEGER

Stores the layer_id of the base layer upon which a view is based; only necessary if the layer is actually a view

NOT NULL

LINEAGES_MODIFIED

The LINEAGES_MODIFIED table contains a state lineage ID and its most recent modification time stamp.

Field name

Field type

Description

Null?

LINEAGE_NAME

BIGINT

Corresponds to the LINEAGE_NAME field in the STATE_LINEAGES table

NOT NULL

TIME_LAST_MODIFIED

TIMESTAMP

The date and time the lineage was last modified

NOT NULL

LOCATORS

The LOCATORS table stores information about locator objects.

Field name

Field type

Description

Null?

LOCATOR_ID

INTEGER

Unique identifier of the locator

NOT NULL

NAME

VARCHAR(32)

The name of the locator

NOT NULL

OWNER

VARCHAR(32)

The name of the user who owns the locator

NOT NULL

CATEGORY

VARCHAR(32)

The category of the locator; address locators have a category value of Address

NOT NULL

TYPE

INTEGER

The type of locator; values represented as follows:

  • 0—Defines locator styles
  • 1—Defines locators
  • 2—Defines attached locators; in other words, locators that are attached to a geocoded feature class and are a copy of the locator and the geocoding options that were used to create the geocoded feature class

NOT NULL

DESCRIPTION

VARCHAR(64)

The description of the locator

NOT NULL

METADATA

When you add a locator to a geodatabase in a DBMS, a row is added to the METADATA table for each property of the locator. Each row in the SDE_LAYER_STATS table defines a single property for a locator.

Field name

Field type

Description

Null?

RECORD_ID

INTEGER

Unique identifier for the record

NOT NULL

OBJECT_NAME

VARCHAR(160)

The name of the locator to which the property belongs and corresponds to the NAME column in the LOCATORS table

NOT NULL

OBJECT_DATABASE

VARCHAR(32)

The name of the database in which the locator is stored

OBJECT_OWNER

VARCHAR(32)

The name of the user who owns the record

NOT NULL

OBJECT_TYPE

INTEGER

Always a value of 2 for locator properties

NOT NULL

CLASS_NAME

VARCHAR(32)

Always a value of SDE_internal for locator properties

PROPERTY

VARCHAR(32)

The name of the locator property

PROP_VALUE

VARCHAR(255)

The value of the locator property

DESCRIPTION

VARCHAR(65)

Not used for locator properties

CREATION_DATE

TIMESTAMP

Date and time the locator property was created

NOT NULL

MVTABLES_MODIFIED

The MVTABLES_MODIFIED table maintains the list of all tables that are modified in each state of the database. This information aids in quickly determining if conflicts exist between versions or states of the database.

The MVTABLES_MODIFIED table maintains a record of all tables modified by state. This information allows applications to determine which tables need to be checked for changes when reconciling potential conflicts between versions and states in the database.

Any time a feature class or table is modified in a state, a new entry is created in the MVTABLES_MODIFIED table. When two versions are reconciled, the first step in the process is to identify the states these two versions reference—the current edit version’s state and the target version’s state. From these states, a common ancestor state is identified by tracing back through the state lineage of these two versions.

Field name

Field type

Description

Null?

STATE_ID

BIGINT

The identifier of the state in which this table was modified; corresponds to the ID column in the STATES table

NOT NULL

REGISTRATION_ID

INTEGER

The registration ID of the table that was modified in the state; corresponds to the REGISTRATION_ID in the TABLE_REGISTRY table

NOT NULL

OBJECT_LOCKS

The OBJECT_LOCKS table maintains locks on geodatabase objects.

Field name

Field type

Description

Null?

SDE_ID

INTEGER

Process identification number of the process that locked the geodatabase object; references SDE_ID column in PROCESS_INFORMATION table

NOT NULL

OBJECT_ID

INTEGER

Identifier of the affected dataset

NOT NULL

OBJECT_TYPE

INTEGER

Object lock type, for example, version,state_tree lock used by internal applications

NOT NULL

APPLICATION_ID

INTEGER

Application unique identifier

NOT NULL

AUTOLOCK

CHARACTER(1)

Set to 1 if the layer lock was set internally; otherwise, set to 0, which means the layer lock was set by the application

NOT NULL

LOCK_TYPE

CHARACTER(1)

The type of object lock: S = shared or E = exclusive

NOT NULL

PROCESS_INFORMATION

The PROCESS_INFORMATION table collects ArcSDE session statistics such as the number of records read and the number of records written while the session was active.

Field name

Field type

Description

Null?

SDE_ID

INTEGER

Process identification number

NOT NULL

APP_ID

VARCHAR(32)

The internal DB2 application identifier

NOT NULL

SERVER_ID

INTEGER

The operating system process ID of the server process

NOT NULL

START_TIME

TIMESTAMP

Date and time process was started

NOT NULL

RCOUNT

INTEGER

The number of reads that have been processed

NOT NULL

WCOUNT

INTEGER

The number of writes that have been processed

NOT NULL

OPCOUNT

INTEGER

Total number of operations a process has executed

NOT NULL

NUMLOCKS

INTEGER

The number of locks that the process currently has open

NOT NULL

FB_PARTIAL

INTEGER

Total number of partial features shipped by the process

NOT NULL

FB_COUNT

INTEGER

Total number of buffers loaded by the process

NOT NULL

FB_FCOUNT

INTEGER

Total number of features buffered by the process

NOT NULL

FB_KBYTES

INTEGER

Total number of kilobytes buffered by the process

NOT NULL

OWNER

VARCHAR(30)

The name of the connected user

NOT NULL

DIRECT_CONNECT

VARCHAR(1)

Indicates whether process was made with a direct connection: T (true) or F (false)

NOT NULL

SYSNAME

VARCHAR(32)

The operating system that the client machine is running

NOT NULL

NODENAME

VARCHAR(255)

The connected client machine name

NOT NULL

XDR_NEEDED

VARCHAR(1)

Records whether client is using XDR to communicate with the gsrvr: T (true) or F (false)

NOT NULL

RASTER_COLUMNS

The RASTER_COLUMNS table contains a list of raster columns stored in the database.

This table references the raster data in the band, block, and auxiliary tables.

Field name

Field type

Description

Null?

RASTERCOLUMN_ID

INTEGER

The primary key of the raster column table

NOT NULL

DESCRIPTION

VARCHAR(65)

The user-defined description of the raster table

DATABASE_NAME

VARCHAR(32)

Name of the database in which the raster is stored

NOT NULL

OWNER

VARCHAR(32)

The owner of the raster column's business table

NOT NULL

TABLE_NAME

VARCHAR(128)

The business table name

NOT NULL

RASTER_COLUMN

VARCHAR(128)

The raster column name

NOT NULL

CDATE

INTEGER

The date the raster column was added to the business table

NOT NULL

CONFIG_KEYWORD

VARCHAR(32)

The DBTUNE configuration keyword specified when the raster was created; determines how the tables and indexes of the raster are stored in the database

MINIMUM_ID

INTEGER

Defined during the creation of the raster, establishes value of the raster table's raster_id column

BASE_RASTERCOLUMN_ID

INTEGER

When the raster column is part of a view and not a table, is the rastercolumn_id of the base table of the view

NOT NULL

RASTERCOLUMN_MASK

INTEGER

Set to 256 for a geodatabase raster

NOT NULL

SRID

INTEGER

Spatial reference identifier number; references SRID in the SPATIAL_REFERENCES table

SDE_ARCHIVES

The SDE_ARCHIVES table stores the metadata for the archives in a geodatabase.

Field name

Field type

Description

Null?

ARCHIVING_REGID

INTEGER

The registration ID of the business table

HISTORY_REGID

INTEGER

The registration ID of the archive table

FROM_DATE

VARCHAR(32)

The name of the from date field

TO_DATE

VARCHAR(32)

The name of the to date field

ARCHIVE_DATE

TIMESTAMP

The date the archive was created

ARCHIVE_FLAGS

BIGINT

Not currently used

SDE_LAYER_STATS

The SDE_LAYER_STATS table manages statistics for both versioned and nonversioned feature classes. These statistics are generated when you update geodatabase statistics. The statistics are used by certain geoprocessing tools to estimate whether to use tiled processing.

The SDE_LAYER_STATS table is related to the LAYERS table by way of the layer ID.

Field name

Field type

Description

Null?

LAYER_ID

INTEGER

The unique identifier for the layer

NOT NULL

MIN_X

DOUBLE

Minimum x-coordinate value of the area for which statistics have been updated

NOT NULL

MIN_Y

DOUBLE

Minimum y-coordinate value of the area for which statistics have been updated

NOT NULL

MAX_X

DOUBLE

Maximum x-coordinate value of the area for which statistics have been updated

NOT NULL

MAX_Y

DOUBLE

Maximum y-coordinate value of the area for which statistics have been updated

NOT NULL

MIN_Z

DOUBLE

Minimum z-coordinate value of the area for which statistics have been updated

MIN_M

DOUBLE

Minimum measure value of the area for which statistics have been updated

MAX_Z

DOUBLE

Maximum z-coordinate value of the area for which statistics have been updated

MAX_M

DOUBLE

Maximum measure value of the area for which statistics have been updated

TOTAL_FEATURES

INTEGER

The total number of features in the feature class

NOT NULL

TOTAL_POINTS

INTEGER

The total number of points (vertices) in the feature class

NOT NULL

VERSION_ID

INTEGER

Unique identifier for the geodatabase version

LAST_ANALYZED

TIMESTAMP

The date and time the feature class was last analyzed and statistics updated

NOT NULL

SDE_LOGFILE_POOL

The SDE_LOGFILE_POOL table is created when the geodatabase is created, regardless of what type of log files you use. For a description of this and other log file tables, see Log file tables in a geodatabase in DB2.

SDE_XML_COLUMNS

When you add an ArcSDE XML column to a business table, a row is added to the XML columns table. This table occurs once in each ArcSDE geodatabase.

Field name

Field type

Description

Null?

COLUMN_ID

INTEGER

The XML column's identifier; assigned by ArcSDE at the time the XML column is created

NOT NULL

REGISTRATION_ID

INTEGER

The identifier of the business table containing the XML column; corresponds to the REGISTRATION_ID column in the TABLE_REGISTRY table

NOT NULL

COLUMN_NAME

VARCHAR(32)

Name of the XML column in the business table

NOT NULL

INDEX_ID

INTEGER

The identifier of the XPath index associated with the XML column, if one exists; a foreign key to the XML indexes table

MINIMUM_ID

INTEGER

The value of the initial number used in the business table's XML column to identify individual XML documents

CONFIG_KEYWORD

VARCHAR(32)

The DBTUNE configuration keyword containing parameters that determine how the XML document and the XML XPath index tables and the text indexes created on those tables are defined in the database

XFLAGS

INTEGER

A value indicating whether the original documents in the XML document table are stored compressed or decompressed; compressed by default (Compressed documents provide better performance.)

SDE_XML_INDEX_TAGS

An ArcSDE XML column can optionally have an XPath index, which lets people search the content of a specific XML element or attribute in each document. The definition of which elements and attributes are included in or excluded from each XPath index is recorded in this table.

This table occurs once in each ArcSDE database. It contains one row for each XPath associated with the XPath index of an ArcSDE XML column.

Field name

Field type

Description

Null?

INDEX_ID

INTEGER

The identifier of the XPath index associated with an ArcSDE XML column, if one exists; foreign key to the XML indexes table

NOT NULL

TAG_ID

INTEGER

The identifier of an XPath or tag

NOT NULL

TAG_NAME

VARCHAR(896)

An absolute XPath identifying an XML element or attribute that may occur in an XML document

(For example, /metadata/mdDateSt identifies an XML element, and /metadata/dataIdInfo/tpCat/TopicCatCd/@value identifies an XML attribute.

These XPaths must not contain asterisks [*] to refer to a group of XML elements or attributes—each element or attribute is matched exactly using the XPaths specified in this table.)

NOT NULL

DATA_TYPE

INTEGER

A value indicating whether the XML element or attribute will be indexed as a string or a number

  • 1 = The content of the tag will be indexed as text.
  • 2 = The content will be indexed as a number.

NOT NULL

TAG_ALIAS

INTEGER

A number that can be used to identify an XPath

(For example, the Z39.50 communication protocol uses numeric codes to refer to content that may be searched. This column is not used by the ArcIMS Z39.50 Connector.)

DESCRIPTION

VARCHAR(64)

Text identifying the content that should be contained in the XML element or attribute

IS_EXCLUDED

INTEGER

A value indicating whether the XML element is included in or excluded from the XPath index

  • 0 = included
  • 1 = excluded

NOT NULL

SDE_XML_INDEXES

This table occurs once in each ArcSDE database. It contains one row for each ArcSDE XML column that has an XPath index.

Field name

Field type

Description

Null?

INDEX_ID

INTEGER

The identifier of the XPath index

NOT NULL

INDEX_NAME

VARCHAR(32)

The name of the XPath index

For XPath indexes associated with an ArcIMS Metadata Service, the name will be ims_xml#, where # is the identifier of the XML column in the Metadata Service's business table.

NOT NULL

OWNER

VARCHAR(32)

The database user who owns the XML column

For ArcIMS Metadata Services, this is the user specified in the service's ArcXML configuration file.

INDEX_TYPE

INTEGER

A value indicating the type of XPath index

  • 1 = index type SE_XML_INDEX_TEMPLATE
  • 2 = index type SE_XML_INDEX_DEFINITION

For XPath indexes associated with an ArcIMS Metadata Service, only the index type SE_XML_INDEX_DEFINITION is supported.

DESCRIPTION

VARCHAR(64)

Text identifying the XPath index

If an index definition file was used to create the index, the index's description might be specified at the top of the file.

SERVER_CONFIG

The SERVER_CONFIG table stores ArcSDE server configuration parameters. These parameters define how the ArcSDE software uses memory.

Field name

Field type

Description

Null?

PROP_NAME

VARCHAR(32)

The initialization parameter name

NOT NULL

CHAR_PROP_VALUE

VARCHAR(512)

The character value of the initialization parameter

NUM_PROP_VALUE

INTEGER

The integer value of the initialization parameter

SPATIAL_REFERENCE_AUX

The SPATIAL_REFERENCE_AUX table includes information that is used in addition to the DB2 spatial catalog tables for spatial reference queries.

Field name

Field type

Description

Null?

SRS_ID

INTEGER

Spatial reference identifier

NOT NULL

OBJECT_FLAGS

INTEGER

Stores object attributes, including precision

NOT NULL

XYCLUSTER_TOL

DOUBLE

X,y coordinate cluster tolerance for topological processing

ZCLUSTER_TOL

DOUBLE

Z-coordinate cluster tolerance for topological processing

MCLUSTER_TOL

DOUBLE

Measure cluster tolerance for topological processing

STATE_LINEAGES

The STATE_LINEAGES table stores the lineage of each state. A new lineage name is created for each version. Each time a state is added, the lineage name and the state ID are added. When a state is added that is a new version, the ancestry state lineage of the parent state is added with the lineage name.

To return the correct view of a version, its states lineage is queried to identify all the states that recorded each change made to that version. From this list of states, the table rows that correctly represent the version can be determined.

Field name

Field type

Description

Null?

LINEAGE_NAME

INTEGER

Name that describes a state

NOT NULL

LINEAGE_ID

INTEGER

Unique identifier of individual states

NOT NULL

STATE_LOCKS

The STATE_LOCKS table maintains the version state locks.

Field name

Field type

Description

Null?

SDE_ID

INTEGER

Process identification number of the process that locked the state; references the SDE_ID column in the PROCESS_INFORMATION table

NOT NULL

STATE_ID

BIGINT

Identifier of the state that is locked

NOT NULL

AUTOLOCK

CHARACTER(1)

Set to 1 if the layer lock was set internally; otherwise, set to 0 if the layer lock was set by the application

NOT NULL

LOCK_TYPE

CHARACTER(1)

The type of state lock; the following are possible types:

  • 0 = A shared lock on the entire state tree
  • 1 = An exclusive lock on the entire state tree
  • 2 = A shared lock on a state
  • 3 = An exclusive lock on a state
  • 4 = A shared autolock
  • 5 = An exclusive autolock

NOT NULL

STATES

The STATES table contains the state metadata. It accounts for the states that have been created over time, and the creation time, closing time, parent, and owner of each state.

When a state is created, a state ID is assigned and a record is added to this table.

Field name

Field type

Discussion

Null?

STATE_ID

INTEGER

A unique identifier for this state, assigned by ArcSDE

NOT NULL

OWNER

VARCHAR(32)

The user who created this state

NOT NULL

CREATION_TIME

TIMESTAMP

The date and time this state was created

NOT NULL

CLOSING_TIME

TIMESTAMP

The date and time this state was closed

PARENT_STATE_ID

BIGINT

This STATE_ID of the parent of the state

NOT NULL

LINEAGE_NAME

BIGINT

References the state's lineage stored in the STATE_LINEAGES table

NOT NULL

ST_COORDINATE_SYSTEMS

The ST_COORDINATE_SYSTEMS view contains all coordinate systems registered with Spatial Extender.

NoteNote:

This view is a Spatial Extender view and is not stored in the ArcSDE administrator's (the sde user) schema.

Field name

Field type

Description

Null?

COORDSYS_NAME

VARCHAR(128)

Coordinate system name

COORDSYS_TYPE

VARCHAR(128)

Type of coordinate system: PROJECTED, GEOGRAPHIC, or UNSPECIFIED

DEFINITION

VARCHAR(2048)

Well-known text description of the coordinate system

ORGANIZATION

VARCHAR(128)

Name of the organization that defined the coordinate system

ORGANIZATION_COORDSYS_ID

INTEGER

Coordinate system ID defined by the organization

NOT NULL

DESCRIPTION

VARCHAR(256)

Description for the coordinate system indicating its application

ST_GEOMETRY_COLUMNS

Use the ST_GEOMETRY_COLUMNS catalog view to find information about all spatial columns in all tables that contain spatial data in the database. If a spatial column was registered in association with a spatial reference system, you can also use the view to find out the spatial reference system's name and numeric identifier.

This table holds the schema, geometry type, and spatial reference information for every ST_Geometry column created or added to a table object or view.

NoteNote:

This view is a Spatial Extender view and is not stored in the ArcSDE administrator's (the sde user) schema.

Field name

Field type

Description

Null?

TABLE_SCHEMA

VARCHAR(128)

The owner of the table the geometry column is in

TABLE_NAME

VARCHAR(128)

Unqualified name of the table that contains the geometry column

COLUMN_NAME

VARCHAR(128)

Name of the geometry column

The combination of TABLE_SCHEMA, TABLE_NAME, and COLUMN_NAME uniquely identifies the column.

NOT NULL

TYPE_SCHEMA

VARCHAR(128)

Name of the schema to which the declared data type of this spatial column belongs; obtained from the DB2 catalog

NOT NULL

TYPE_NAME

VARCHAR(128)

Unqualified name of the declared data type of this spatial column; obtained from the DB2 catalog

NOT NULL

SRS_NAME

VARCHAR(128)

Name of the spatial reference system that is associated with this spatial column. If no spatial reference system is associated with the column, SRS_NAME is null. A spatial reference system can be associated with a spatial column by using the command db2gse register_spatial_column with the appropriate parameters.

SRS_ID

INTEGER

Numeric identifier of the spatial reference system that is associated with this spatial column. If no spatial reference system is associated with the column, SRS_ID is null.

ST_SPATIAL_REFERENCE_SYSTEMS

This view contains all spatial references available to the ST_Geometry type. Spatial tables must be referenced correctly for you to analyze them individually or combine them to see relationships. This means they must have a spatial reference and coordinate system.

The ST_SPATIAL_REFERENCE_SYSTEMS view contains the coordinate system and floating point-to-integer transformation values. Internal functions use the parameters of a spatial reference system to translate and scale each floating-point coordinate of the geometry into 64-bit positive integers prior to storage. Upon retrieval, the coordinates are restored to their original external floating-point format.

NoteNote:

This view is a Spatial Extender view and is not stored in the ArcSDE administrator's (the sde user) schema.

Field name

Field type

Description

Null?

SR_NAME

VARCHAR(128)

Spatial reference name

NOT NULL

SRID

INTEGER

Spatial reference identifier

NOT NULL

X_OFFSET

DOUBLE

Offset applied to x-coordinate values

NOT NULL

X_SCALE

DOUBLE

Scale factor applied to x-coordinates after applying the offset

NOT NULL

Y_OFFSET

DOUBLE

Offset applied to y-coordinate values

NOT NULL

Y_SCALE

DOUBLE

Scale factor applied to y-coordinates after applying the offset

NOT NULL

Z_OFFSET

DOUBLE

Offset applied to z-coordinate values

NOT NULL

Z_SCALE

DOUBLE

Scale factor applied to z-coordinates after applying the offset

NOT NULL

M_OFFSET

DOUBLE

Offset applied to measures

NOT NULL

M_SCALE

DOUBLE

Scale factor applied to measures after applying the offset

NOT NULL

MIN_X

DOUBLE

Minimum possible x-value for coordinates

NOT NULL

MAX_X

DOUBLE

Maximum possible x-value for coordinates

NOT NULL

MIN_Y

DOUBLE

Minimum possible y-value for coordinates

NOT NULL

MAX_Y

DOUBLE

Maximum possible y-value for coordinates

NOT NULL

MIN_Z

DOUBLE

Minimum possible z-value for coordinates

NOT NULL

MAX_Z

DOUBLE

Maximum possible z-value for coordinates

NOT NULL

MIN_M

DOUBLE

Minimum possible m-value for measures

NOT NULL

MAX_M

DOUBLE

Maximum possible m-value for measures

NOT NULL

COORDSYS_NAME

VARCHAR(128)

Name of the coordinate system for this spatial reference system

NOT NULL

COORDSYS_TYPE

VARCHAR(128)

Type of coordinate system: PROJECTED, GEOGRAPHIC, or UNSPECIFIED

NOT NULL

ORGANIZATION

VARCHAR(128)

Name of the organization that defined the coordinate system

ORGANIZATION_COORDSYS_ID

INTEGER

Coordinate system identifier defined by the organization

DEFINITION

VARCHAR(2048)

Well-known text description of the coordinate system

NOT NULL

DESCRIPTION

VARCHAR(256)

Description for the spatial reference system indicating its application

TABLE_LOCKS

The TABLE_LOCKS table maintains the locks on ArcSDE registered tables.

Field name

Field type

Description

Null?

SDE_ID

INTEGER

Process identification number of the process that locked the table; references the SDE_ID column in the PROCESS_INFORMATION table

NOT NULL

REGISTRATION_ID

INTEGER

Corresponds to the REGISTRATION_ID field in the TABLE_REGISTRY table

NOT NULL

LOCK_TYPE

CHARACTER(1)

The type of table lock

  • S = Shared
  • E = Exclusive

NOT NULL

TABLE_REGISTRY

The TABLE_REGISTRY table manages all registered tables. The values include an ID, table name, owner, and description.

Field name

Field type

Description

Null?

REGISTRATION_ID

INTEGER

Unique identifier for the registration of the table

NOT NULL

DATABASE_NAME

VARCHAR(32)

Name of the database in which the table is stored

NOT NULL

OWNER

VARCHAR(32)

User who created the table

NOT NULL

TABLE_NAME

VARCHAR(128)

Name of the table

NOT NULL

ROWID_COLUMN

VARCHAR(32)

Name of the ObjectID column in the table

DESCRIPTION

VARCHAR(65)

The user-defined text description of the table

OBJECT_FLAGS

INTEGER

Stores the registration properties of the table, which include the following:

  • The table has a registered row ID.
  • ArcSDE controls the row ID.
  • The table has a geometry column.
  • The table is a multiversioned view.
  • The table can be row locked.
  • The table has a raster column.
  • The table is a view of another table.
  • The table has a geocoding locator column.
  • Data definition language operations are restricted.
  • Data manipulation language operations are restricted.
  • The table is hidden.
  • The table has single row IDs.
  • The table has an XML column.
  • The table has a layer that stores double coordinates.
  • The interior states of this versioned table can be edited.
  • This is a base save table.
  • This table has trusted shapes.
  • This is an archiving table.
  • This table is in load-only I/O mode.
  • This is a history table.

NOT NULL

REGISTRATION_DATE

INTEGER

The date the table was registered with ArcSDE

NOT NULL

CONFIG_KEYWORD

VARCHAR(32)

Configuration keyword specified when the table was registered with ArcSDE; determines the storage of the table and its indexes in the database

MINIMUM_ID

INTEGER

The minimum row_id value of the table

IMV_VIEW_NAME

VARCHAR(32)

The name of a multiversioned view of the given table

TABLES_MODIFIED

The TABLES_MODIFIED table records when changes are made to the system tables. This information is used to eliminate unnecessary reads of tables that have not changed.

Field name

Field type

Description

Null?

TABLE_NAME

VARCHAR(32)

Name of the ArcSDE system table that was modified

NOT NULL

TIME_LAST_MODIFIED

TIMESTAMP

Date and time the table was modified

NOT NULL

VERSION

The VERSION table maintains information about the version of ArcSDE with which the database expects to operate. The table contains the specific release identification for the most recently installed version of ArcSDE.

The VERSION table and other ArcSDE system tables are updated after a new version of ArcSDE is installed.

Field name

Field type

Description

Null?

MAJOR

INTEGER

Number of the major release; for example, for ArcSDE 9.3, the major release number is 9.

NOT NULL

MINOR

INTEGER

Number indicating the version of the minor release; for example, for ArcSDE 9.3, the minor release number is 3.

NOT NULL

BUGFIX

INTEGER

Number of the patch or service pack installed

NOT NULL

DESCRIPTION

VARCHAR(96)

System-defined description of the ArcSDE installation

NOT NULL

RELEASE

INTEGER

Complete release number, for example, 92009

NOT NULL

SDESVR_REL_LOW

INTEGER

Indicates the lowest release number of server allowed to run on this instance

NOT NULL

VERSIONS

The VERSIONS table contains information about versioned geodatabases.

Each version is identified by a name, with an owner, description, and associated database state. This table defines the different versions that the database contains and provides a list of available versions to be presented to the user. These versions are used to access specific database states by the application. The version name and ID are unique.

When the VERSIONS table is first created by ArcSDE, a default version is inserted into the table. This default version is named DEFAULT, is owned by the ArcSDE administrator, and is granted PUBLIC access. The initial state_id is set to 0, and the description string reads Instance Default Version. Since the default version has been granted PUBLIC access, any user can change the state of the default.

Field name

Field type

Description

Null?

NAME

VARCHAR(64)

The unique name of the version

NOT NULL

OWNER

VARCHAR(32)

The version owner

NOT NULL

VERSION_ID

INTEGER

The unique identifier of the version

NOT NULL

STATUS

INTEGER

Specifies whether the version is available to the public or if it is privately accessed by the owner

NOT NULL

STATE_ID

BIGINT

The identifier of the database state to which this version points

NOT NULL

DESCRIPTION

VARCHAR(65)

An optional text description of the version

PARENT_NAME

VARCHAR(64)

The name of the parent of this version

PARENT_OWNER

VARCHAR(32)

The name of the owner of the parent version

PARENT_VERSION_ID

INTEGER

The identifier of the version that is the parent of this version

CREATION_TIME

TIMESTAMP

The date and time that this version was created

NOT NULL


11/18/2013