ArcGIS Server Banner

System tables of a geodatabase in PostgreSQL

System tables of a geodatabase in PostgreSQL

Release 9.3 E-mail This TopicPrintable VersionGive Us feedback
Note:This topic was updated for 9.3.1.

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

To see a diagram of the geodatabase system tables, click here. (You need Adobe Reader to open this file.)

The following is an alphabetical list of the geodatabase system tables as they appear in a PostgreSQLdatabase management system (DBMS). You can use the links below to jump to different sections of the list.


GDB tables SDE tables ST tables

NOTE: The system tables should not be altered using anything other than ArcGIS software.

gcdrules

The gcdrules table stores the geocoding rules that are used by address locators to match addresses. Each record in the gcdrules table corresponds to a geocoding rule file.


Field Name Field type Description
id integer The unique identifier of a geocoding rule

style varchar(32) Name of the geocoding rule set
type varchar(3) The type of geocoding rule file; represented by a three-letter code

cls = Classification table

dct = Match key dictionary

pat = Pattern

stn = Standardization processes

mat = Matching specification

tbl = Additional tables (optional)
data bytea The contents of the geocoding rule file

gdb_annosymbols

The gdb_annosymbols table contains feature class annotation.


Field Name Field type Description
id integer Uniquely identifies an annotation symbol

Primary key

NOT NULL
symbol bytea Stores the annotation symbology

gdb_attrrules

The gdb_attrrules table contains the attribute rules in the geodatabase.


Field Name Field type Description
ruleid integer Identification number of the attribute rule; corresponds to the ruleid column in the gdb_validrules table

Primary key

NOT NULL
subtype integer Subtype code associated with the rule

NOT NULL
fieldname varchar(32) Field with which the rule is associated

NOT NULL
domainname varchar(160) Name assigned to the attribute domain in the geodatabase; references domainname field in the gdb_domains table

NOT NULL

gdb_codeddomains

The gdb_codeddomains table contains values for each coded-value domain.


Field Name Field type Description
domainid integer Unique identifier of the domain; corresponds to the id field in the gdb_domains table

Primary key

NOT NULL
codedvalues bytea Contains the set of coded values and their descriptions

NOT NULL

gdb_defaultvalues

The gdb_defaultvalues table contains the default values for fields at the subtype or object class level.


Field Name Field type Description
classid integer The object class identifier; foreign key to the id field of the gdb_objectclasses table

NOT NULL
fieldname varchar(32) The name of the field to which the default value applies

NOT NULL
subtype integer Subtype code for which the default value is specified for a particular field

NOT NULL
defaultstring varchar(160) The text that is the default value for a field that is a string type
defaultnumber numeric The numeric value that is the default for a field that is an integer type

gdb_domains

The gdb_domains table contains the attribute constraints associated with attribute rules of the gdb_attrrules table.


Field Name Field type Description
id integer Unique identifier of the domain.

Primary key.

NOT NULL.
owner varchar(32) User who created the attribute domain.

NOT NULL.
domainname varchar(160) Name assigned to the attribute domain in the geodatabase.

Unique.

NOT NULL.
description varchar(255) Optional text describing the attribute domain.
domaintype integer Code indicating whether this is a range (1) or coded-value (2) domain.

NOT NULL.
fieldtype integer Code indicating what type of field the domain applies to:

0 = Short integer

1 = Long integer

2 = Float

3 = Double

4 = Text

5 = Date

NOT NULL.
mergepolicy integer Code indicating the policy to use to assign to the resultant feature when two features are merged:

1 = sum values—The attribute of the feature that results from a merge will be the sum of the values of the two original (premerge) features.

2 = geometry weighted—The attribute of the feature that results from a merge is the weighted average of the values of the attributes of the original (premerge) features. The average is based on the original features' geometry.

3 = default value—The attribute of the feature created as a result of the merge will be the same as the default value of the feature class or subtype. (Note: This is the only merge policy value available for nonnumeric fields and coded value domains.)

NOT NULL.
splitpolicy integer Code indicating the policy to be used for assigning attributes to the features that result from splitting one feature:

1 = geometry ratio—The attributes of the features resulting from the split are a ratio of the original feature's (presplit) value. The ratio is based on the ratio in which the geometry is divided by the split.

2 = duplicate—The attributes of the features resulting from the split are the same as the original object's (presplit) attribute value.

3 = default value—The attributes of features resulting from the split take on the default value for the attribute as defined in the feature class or subtype.

