System tables of a geodatabase in PostgreSQL

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 enterprise 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.

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

varchar(38)

Unique identifier of the item

NOT NULL

type

varchar(38)

Corresponds to uuid in the gdb_itemrelationshiptypes table

NOT NULL

originid

varchar(38)

Corresponds to uuid in the gdb_items table

NOT NULL

destid

varchar(38)

Corresponds to uuid in the gdb_items table

NOT NULL

properties

integer

Bitmask of item properties

attributes

xml

Property set representing the attribute pairs

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

varchar(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

varchar(38)

Corresponds to uuid in the gdb_itemtypes table

NOT NULL

destitemtypeid

varchar(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

varchar(38)

Unique identifier of the item

NOT NULL

type

varchar(38)

Corresponds to uuid in the gdb_itemtypes table

NOT NULL

name

varchar(226)

Name of the item (logical)

NOT NULL

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

bytea

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 row

NOT NULL

uuid

varchar(38)

Unique identifier of the item

NOT NULL

parenttypeid

varchar(226)

Corresponds to uuid in this (the gdb_itemtypes) table

NOT NULL

name

varchar(38)

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 the row

NOT NULL

replicaid

integer

Corresponds to the objectid field in the gdb_items table

NOT NULL

event

integer

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

NOT NULL

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.

NOT NULL

logdate

timestamp without time zone

The date on which the event occurred

NOT NULL

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.

NOT NULL

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.

NOT NULL

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.

NOT NULL

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

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

NOT NULL

history_regid

integer

The registration ID of the archive table

NOT NULL

from_date

varchar(32)

The name of the from date field

NOT NULL

to_date

varchar(32)

The name of the to date field

NOT NULL

archive_date

bigint

The date the archive was created

NOT NULL

archive_flags

bigint

Not currently used

NOT NULL

sde_column_registry

The sde_column_registry table manages all registered columns.

CautionCaution:

If you alter column definitions using a SQL interface, the records in the sde_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

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

This value is set to the rastercolumn_id of the sde_raster_columns table if the column is a raster column or the layer_id of the sde_layers table if this column is a geometry column.

sde_compress_log

The sde_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 sde_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 without time zone

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 without time zone

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

sde_coordinate_systems

The sde_coordinate_systems table stores standard coordinate systems. This table is prepopulated with coordinate systems to be used to define spatial references.

Field name

Field type

Description

Null?

name

varchar(128)

Name of the coordinate system

type

varchar(128)

Either 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

id

integer

The identifier for the coordinate system; assigned by the organization that defined the coordinate system

NOT NULL

description

varchar(256)

Text that provides descriptive information about the coordinate system

sde_dbtune

The sde_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_name

varchar(32)

The configuration parameter

NOT NULL

config_string

varchar(2048)

The value of the configuration parameter

sde_geometry_columns

The sde_geometry_columns table stores a row for each column of type Geometry in the database that complies with the OpenGIS SQL specification. ArcSDE treats this table as write only—the only time it is accessed by ArcSDE is when a layer is added or deleted that uses an OpenGIS SQL data format. This table is defined by the OpenGIS SQL specification and may be updated by other applications with geometry columns not managed by ArcSDE. When a new Geometry column is created in an OpenGIS compliant format, the fully qualified table, column name, and spatial reference ID (srid) are added to the sde_geometry_columns table.

Each geometry column is associated with a spatial reference system. ArcSDE stores information on each spatial reference system in the sde_spatial_references table.

Field name

Field type

Description

Null?

f_table_catalog

varchar(32)

The database in which the geometry column's table is stored

NOT NULL

f_table_schema

varchar(32)

Schema in which the business table is stored

NOT NULL

f_table_name

varchar(160)

Name of the business table of the dataset

NOT NULL

f_geometry_column

varchar(32)

Name of the geometry column in the business table

NOT NULL

storage_type

integer

Code for the storage type of the geometry; code could represent either WKB, WKT, or BINARY

geometry_type

integer

The geometry type code; ArcSDE inserts one of the following values into this field:

  • 0 = ST_Geometry
  • 1 = ST_Point
  • 3 = ST_LineString
  • 5 = ST_Polygon
  • 7 = ST_MultiPoint
  • 9 = ST_MultiLineString
  • 11 = ST_MultiPolygon

coord_dimension

integer

Code for the coordinate dimension:

  • 0 = point
  • 1 = linear
  • 2 = area

max_ppr

integer

Maximum points per row (no longer used by ArcSDE)

srid

integer

Spatial reference ID Foreign key to srid in sde_spatial_references table

NOT NULL

sde_layer_locks

The sde_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; foreign key 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

minx

bigint

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

miny

bigint

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

maxx

bigint

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

maxy

bigint

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

lock_time

timestamp without time zone

The date and time the layer lock was acquired

NOT NULL

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 sde_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

minx

double precision

Minimum x-coordinate value of the layer

NOT NULL

miny

double precision

Minimum y-coordinate value of the layer

NOT NULL

maxx

double precision

Maximum x-coordinate value of the layer

NOT NULL

maxy

double precision

Maximum y-coordinate value of the layer

NOT NULL

minz

double precision

Minimum z-coordinate value of the layer

minm

double precision

Minimum m-coordinate value of the layer

maxz

double precision

Maximum z-coordinate value of the layer

maxm

double precision

Maximum m-coordinate value of the layer

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 without time zone

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

NOT NULL

sde_layers

The sde_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

The unique identifier for the layer

NOT NULL

description

varchar(65)

User-defined description of the layer

database_name

varchar(32)

Name of the database in which the layer is stored

NOT NULL

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

NOT NULL

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

NOT NULL

layer_mask

integer

Stores additional internal properties about the layer

NOT NULL

minx

double precision

Minimum x-coordinate value of the layer

NOT NULL

miny

double precision

Minimum y-coordinate value of the layer

NOT NULL

maxx

double precision

Maximum x-coordinate value of the layer

NOT NULL

maxy

double precision

Maximum y-coordinate value of the layer

NOT NULL

minz

double precision

Minimum z-coordinate value of the layer

maxz

double precision

Maximum z-coordinate value of the layer

minm

double precision

Minimum m-coordinate value of the layer

maxm

double precision

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; foreign key to srid value in the sde_spatial_references table

NOT NULL

secondary_srid

integer

Foreign key to srid field in sde_spatial_references table

base_layer_id

integer

Stores the base layer's layer_id value for a layer that is actually a view

NOT NULL

gsize1

double precision

Size of first spatial grid

NOT NULL

gsize2

double precision

Size of second spatial grid

NOT NULL

gsize3

double precision

Size of third spatial grid

NOT NULL

sde_lineages_modified

The sde_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 states_lineages table

NOT NULL

time_last_modified

timestamp without time zone

The date and time the lineage was last modified

NOT NULL

sde_locators

The sde_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

sde_logfile_pool

The sde_logfile_pool table will be present in the geodatabase when it is first 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 PostgreSQL.

sde_metadata

When you add a locator to a geodatabase in a DBMS, a row is added to the sde_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_database

varchar(32)

The name of the database in which the locator is stored

object_name

varchar(160)

The name of the locator to which the property belongs and foreign key to the name column in the sde_locators table

NOT NULL

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 without time zone

Date and time the locator property was created

NOT NULL

sde_mvtables_modified

The sde_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 sde_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 sde_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; foreign key to the states table

NOT NULL

registration_id

integer

The registration id of the table that was modified in the state; corresponds to the table_registry table

NOT NULL

sde_object_ids

The sde_object_ids table keeps track of the types of objects present in the geodatabase.

Field name

Field type

Description

Null?

id_type

integer

ArcSDE system objects type identifier; object can be a layer, state, version, connection, registered table, raster, metadata, or locator.

NOT NULL

base_id

bigint

Starting or current object id for the object type

NOT NULL

object_type

varchar(30)

Name of ArcSDE system object

NOT NULL

sde_object_locks

The sde_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

Id from the gdb_items table 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

lock_time

timestamp without time zone

The date and time the object lock was acquired

NOT NULL

sde_process_information

The sde_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

spid

integer

The gsrvr process ID

NOT NULL

server_id

integer

The operating system process ID of the server process

NOT NULL

start_time

timestamp without time zone

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

sde_raster_columns

The sde_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; foreign key to the srid field in the sde_spatial_references table

sde_server_config

The sde_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

sde_spatial_references

The sde_spatial_references table 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.

Each geometry column of the sde_geometry_columns table is associated with a spatial reference system, the information for which is stored in the sde_spatial_references table. The columns of this table are those defined by the OpenGIS SQL specifications (srid, srtext, auth_name, and auth_srid) and those required by ArcSDE for internal coordinate transformation. The spatial reference system identifies the coordinate system for a geometry and gives meaning to the numeric coordinate values for the geometry.

This table is prepopulated with spatial references defined by the European Petroleum Survey Group (EPSG). The EPSG codes are used for the spatial reference identifier (SRID) to make it easier to share data across databases. Other spatial references get added to the table when you import data if the incoming spatial reference does not match an exisitng spatial reference.

Unlike the other system tables, this table is not stored in the SDE user's schema; it is stored in the public schema. This is necessary to allow you to successfully restore spatial data.

Field name

Field type

Description

Null?

srid

integer

Spatial reference identifier

NOT NULL

description

varchar(256)

The text description of the spatial reference system

falsex

numeric

The x offset used when transforming ground coordinates to internal system coordinates

NOT NULL

falsey

numeric

The y offset used when transforming ground coordinates to internal system coordinates

NOT NULL

xyunits

numeric

The scale factor to apply when transforming ground coordinates to internal system coordinates

NOT NULL

falsez

numeric

The z offset to use when transforming z values to internal system coordinates

NOT NULL

zunits

numeric

The scale factor to use when transforming z values to internal system coordinates

NOT NULL

falsem

numeric

The measure offset to use when transforming measure values to internal system coordinates

NOT NULL

munits

numeric

The scale factor to use when transforming measure values to internal system coordinates

NOT NULL

xycluster_tol

numeric

Xy-coordinate cluster tolerance for topological processing

zcluster_tol

numeric

Z-coordinate cluster tolerance for topological processing

mcluster_tol

numeric

Measure cluster tolerance for topological processing

object_flags

integer

Stores object attributes, including precision

NOT NULL

srtext

varchar(1024)

Descriptor for the spatial reference as seen in the ArcGIS interface

NOT NULL

srname

varchar(128)

Name of the spatial reference system, for example, GCS_WGS_84 or GCS_ASSUMED_GEOGRAPHIC_1

min_x

numeric

Minimum possible x-value for coordinates

NOT NULL

min_y

numeric

Minimum possible y-value for coordinates

min_z

numeric

Minimum possible z-value for coordinates

min_m

numeric

Minimum possible m-value for measures

max_x

numeric

Maximum possible x-value for coordinates

NOT NULL

max_y

numeric

Maximum possible y-value for coordinates

max_z

numeric

Maximum possible z-value for coordinates

NOT NULL

max_m

numeric

Maximum possible m-value for measures

NOT NULL

cs_id

integer

Coordinate system ID

cs_name

varchar(128)

Name of the coordinate system for this spatial reference system

cs_type

varchar(128)

Type of coordinate system: PROJECTED, GEOGRAPHIC, or UNSPECIFIED

organization

varchar(128)

Name of the organization that defined the coordinate system

org_coordsys_id

integer

Coordinate system ID defined by the organization

sde_state_lineages

The sde_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

bigint

Name that describes a state

NOT NULL

lineage_id

bigint

Unique identifier of individual states

NOT NULL

sde_state_locks

The sde_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 sde_id column in sde_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

lock_time

timestamp without time zone

The date and time the state lock was acquired

NOT NULL

sde_states

The sde_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

bigint

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 without time zone

The date and time this state was created

NOT NULL

closing_time

timestamp without time zone

The date and time this state was closed

parent_state_id

bigint

This state_id of the parent state

NOT NULL

lineage_name

bigint

References the state's lineage stored in the sde_state_lineages table Unique

NOT NULL

sde_table_locks

The sde_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 sde_id column in sde_process_information table

NOT NULL

registration_id

integer

References the registration_id field in the sde_table_registrytable

NOT NULL

lock_type

character(1)

The type of table lock

  • S = Shared
  • E = Exclusive

NOT NULL

lock_time

timestamp without time zone

The date and time the table lock was acquired

NOT NULL

sde_table_registry

The sde_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

schema_name

varchar(32)

Name of the schema in which the table is stored

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 versioned 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 versioned view of the given table

sde_tables_modified

The sde_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 without time zone

Date and time the table was modified

NOT NULL

sde_version

The sde_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 sde_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

sde_versions

The sde_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 sde_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 without time zone

The date and time that this version was created

NOT NULL

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 id column in the sde_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(1024)

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.

NOT NULL

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

NOT NULL

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.

st_coordinate_systems

The st_coordinate_systems table contains all coordinate systems registered with the spatial type. This table is updated when ArcSDE is installed and upgraded.

Field name

Field type

Description

Null?

name

varchar(128)

Coordinate system name

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

id

integer

Coordinate system ID defined by the organization

NOT NULL

description

varchar(256)

Description for the coordinate system indicating its application

st_units_of_measure

The st_units_of_measure table stores information about how the values in the spatial column are measured.

Field name

Field type

Description

Null?

unit_name

varchar(128)

Name of the unit of measure

NOT NULL

unit_type

varchar(128)

Type of the unit of measure; for example, LINEAR or ANGULAR

NOT NULL

conversion_factor

double precision

Numeric value used to convert this unit of measure to its base unit; for example, the base unit for linear is METER, and for angular, it is RADIAN.

NOT NULL

description

varchar(256)

Description of the unit of measure

8/21/2013