ORDBMS Goes Spatial:
An Introduction
Cindy Munns
Principal Systems Engineer, Informix
Agenda
- What is an Object Relational Database and how can it help solve spatial problems?
- SDE architecture
- SDE with a traditional RDBMS
- SDE advantages with an Object-Relational DBMS
- What are real GIS users doing with ORDBMS?
Information Evolution

Early information systems revolved around data entry applications, those that automated business functions. These applications, such as spreadsheets and word processing, accessed text and numeric data, and in many cases were single user systems. RDBMS systems evolved in the 1970�s in response to the need to support many users, where there was also a need for a query environment.
Over the last twenty years, the types of data supported by applications has become more complex�it is not enough for a DBMS to support only alphanumeric data. Maps, audio, video, text, images are now commonly used in applications, especially in the Internet world. Object Databases were created to support complex data, those that needed an object infrastructure to define classes and methods for use. While Object Databases are useful for solving complex problems , and working with complex data, they suffer from two shortcomings:
- They do not scale to large concurrent user communities.
- They do not readily support an easy-to-use query environment.
Enter Object Relational Databases. An ORDBMS takes the ease of use/implementation/administration/scalability of a traditional RDBMS and combines it with the flexibility of an Object Model. It is essentially the ability to extend your database to support any data type or business function.
Universal Data : Integrated Extensibility for ALL Data
- An ORDBMS provides Unified Access to All Corporate Data
- Single SQL3 interface simplifies application development: this is easy for a SQL programmer to learn, as it is a simple extension of ANSI standard SQL.
- Consistent approach simplifies database management and configuration. The ORDBMS supports all data types and allows you to manage all data (spatial and non-spatial) in one place.
- Single server ensures database and transaction integrity- standard RDBMS capabilities simplify backup, restore, and administration.
Informix Dynamic Server 2000= Objects in the Database
SQL 3 Support
Extensibility
- DataBlade Support: A DataBlade is a packaged plug-in to the database server that is created and sold by a third party. A Blade consists of three items:
- Data Types or Object Classes
- Functions or methods
- Access Methods
- As an example, an image Blade could define image types, with specific attributes, image functions that allow for image manipulation, and special access methods that provide for fast image retrieval. A Blade could also have a client interface, such as an image display graphical front end.
Performance Relativity
- 336MHz SPARC Þ 5200MB/sec
- Memory Þ 1300MB/sec
- System Bus Þ 100MB/sec
- SCSI Bus Þ 20MB/sec
- SCSI Disk Þ 0.24 to 80MB/sec
- Network Þ 1 to 10MB/sec
The above figures illustrate the dramatic potential for performance improvement by defining types and functions directly in the database server. If a function result can be calculated directly in the database, we don�t need to ship all the data to the client application, across a network which has a throughput speed many times slower.
What is SDE for Informix?