NOT NULL.

gdb_edgeconnrules

The gdb_edgeconnrules table contains one record per edge connectivity rule in a geometric network.


Field Name Field type Description
ruleid integer The unique identifier for a rule in the geodatabase and foreign key to the id field in the gdb_validrules table

Primary key

NOT NULL
fromclassid integer The object class ID of the from feature class and the foreign key to the ID in the gdb_geomnetworks table

NOT NULL
fromsubtype integer The subtype of the from edge feature class

NOT NULL
toclassid integer The object class ID of the to feature class and the foreign key to the ID in the gdb_geomnetworks table

NOT NULL
tosubtype integer The subtype of the to edge feature class

NOT NULL
junctions bytea Contains information related to the junction feature class

NOT NULL

gdb_extensiondatasets

The gdb_extensiondatasets table contains information about the dataset extensions (such as network datasets or terrain datasets) in a geodatabase.


Field Name Field type Description
id integer Unique identification number for the network dataset

Primary key

NOT NULL
databasename varchar(32) Name of the database in which the dataset is stored

NOT NULL
owner varchar(32) Owner of the dataset

NOT NULL
name varchar(160) Name of the dataset

NOT NULL
datasetid integer Foreign key to datasetid field in related tables

NOT NULL
properties bytea Properties specific to the dataset
datasettype integer The type of dataset within the geodatabase

NOT NULL

gdb_extensions

The gdb_extensions table stores the extensions registered with this geodatabase.


Field Name Field type Description
id integer Unique identifier of the workspace extension

Primary key

NOT NULL
name varchar(160) Name of the workspace extension

Unique

NOT NULL
clsid varchar(38) GUID that uniquely identifies the extension of an object class

Unique

NOT NULL

gdb_featureclasses

The gdb_featureclasses table contains information on all the feature classes in the geodatabase.


Field Name Field type Description
objectclassid integer Foreign key to the id field in the gdb_objectclasses table

Unique

NOT NULL
featuretype integer Code representing the type of feature

1 = point, multipoint, line, polygon, or multipatch

7 = junctions

8 = simple edges

10 = complex edges

11 = annotation

13 = dimension

14 = raster

NOT NULL
geometrytype integer Code representing the type of geometry of the feature class

1 = point

2 = multipoint

3 = line

4 = polygon (including annotation and dimension)

9 = multipatch

NOT NULL
shapefield varchar(32) Name of the shape field in the feature class

NOT NULL
geomnetworkid integer Foreign key to id field in the gdb_geomnetworks table
graphid integer Foreign key to id field in gdb_networks table

gdb_featuredataset

The gdb_featuredataset table contains the feature datasets (groupings of feature classes) in the geodatabase.


Field Name Field type Description
id integer Uniquely identifies the feature dataset

Primary key

NOT NULL
databasename varchar(32) Name of the database in which the feature dataset resides

NOT NULL
owner varchar(32) User who created the feature dataset

varchar
name varchar(160) Name of the feature dataset

NOT NULL
srid integer Spatial reference ID number; foreign key to sde_spatial_references table

NOT NULL

gdb_fieldinfo

The gdb_fieldinfo table contains the field name, default domain names values, and default string and number values for each attribute field associated with a feature class.


Field Name Field type Description
classid integer Foreign key to the id field in the gdb_objectclasses table

NOT NULL
fieldname varchar(160) Name of the field in the table

NOT NULL
aliasname varchar(160) Alternative name assigned to the field (Aliases can be altered after field creation; the field name cannot.)
modelname varchar(160) Alternative name assigned to the fields used to identify a type of field without requiring a hard-coded name
defaultdomainname varchar(160) Name of the domain associated with the field
defaultvaluestring varchar(160) If the field is type text, the default value assigned to it
defaultvaluenumber numeric If the field is a numeric type, the default value assigned to it
isrequired integer 0 (not a required field) or 1 (a required field)

NOT NULL
issubtypefixed integer Denotes whether subtype is set for the field

0 = yes

1 = no

NOT NULL
iseditable integer 0 (not editable) or 1 (editable)

NOT NULL

gdb_geomnetworks

The gdb_geomnetworks table contains one record per geometric network in the geodatabase. If no stand-alone logical networks exist in the geodatabase, there will be a one-to-one mapping of the gdb_geomnetworks and gdb_networks tables.


Field Name Field type Description
id integer Unique identifier for geometric network in the geodatabase

Primary key

NOT NULL
databasename varchar(32) Name of the database in which the geometric network resides

