Home | Concepts | API | Samples |
Concepts > Schema Objects > Tables > Types of Tables | ||||||||||||||||||||||||||||||||||||||||||||||
User Tables | ||||||||||||||||||||||||||||||||||||||||||||||
With the exception of the business table, these tables should be accessed
through the application interface provided either by ArcGIS or an ArcSDE C API
program. Direct access to the nonbusiness tables via the SQL interface is not
encouraged.
Business tables The business table is an existing DBMS table that ArcSDE spatially enables by
adding a shape column. A spatial column is also known as a layer. Information
about each layer (or spatial column) is maintained in the LAYERS table. This
same table is called SDE_layers in the SQL Server and PostgreSQL
implementations. Binary schema implementation Under this implementation, the integer shape column contains feature identifiers that uniquely reference the shape data. The feature ID joins the business table with the associated feature and spatial index tables managed by ArcSDE. This implementation is available in geodatabases stored in Oracle or SQL Server DBMSs.A trigger is defined on the spatially enabled business table to maintain the relationship between records in the business table and the feature table. The trigger is:
TRIGGER SPCOL_DEL_CASCADE_<layer> Feature table Under the binary schema implementation, the Feature table stores the geometric
shapes for each feature. This table is identified by the spatial column layer
number using the name F<layer_id>.
The feature table stores the shape geometry and has several additional columns to support ArcSDE query processing. For storing the geometry:
As shapes are inserted or updated, the extents, numofpts, and so on, are recalculated automatically. The points column contains the coordinate array for the shape in a compressed integer format. Spatial types implementation For information on the ST_Geometry type implementation, see the ArcGIS Server or Desktop help topics The ST_Geometry type and the DBMS-specific topics The DB2 Spatial Extender geometry type, The Informix Spatial DataBlade geometry type, ST_Geometry storage in Oracle, and ST_Geometry storage in PostgreSQL. For information on other spatial type implementations, such as Oracle Spatial, Microsoft Geometry or Geography, or PostGIS, consult the documentation provided by Oracle, Microsoft, and PostGIS respectively. |
feedback |
privacy |
legal |