ArcGIS 10.1 Geodatabase Administration Gordon Sumerling & Christopher Brown
Key Improvements at ArcGIS 10.1 1. Easier Administration through Graphic Interfaces 2. Greater Seamless integration with Open Spatial Formats 3. Improved features for handling and managing your business requirements
Where to from here? Setting up an ArcGIS for Server Enterprise Geodatabase Pick Database Server Install Database Server Install ArcGIS Server Enterprise or Workgroup
Database architecture Single vs Multiple Geodatabases Fitness for Use to support the Business Phases of Identification Test Develop Deliver new Architecture Production Replication
Data Model Takes the Capabilities required by the Business and identifies the storage method required to make this as easy as possible Takes into account Format of received data Capabilities of each option Performance Editing Requirements
Data Model Considerations Feature Datasets In ArcGIS, a collection of feature classes stored together that share the same spatial reference; that is, they share a coordinate system, and their features fall within a common geographic area. Feature classes with different geometry types may be stored in a feature dataset.
Data Model Considerations Feature Dataset Is a table view So all spatial queries pass through a database join Negatively impacts the Performance of Spatial Queries
Diagrammer & Case Tools (free tools) ArcGIS Diagrammer is a productivity tool for GIS professionals to create, edit or analyze geodatabase schema. Is a visual editor for Esri s.xml Workspace Document *Supports complex geodatabase elements such as topology and parcel fabrics http://www.arcgis.com/home/item.html?id=5af1723bab4e413bae63dd89daa87984
Diagrammer & Case Tools Case Tools is a separate install on the ArcGIS for Desktop media under the CaseTools folder CASE Tools is used to import Unified Modelling Language (UML) models for geodatabase designs UML can be useful for relational database design, for example, for schemas that primarily contain feature classes, attribute tables, and a few other geodatabase properties.
Diagrammer Demo
Spatial Storage Options ArcGIS supports native database geometry types, Esri Geometry types, OGC
How do I choose? All perform on par with one another SDEBINARY has characteristics similar to Geometry, but is stored and indexed differently Geography cannot have Z or M values and calculations are done using Great Ellipse line interpolation, while the others use Cartesian Geometry and Geography are accessible using TRANSACT-SQL
Spatial Indexing Spatial index is used to quickly locate features when you display, edit, or query data. When you create a new feature class in ArcCatalog a spatial index is automatically created. File, Enterprise using ST_Geometry and SDEBinary use grid index Oracle Spatial, Informix and PostgreSQL use R-Tree SQL Server geometry and geography use internal SQL Server grid index Spatial Indexes affect performance
Spatial Indexing ArcGIS automatically rebuilds the spatial index to ensure that the index is optimal. When you create a new feature class If you import from another spatial source geodatabase to geodatabase ArcGIS automatically maintains spatial index in Enterprise geodatabase. Manually recreate index if Do large data loads Add data outside existing extent Add data that is larger than current geometry shapes
Rebuild spatial index Can rebuild spatial index if using ST_Geometry type in Oracle or Geometry in SQL server Other storage types Delete and recreate spatial index
Creating your Geodatabase Use Geoprocessing Tool or Python Creates the Database Authorises the software https://customers.esri.com/index.cfm?event=pub.ecpauthorizations
Application server connection life cycle GIS client TCP/IP network 5151 A Client requests connection giomgr listening on assigned port giomgr spawns dedicated gsrvr Connects to SQL with user name / password supplied by client gsrvr services all client read/write requests Client closes connection gsrvr process terminates gsrvr GISADMIN SQL server giomgr SDE SQL server
Connect directly to database Direct connect Requires correct release of SQL Server Native Client SQL Server 2008 Native Client installed with ArcGIS Desktop, ArcGIS Server, and ArcReader No ArcSDE service required No giomgr or gsrvr process Connection software included with ArcGIS client Performance considerations Increases client load Decreases server load
SA, SDE, Geodata editor, Geodata user Primary authorisation user Administration of the Spatial Data and Indexes Administration of Users, Roles and privileges You should not use to own data as this causes
Other Users: Minimum Type of User Database Privlieges Dataset Privileges Data Viewer Data Editor Data Owner CREATE TABLE CREATE PROCEDURE CREATE VIEW SELECT SELECT, INSERT, UPDATE, DELETE on other users' datasets EXECUTE on the stored procedures associated with the data to be edited Geodatabase Administrator Usually named SDE CONNECT, KILL SELECT, INSERT, UPDATE, DELETE on versioned datasets
How do we create users Use ArcGIS to generate Users for multiple roles using Geoprocessing tools or models, or you can use the Database
What information do you need to connect to a geodatabase on another machine? 2 SERVER 1) Connection type Direct connect (spatial) OLE DB (non-spatial) Edit 2) Server name Client 1 3) DBMS Instance name 4) Database name 3 Production 4 5 6 5) User authentication 6) Table Privleges 7) Results Returned
Install and Configure ArcGIS
To Version or not to Version Versioning is about data transactions Most database transactions completed in fraction of a second Bank transactions, database queries, payroll updates Transactions against geographic data can vary widely in duration and complexity The geodatabase supports data maintenance strategies Long transaction (Versioning) Short transactions (Non-Versioning)
To Version or not to Version What is a Version? Versions are not separate copies of the geodatabase A version represents a snapshot in time of the entire geodatabase Isolates a user's work across multiple edit sessions Versioning is for long transactions Do you have multiple editors in the same area? Do edits take time? Are all your edits from desktop?
To Version or not to Version Non-Versioned editing Short transactions Direct databases edits and changes are committed to base data source Ideal for Mobile transactions or table updates Only edit simple data
To Version or not to Version Replication or archiving required? No Complex data (topology terrains) No Edit session with isolation required No Enable nonversioned editing Yes Yes Yes Register as versioned withoutmove to base Register as versioned with move to base
Versioned Editing Performance Performance affected by: Volume of states Stale statistics Unnecessary versions* Proper workflow 0 State 0 Version pinning v2 state tree Manage your version Reconcile Post Compress v4 v1 DEFAULT
Enable editor tracking ArcGIS Can Automatically record The name of the user who created it. The date and time it was created. The name of the user who edited it. The date and time it was last edited. This information is recorded in attribute fields directly in the dataset ArcMap and Feature Service Editing
Versions & Editor Tracking
GUI for ArcSDE ArcGIS Ideas: (ideas.arcgis.com) Give me a GUI for ArcSDE (8920 points) Connected users sdemon -o info -I users -D ARCGIS -s sql08svr2 -i sde:sqlserver:sqlsvr -u sde -p <PASSWORD>
GUI for ArcSDE ArcGIS Ideas: (ideas.arcgis.com) Give me a GUI for ArcSDE (8920 points) Connected users sdemon -o info -I users -D ARCGIS -s sql08svr2 -i sde:sqlserver:sqlsvr -u sde -p <PASSWORD>
GUI for ArcSDE Connected users sdemon o kill t all -D ARCGIS -s sql08svr -i sde:sqlserver:sql08svr2 -u sde -p <PASSWORD>
GUI for ArcSDE Connected users sdemon o kill t all -D ARCGIS -s sql08svr -i sde:sqlserver:sql08svr2 -u sde -p <PASSWORD>
Version Tree views
Privileges Data set privileges managed from ArcCatalog
Geodatabase GUI & Privileges
Views, Relationship classes and Attachments Create Database View (Data Management/General toolset) Create Relationship Class (Data Management/Relationship toolset) Add Attachments (Data Management/Attachment toolset)
Views, Relationship classes and Attachments A view is a stored query that selects data from specified tables Read Only Create Database View Creates a view in an enterprise database based on an SQL expression
Views, Relationship classes and Attachments Relationship Class Relationship classes define relationships between objects in the geodatabase. Editable
Views, Relationship classes and Attachments Attachments provides a powerful way to associate nongeographic data with your geographic information Common use Attaching picture files to geographic features Attaching reports or graphs that provide additional information about features 1 to many
Views & attachements
Upgrading to 10.1 geodatabase Upgrade a geodatabase to the latest release to take advantage of new functionality available in the late Once a geodatabase has been upgraded, previous versions of ArcGIS will be unable to open it. Upgrade button in geodatabase properties or python script arcpy.upgradegdb_management(default_gdb, "PREREQUISITE_CHECK", "UPGRADE"
Other tools Truncate Table Recover file geodatabase Rename fields in Enterprise geodatabase Query layers, non-sde database connections Domains Rename attribute domains Sort Coded Value Domain
Summary Default database connection is direct connection Graphical Interface to geodatabase Database management tools for ArcCatalog
Data Providers Map Data Services
Additional Resources What's new for geodatabases What's New for databases http://resources.arcgis.com/en/help/main/10.1/#/what_s_new_for_geod atabases/016w00000031000000/
Thank you Questions?