NOT NULL
owner varchar(32) The name of the user who created the geometric network

NOT NULL
name varchar(160) The name of the geometric network, which must be unique in a personal geodatabase

NOT NULL
networktype integer The type of geometric network

NOT NULL
datasetid integer Foreign key to id field in gdb_objectclasses table

NOT NULL

gdb_historicalmarkers

The gdb_historicalmarkers table contains a list of markers used for navigating moments in a historical version.


Field Name Field type Description
hm_name varchar(64) The name of the historical marker

Unique

NOT NULL
hm_timestamp time stamp without time zone The moment the historical marker references

NOT NULL

gdb_jnconnrules

The gdb_jnconnrules table contains one record per junction connectivity rule in a geometric network.


Field Name Field type Description
ruleid integer The unique identifier for a rule in a geodatabase and the foreign key to the id field in the gdb_validrules table

Primary key

NOT NULL
edgeclassid integer The object class ID of the edge feature class and the foreign key to the id field in the gdb_geomnetworks table

NOT NULL
edgesubtype integer The subtype of the edge feature class

NOT NULL
edgemincard integer The minimum edge cardinality (the minimum number of edges to which a junction can connect)

NOT NULL
edgemaxcard integer The maximum edge cardinality (the maximum number of edges to which a junction can connect)

NOT NULL
junctionclassid integer The object class ID of the junction feature class and the foreign key to the id field in the gdb_geomnetworks table

NOT NULL
junctionsubtype integer The subtype of the junction feature class

NOT NULL
junctionmincard integer The minimum junction cardinality (the minimum number of junctions to which an edge can connect)

NOT NULL
junctionmaxcard integer The maximum junction cardinality (the maximum number of junctions to which an edge can connect)

NOT NULL
isdefault integer Contains a value of 0 or 1 indicating if a junction is a default junction and has been created automatically

gdb_netclasses

The gdb_netclasses table contains one record per feature class that participates in a geometric network in a geodatabase.


Field Name Field type Description
classid integer The object class ID of a feature class in a geodatabase and the foreign key to the id field in the gdb_geomnetworks table.

Primary key.

NOT NULL.
networkid integer The unique identifier for a geometric network in a geodatabase.

NOT NULL.
enabledfield varchar(32) The Enabled field name for the feature class (usually "Enabled").

Every feature class in a geometric network must have an enabled field.
ancillaryrole integer Indicates whether the junction feature class acts as a source or a sink in a geometric network.
ancillaryfield varchar(32) The AncillaryRole field name for the feature class (usually "AncillaryRole").

gdb_netweightasocs

The gdb_netweightasocs table contains one record per association between the network classes and the network weights of the geometric networks.


Field name Field type Description
networkid integer The unique identifier for a geometric network in a geodatabase and a foreign key to the id field in the gdb_geomnetworks table

Unique

NOT NULL
weightid integer The unique identifier of a weight in a geometric network and the foreign key to the classid field in the gdb_netclasses table

Unique

NOT NULL
tablename varchar(160) The name of the table containing the field with which the network weight has been associated

NOT NULL
fieldname varchar(32) The name of the field with which the weight has been associated

NOT NULL

gdb_netweights

The gdb_netweights table contains one record per weight in a geodatabase.


Field Name Field type Description
oid integer The unique identifier of a weight in a geodatabase

Primary key

NOT NULL
networkid integer The unique identifier for the geometric network in a geodatabase and the foreign key to the ID fields in the gdb_geomnetworks, gdb_networks, and gdb_extensiondatasets tables

Unique

NOT NULL
name varchar(160) The name of the weight, which must be unique in each network

NOT NULL
weightid integer The unique identifier of the weight in the geometric network

Unique

NOT NULL
weighttype integer A value indicating the type of network weight

NOT NULL
bitgatesize integer A value from 0 to 31 indicating the size of the bitgate weight

(Nonbitgate weights have a value of 0.)
elementtypes integer Denotes the type of network weight

gdb_networks

The gdb_networks table contains one record per logical network in the geodatabase. If no stand-alone logical networks exist in the geodatabase, there will be a one-to-one mapping between the gdb_geomnetworks and the gdb_networks tables.


Field Name Field type Description
id integer The unique identifier of the logical network in a geodatabase.

Primary key.

NOT NULL.
databasename varchar(32) Database in which the network is stored.

NOT NULL.
owner varchar(32) The name of the user who created the network.