SDE for Informix is a database plug-in that creates:
- spatial data types
- spatial functions
- spatial indexes
- that are managed directly by the database server
- allows you to access spatial data using: Esri tools, ODBC, SQL, Java.
How is it different from using a traditional database? Answer: With a standard RDBMS, SDE does all the work. Data types and functions are emulated by the database.
Why Should I Upgrade to SDE for Informix?
- Arc 8 requires SDE
- Store all data in one place, multiple user updates
- Share all data across the enterprise, no need to use NFS
- Access all data with a single easy-to-use interface
- Access all data with any SQL tool, Java, ODBC.
- It�s fast! (spatial data types, indexes, functions are native to the database)
- It scales! Complex queries, large datasets, large number of users, no problem.
A �special� spatial index
- The R-Tree index!
- A specialized index for spatial data
- Managed by the database engine like a regular index
- Provides huge performance gains
- Exclusive to Informix
- No Grid management overhead
- No searching multiple grids
- Lookups are indexed vs scanning an emulation table
- Fewer i/o�s per query
R-trees - 1
What we�ve got:
- Height balanced
- Works by eliminating as rapidly as possible non-matches for a range of spatial predicates:
- Contains
- Within
- Overlap
- Equal
R-trees - 2
DBMS folk like R-trees:
- Trees -> 2 phase locking
- Parallelism is no-brainer
- Good-worst case access
- Works for Points and Regions
- Concepts broadly applicable
What Does it Mean
Ease of Use
- Lower administration overhead
- Easier and faster setup
- Performance
- Largest database size
- Largest number of users
- Most complex queries
Lower cost of ownership
- Achieve better performance with less hardware
- Less outside consulting needed
SDE for Informix Users
- LINZ (Land Information New Zealand
- BLM (Bureau of Land Management)
- WaGIS (German Water Bureau)
- USGS (US Geological Survey)
BLM: ALMRS - Automated Land and Mineral Records
Goals:
- Make Federal land and mineral records accessible to the public, other Federal agencies, and State and local governments;
- Improve speed and accuracy of land and mineral record processing
- Preserve valuable land and mineral records, which are deteriorating through time and use, avoiding costly hard-copy replacement.
- Link legal land descriptions, geographic coordinates (latitude and longitude), land and mineral ownership, and resource data to provide a complete picture of the public land's current uses and availability for future use;
Land Information New Zealand: Core Records System (CRS)
Goal: To unify government land-related activities. Allow remote land validation by solicitors, surveyors, and staff .
- Key strategy: Replace systems with a single integrated system for Automated Land Transaction processing, containing the Land Titles Record with both survey and title transactions.
- Objectives for the first stage: Convert all data to digital format including back capture of several million images of survey plans and title documents. Future stages will include the development of Internet interfaces
- Technical Information:
Data: 750 Gig, of which 400 Gig is GeoSpatial
Users: 50 Developers, Internet Deployment
Performance: Sub 2-second response time on common queries
Why ORDBMS at LINZ?
- Ability to handle both spatial and non-spatial with a single interface.
- Object capabilities in the database allowed creation of custom routines:
- �fractions� data types and methods to calculate exact fractional ownership, could not be done with standard decimal data types
- Allowed creation of customized encryption routines, controlled by the server, for external security access.
- Performance: Native spatial functions and indexes provide better performance since less data is shipped to the client.
German Waterways and Shipping Administration:
WaGIS (Waterways GIS)
- Goal: to bring spatial data into their Intranet for viewing and download
- Benefit: lower effort and cost to gather and download information
- First step towards a Spatial Information Warehouse.
- Uses of SDE :
a) act as a data store (Geographic Data Warehouse) for multiple applications including CAD data from MicroStation which is directly stored and accessed using SDE CAD Client extension.
b) act as the central spatial data server for web-based and other Esri applications .
WaGIS (Waterways GIS) Architecture

More Europe!
- German Southern Space Observatory
- Technical Overview
- Data: 200 Million Rows (Features)
- Users: Internet 1 Billion
- Performance: Index Builds down from 100 hours to 9
US Geological Survey: GEO-Data Explorer
Developed by - USGS Energy Resources Program, Reston, VA.
Architecture - Java applet GIS browser accessing Informix UDO and the Esri SDE Datablade through JDBC.
Functionality - displays overlayed maps (vector), images (raster) and tabular data. Interactive Java interface can build a query, turn layers on and off, pan and zoom, etc.
Key points -
- This applet maps actual vector data coming from the database (vs. GIF files) by accessing spatial functions directly through SQL using JDBC.
- SQL function calls can be nested in a single query.
- Users can save maps as graphic files but also download/save coverages as vector data.
- Meeting 10 second response time goal for all queries.
- Come see the live system in our booth!
As an example of performance, one operation needed to create a multi-polygon from approx. 190,000 features (polygons). If this operation were executed by the client application, all 190,000 rows would need to be shipped down to the client. Use of a Stored Procedure that invokes the Blade functions allowed just 119 rows to be returned to the client, which resulted in response time reduction from 2 minutes to 4 seconds.
US Geological Survey: GEO-Data Explorer (screen shot)

More Information?
- Stop by our booth, meet the engineers, see a demo, get product information (data sheet, white paper), ask about the SDE for Informix promotion.
- http://www.informix.com, http://www.Esri.com
- "Object Relational Databases, The Next Great Wave" by Dr. Michael Stonebraker, Paul Brown, available at http://www.amazon.com .
Questions?