NOT NULL.
name varchar(160) The name of the network.

NOT NULL.
networktype integer A value indicating the type of network.

All networks created using ArcGIS Desktop will have a value of 1=esriNTUtilityNetwork.

NOT NULL.
indextype integer Not currently implemented.

NOT NULL.
normalized integer A value of either 0 or 2, which indicates whether the network is narrow or wide.

Narrow networks contain feature classes with object IDs less than 10,000; wide networks can contain feature classes with object IDs greater than 10,000.

NOT NULL.

gdb_objectclasses

The gdb_objectclasses table contains all the object classes in the geodatabase. This includes the feature classes, relationship classes, and business (or base) tables.


Field name Field type Description
id integer Unique identifier for the object class

Primary key

NOT NULL
databasename varchar(32) Name of the database in which the object is stored

NOT NULL
owner varchar(32) User who owns the object class

NOT NULL
name varchar(160) Name of the object class

NOT NULL
aliasname varchar(160) Alternative name of the object class
modelname varchar(160) Alternative name of the object class; used to identify the type of entity without requiring a hard-coded name
clsid varchar(38) GUID that uniquely identifies the type of object class

NOT NULL
extclsid varchar(38) GUID that uniquely identifies the extension of an object class
extpropes bytea Stores the properties of the associated class extension
subtypefield varchar(32) Name of the field in the object class for defining subtypes
datasetid integer Foreign key to the id field in the gdb_featuredataset table

gdb_rangedomains

The gdb_rangedomains table contains the range of values for each range domain.


Field name Field type Description
domainid integer Same value as the id field in the gdb_domains table

Primary key

NOT NULL
minvalue numeric The lowest allowable value in the range

NOT NULL
maxvalue numeric The greatest allowable value in the range

NOT NULL

gdb_rastercatalogs

The gdb_rastercatalogs table stores a reference to each raster catalog in the geodatabase.


Field name Field type Description
objectclassid integer Foreign key to the id field in the gdb_objectclasses table

Primary key

NOT NULL
rasterfield varchar(32) Name of the raster field

NOT NULL
israsterdataset integer 0 (is not a raster dataset) or 1 (is a raster dataset)

NOT NULL

gdb_relclasses

The gdb_relclasses table contains the table relationships in the geodatabase. All the system metadata required to manage relationships, such as the cardinality and the IDs of the origin and destination classes, is stored in the gdb_relclasses table.


Field name Field type Description
id integer Unique identifier of the relationship class.

Primary key.

NOT NULL.
databasename varchar(32) Name of the database in which the relationship class resides.

NOT NULL.
owner varchar(32) User who owns the relationship class.

NOT NULL.
name varchar(160) Name of the relationship class.

NOT NULL.
originclassid integer Identifier of the origin object class.

NOT NULL.
destclassid integer Identifier of the destination object class.

NOT NULL.
forwardlabel varchar(255) Label that describes the relationship when navigating from origin class to destination class.
backwardlabel varchar(255) Label that describes the relationship when navigating from destination class to origin class.
cardinality integer Code representing the type of cardinality of the relationship class:

1 = one to one.

2 = one to many.

3 = many to many.

NOT NULL.
notification integer Code indicating the notification direction:

1 = none (no messages propagated).

2 = forward (origin to destination).

3 = backward.

4 = both (forward and backward. notification).

NOT NULL.
iscomposite integer If a relationship class is composite, destination objects cannot exist independently of their related origin objects.

Possible values are

0 (is simple, not composite) or 1 (is composite).

NOT NULL.
isattributed integer Indicates whether or not this is an attributed relationship.

NOT NULL.
originprimarykey varchar(32) The name of the primary key field of the origin object class.

NOT NULL.
destprimarykey varchar(32) The name of the primary key field in the destination object class.

NOT NULL.
originforeignkey varchar(32) The name of the foreign key field of the origin object class.

NOT NULL.
destforeignkey varchar(32) The name of the foreign key field in the destination object class.

NOT NULL.
datasetid integer Foreign key to the gdb_featuredataset table.

gdb_release

The gdb_release table stores geodatabase version release information as a single record.


Field name Field type Description
major integer Number of the major release for the geodatabase. For example, ArcGIS 8 was the first major release for the geodatabase, ArcGIS 9 was the second.

NOT NULL.
minor integer The number of the minor release. For example, for ArcGIS 9.3, this would be 3.

Unique.

NOT NULL.
bugfix integer Not in use at this time.

The number of the patch or service pack installed. If 0, no service pack or patch is installed.

NOT NULL.

gdb_relrules

The gdb_relrules table contains the object class relationship rules.


Field name Field type Descripton
ruleid integer Unique identifier of the rule and foreign key to the id field in the gdb_validrules table

Primary key

NOT NULL
originsubtype integer The subtype of the origin feature class

NOT NULL
originmincard integer Minimum number of origin features to which a destination feature can connect

NOT NULL
originmaxcard integer Maximum number of origin features to which a destination feature can connect

NOT NULL
destsubtype integer The subtype of the destination feature class

NOT NULL
destmincard integer Minimum number of destination features to which an origin feature can connect

NOT NULL
destmaxcard integer Maximum number of destination features to which an origin feature can connect

NOT NULL

gdb_replicadatasets

The gdb_replicadatasets table contains information relating to each dataset that was checked out or replicated.


Field name Field type Description
id integer The unique identifier for each record in the table

Primary key

NOT NULL
replicaid integer The identifier of the replica in the parent database

NOT NULL
datasettype integer The type of each dataset in the replica

NOT NULL
datasetid integer The ID of each dataset in the replica

NOT NULL
parentowner varchar(32) The owner of the data in the parent geodatabase

NOT NULL
parentdb varchar(32) The name of the database in the parent database

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
id integer Unique identifier for row.

NOT NULL.
replicaid integer Foreign key to the id field in the gdb_replicas table.

NOT NULL.
event integer Indicates if 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 time stamp 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_replicas

The gdb_replicas table contains the metadata for each replica in the geodatabase.


Field name Field type Description
id integer Unique identifier for the replica (child) version

Primary key

NOT NULL
name varchar(32) Name of the replica (child) version of the geodatabase

NOT NULL
owner varchar(32) User who owns the replica (child) version of the geodatabase

NOT NULL
version varchar(64) Name of the replica version in the parent geodatabase

NOT NULL
parentid integer ID of the replica in the parent geodatabase

NOT NULL
repdate time stamp without time zone Date and time the replica was created

NOT NULL
defquery bytea Contains the replica description, which describes datasets and filters that define the replica

NOT NULL
repguid varchar(36) The GUID value that uniquely identifies the replica across geodatabases

NOT NULL
repcinfo varchar(1800) The connection information for the relative replicas geodatabase
role integer Indicates if a replica has the role of parent or child

NOT NULL

gdb_replicasex

The gdb_replicasex table has additional information about each replica that is stored in the gdb_replicas table. It also has one record of metadata for each replica.


Field name Field type Description
id integer Unique identifier for the row

Primary key

NOT NULL
replicaid integer Foreign key to id field in gdb_replicas table

NOT NULL
rprops bytea Extra replica properties, such as generation numbers or replica state, stored in this field
dprops bytea Replica description parameters

NOT NULL

gdb_spatialrules

The gdb_spatialrules table is not in use at this time.


Field name Field type Description
ruleid integer Primary key

NOT NULL
subtype integer NOT NULL
spatialrel integer NOT NULL
distance numeric NOT NULL
refclassid integer NOT NULL
refsubtype integer NOT NULL

gdb_subtypes

The gdb_subtypes table contains the valid subtypes of the geodatabase object classes.


Field name Field type Description
id integer Unique identifier of the subtype

Primary key

NOT NULL
classid integer Foreign key to the id field in the gdb_objectclasses table

NOT NULL
subtypecode integer Numeric code value representing a subtype; foreign key to subtype field in gdb_defaultvalues table and destclasssubtype field in the gdb_toporules table

NOT NULL
subtypename varchar(160) Name of the subtype; corresponds to the Subtype Description on the Subtypes tab of the Feature Class Properties dialog box in ArcCatalog

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
table_name varchar(160) Name of the geodatabase system table

NOT NULL
last_modified_count integer Keeps a count of the number of times a system table is modified; incrementally increases each time the system table is modified

NOT NULL

gdb_toolboxes

The gdb_toolboxes table contains one record of metadata for each toolbox in the geodatabase.


Field name Field type Description
id integer Unique identifier for the toolbox

Primary key

NOT NULL
databasename varchar(32) Name of the database in which the toolbox is stored

NOT NULL
owner varchar(32) User who created the toolbox in the geodatabase

NOT NULL
name varchar(160) Name given to the toolbox

NOT NULL
displayname varchar(255) The label of the toolbox
alias varchar(160) Alternative name for the toolbox
helpfile varchar(255) Path to the help file containing the help topic for the toolbox
helpcontext integer Help context ID from the help file for the help topic associated with the toolbox

gdb_topoclasses

The gdb_topoclasses table contains one record per each feature class in a topology.


Field name Field type Description
classid integer Unique identifier of the topology class;

foreign key to id field in the gdb_objectclasses table

Primary key

NOT NULL
topologyid integer Foreign key to id field in gdb_topologies table

NOT NULL
weight numeric Not in use

NOT NULL
xyrank integer The rank in the x,y domain assigned to the feature class in the topology

NOT NULL
zrank integer The rank in the z-domain assigned to the feature class in the topology

NOT NULL
eventsonanalyze integer Indicates if an event is broadcast when topology is validated

NOT NULL

gdb_topologies

The gdb_topologies table contains one record per topology in the geodatabase.


Field name Field type Description
id integer The unique identifier for the topology in the geodatabase

Primary key

NOT NULL
databasename varchar(32) Name of the database in which the topology is stored
owner varchar(32) The owner of the topology (the user who created the topology)

NOT NULL
name varchar(160) The name of the topology

NOT NULL
datasetid integer The feature dataset in which the topology resides and the foreign key to the id field in the gdb_featuredataset table

NOT NULL
properties bytea Stores information such as the cluster tolerance, max error count, state, and configuration keyword

gdb_toporules

The gdb_toporules table contains one record per rule in each topology.


Field name Field type Description
ruleid integer Unique identifier of the topology rule; foreign key to the id field in the gdb_validrules table

Primary key

NOT NULL
originclassid integer Foreign key to classid field in gdb_topoclasses table

NOT NULL
originsubtype integer Foreign key to subtypecode field in gdb_subtypes table

NOT NULL
alloriginsubtypes integer Indicates if rule applies to all subtypes in the origin feature class

NOT NULL
destclassid integer Foreign key to classid field in gdb_topoclasses table

NOT NULL
destsubtype integer Foreign key to subtypecode field in gdb_subtypes table

NOT NULL
alldestsubtypes integer Indicates if rule applies to all subtypes in the destination feature class

NOT NULL
topologyruletype integer The type of topology rule

NOT NULL
name varchar(160) User-defined name associated with the topology rule
ruleguid varchar(38) GUID that uniquely identifies the topology rule

Unique

NOT NULL

gdb_usermetadata

The gdb_usermetadata table stores user-defined metadata for all parts of the geodatabase including object classes, feature classes, feature datasets, logical networks, and relationship classes.


Field name Field type Description
id integer Uniquely identifies the metadata record

Primary key

NOT NULL
databasename varchar(32) Name of the database in which the metadata is stored
owner varchar(32) The owner of the metadata

NOT NULL
name varchar(160) Name of the dataset to which the metadata refers

NOT NULL
datasettype integer Code for the type of dataset to which the metadata refers

NOT NULL
xml bytea Metadata content

NOT NULL

gdb_validrules

The gdb_validrules table contains all the valid rules of the geodatabase. This includes the attribute rules, edge connectivity rules, junction connectivity rules, relationship rules, topology rules, geocoding rules, and spatial rules.


Field name Field type Description
id integer Uniquely identifies a rule

Primary key

NOT NULL
ruletype integer The type of validation rule

NOT NULL
classid integer Foreign key to id field in gdb_objectclasses table

NOT NULL
rulecategory integer Not in use at this time

NOT NULL
helpstring varchar(160) Not in use at this time

sde_archives

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


Field name Field type Description
archiving_regid integer The table's registration ID

Foreign key to registration_id in sde_table_registry table

Primary key

NOT NULL
history_regid integer The archive table's registration ID

Foreign key to registration_id in the sde_table_registry 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 creation date of the archive

NOT NULL
archive_flags bigint Not currently used

NOT NULL

sde_column_registry

The sde_column_registry table manages all registered columns.

NOTE: 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
database_name varchar(32) Name of the database in which the table containing the column resides

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 term character array

6 = SE_BLOB_TYPE—Variable length data

7 = SE_DATE_TYPE—Time stamp 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 term character array

15 = SE_NCLOB_TYPE—Unicode character large object

20 = SE_POINT_TYPE—Point UDT

21 = SE_CURVE_TYPE—LineString UDT

22 = SE_LINESTRING_TYPE—LineString UDT

23 = SE_SURFACE_TYPE—Polygon UDT

24 = SE_POLYGON_TYPE—Polygon UDT

25 = SE_GEOMETRYCOLLECTION_TYPE 25—MultiPoint UDT

26 = SE_MULTISURFACE_TYPE—LineString UDT

27 = SE_MULTICURVE_TYPE—LineString UDT

28 = SE_MULTIPOINT_TYPE—MultiPoint UDT

29 = SE_MULTILINESTRING_TYPE—MultiLineString UDT

30 = SE_MULTIPOLYGON_TYPE—MultiPolygon UDT

31 = SE_GEOMETRY_TYPE—Geometry UDT

NOT NULL
column_size integer The registered column value's length
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; properties include the following:

  • Column has a row ID.
  • SDE controls the row ID column.
  • Column allows NULLS.
  • Column stores ST_GEOMETRY geometry data.
  • Column stores binary geometry data.
  • Column stores UDT geometry data.
  • Column stores binary raster data.
  • Column stores UDT raster data.
  • Column stores XML data.
  • Column stores dates.
  • Column stores time.
  • Column stores a time stamp.
  • Column stores a Unicode string.

NOT NULL
object_id integer This value is 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.

sde_compress_log

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

NOTE: This table is not present if the geodatabase has never been compressed.


Field name Field type Description
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 TIME STAMP The date and time the compress operation was begun

NOT NULL
start_state_count integer The number of states present when compress began

NOT NULL
compress_end TIME STAMP 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 was successfully completed

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
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 ID for the coordinate system; assigned by the organization that defined the coordinate system

Primary key

NOT NULL
description varchar(256) Text that provides descriptive information about the coordinate system

sde_dbtune

The sde_dbtune table stores the configuration keywords for ArcSDE data objects, such as feature classes.


Field name Field type Description
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
f_table_catalog varchar(32) The database in which the feature 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; could represent either WKB, WKT, or BINARY
geometry_type integer Code for the geometry type that the column stores; could represent either point, multipoint, linestring, multilinestring, polygon, or multipolygon
coord_dimension integer Code for the coordinate dimension includes the following:

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
sde_id integer Process identification number of the process that has locked the layer; foreign key to the sde_id column in sde_process_information table

NOT NULL
layer_id integer Foreign key to layer_id field in sde_layers table

NOT NULL
autolock character(1) Set to 1 if the layer lock was set internally; otherwise, it is 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

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, to index geometry values, and to properly create and manage the associated DBMS tables.


Field name Field type Description
layer_id integer Unique identifier for the layer

Unique

NOT NULL
description varchar(65) The optional layer description

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:
  • Layer stores single-precision or double-precision coordinates.
  • Layer stores 3D coordinates.
  • Layer stores measures.
  • Layer has autolocking enabled or disabled.
  • Layer is in load only I/O mode or normal I/O mode.
  • Layer stores annotation.
  • Layer stores CAD data.
  • Layer is a view of another layer.
  • 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 measure value of the layer
maxm double precision Maximum measure value of the layer
cdate integer The layer creation date

NOT NULL
layer_config varchar(32) Configuration keyword with which the layer was created
optimal_array_size integer Geometry array buffer size
stats_date integer When 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
lineage_name bigint Foreign key to the lineage_name field in the sde_state_lineages table

Primary key

NOT NULL
time_last_modified time stamp 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
locator_id integer Unique identifier of the locator

Primary key

NOT NULL
name varchar(32) The name of the locator

NOT NULL
owner varchar(32) The name of the user who owns the locator

Unique

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 in this column 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_metadata table defines a single property for a locator.


Field name Field type Description
record_id integer Unique identifier for the record

Primary key

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 time stamp 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.

Anytime 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
state_id bigint The ID of the state in which this table was modified; foreign key to the sde_states table

NOT NULL
registration_id integer The registration ID of the table that was modified in the state; foreign key to the sde_table_registrytable

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
id_type integer ArcSDE system objects type identifier; object can be a layer, state, version, connection, registered table, raster, metadata, or locator

Primary key

NOT NULL
base_id bigint Starting or current object ID for the object type

NOT NULL
object_type varchar(30) ArcSDE system objects' names

NOT NULL

sde_object_locks

The sde_object_locks table maintains locks on geodatabase objects.


Field name Field type Description
sde_id integer Process identification number of the process that locked the geodatabase object; references sde_id column in sde_process_information table

NOT NULL
object_id integer ID from the object_classes 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 if the layer lock was set by the application

NOT NULL
lock_type CHARACTER(1) The type of object lock, which includes

"S" for shared

"E" for exclusive

With the sde_id, object_id, object_type, application_id, and autolock fields, makes up the primary key

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
sde_id integer Process identification number

Primary key

NOT NULL
spid integer The gsrvr process ID

Unique

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 or not 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
rastercolumn_id integer Unique identifier of a raster column

Unique

NOT NULL
description varchar(65) The 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 whose storage parameters determine 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, this value 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 uses memory.


Field name Field type Description
prop_name varchar(32) The initialization parameter name

Primary key

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.

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 data to successfully restore spatial data.


Field name Field type Description
srid integer Spatial reference ID

Primary key

NOT NULL
description varchar(64) The text description of the spatial reference system
auth_name varchar(255) The name of the standard or standards body that is being cited for this reference system
falsex double precision Offset applied to x-coordinate value

NOT NULL
falsey double precision Offset applied to y-coordinate values

NOT NULL
xyunits double precision Scale factor applied to x- and y-coordinates after applying offset

NOT NULL
falsez double precision Offset applied to z-coordinate values

NOT NULL
zunits double precision Scale factor applied to z-coordinate value after applying offset

NOT NULL
falsem double precision Offset applied to measures

NOT NULL
munits double precision Scale factor applied to measures after applying offset

NOT NULL
xycluster_tol double precision X,y coordinate cluster tolerance for topological processing
zcluster_tol double precision Z-coordinate cluster tolerance for topological processing
mcluster_tol double precision 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 double precision Minimum possible x-value for coordinates

NOT NULL
min_y double precision Minimum possible y-value for coordinates
min_z double precision Minimum possible z-value for coordinates
min_m double precision Minimum possible m-value for measures
max_x double precision Maximum possible x-value for coordinates

NOT NULL
max_y double precision Maximum possible y-value for coordinates

NOT NULL
max_z double precision Maximum possible z-value for coordinates

NOT NULL
max_m double precision 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

NOT NULL
cs_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
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 state 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
lineage_name bigint Name that describes a state

The lineage_name and lineage_id together make up the primary key

NOT NULL
lineage_id bigint Unique ID of individual states

NOT NULL

sde_state_locks

The sde_state_locks table maintains the version state locks.


Field name Field type Description
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

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
state_id bigint A unique identifier for this state; assigned by ArcSDE

Primary key

NOT NULL
owner varchar(32) The user who created this state

NOT NULL
creation_time time stamp without time zone The date/time this state was created

NOT NULL
closing_time time stamp without time zone The date/time this state was closed

parent_state_id bigint This state’s parent's state_id

Unique

NOT NULL
lineage_name bigint References the state's lineage stored in the 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
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 Foreign key to registration_id field in the sde_table_registrytable

NOT NULL
lock_type character(1) The type of table lock

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
registration_id integer Unique identifier for the registration of the table

Primary key

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 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.
  • SDE 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

NOT NULL
config_keyword varchar(32) Configuration keyword with which the table was created
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

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
table_name varchar(32) Name of the ArcSDE system table that was modified

Primary key

NOT NULL
time_last_modified time stamp 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
major integer Number of the major release; for example, for ArcSDE 9.3, the major release number would be 9.

Primary key.

NOT NULL.
minor integer Number indicating the version of the minor release; for example, for ArcSDE 9.3, the minor release number would be 3.

NOT NULL.
bugfix integer Number of the patch or service pack installed.

NOT NULL.
description varchar(96) 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.


Field name Field type Description
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

Primary key

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 ID 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 this version's parent version
parent_owner varchar(32) The name of the owner of the parent version
parent_version_id integer The ID of the version which is the parent of this version
creation_time time stamp without time zone The date/time that this version was created

NOT NULL

sde_xml_columns

When you add an 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
column_id integer The XML column's identifier; this value is assigned by ArcSDE at the time the XML column is created.

Primary key.

NOT NULL.
registration_id integer The identifier of the business table containing the XML column; a foreign key 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 uncompressed; by default, documents are compressed. (Compressed documents provide better performance.)

sde_xml_index_tags

An XML column may 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 an XML column's XPath index.


Field name Field type Description
index_id integer The identifier of the XPath index associated with an XML column, if one exists; foreign key to the index_id column in the sde_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 may 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 XML column that has an XPath index.


Field name Field type Description
index_id integer The identifier of the XPath index.

Primary key.

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

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

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 may 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, when needed, upgraded.


Field name Field type Description
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

Primary key

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