Академический Документы
Профессиональный Документы
Культура Документы
Presentation overview
Introduction
Comparisons and capabilities
Storage
File system operations, data types, storage limits and
File geodatabase
Personal GDB
File GDB
ArcSDE Personal
ArcSDE Workgroup
ArcSDE Enterprise
MS Access 2 GB Windows
RDBMS Depends on server Depends on RDBMS Multiple editors & readers Versioning, replication, archiving
Versioning support
Designated with a different extension (.gdb vs .mdb) Single editor, no support for versioning New Locking mechanism
No storage size limit Improved performance Reduced storage requirements Customize storage
Compression of vector data Configuration keywords (similar to ArcSDE)
Personal geodatabases are not going away Only move if it helps Three reasons some may not migrate
Comfort with Personal and have small databases < 500mb Some use Microsoft Access to perform operations Some store mature, historical, or archives in Personal
Locking
File gdbs have a new locking model Not a database-wide lock
Other files may also be present, ex. files that start with d if you are editing.
Datafile: consists of at least a .gdbtable and .gdbtablx Attribute index Also present if there are indexes Spatial index Signature file
Introduction
Comparisons and capabilities
Storage
File system operations, data types, storage limits and
Always use ArcGIS tools, not to the file system Possible folder operations (but discouraged)
Copy geodatabase to another location Rename the geodatabase Delete the geodatabase No one else should be connected
The read-only user will be able to query and display Users with write access can modify the data even when others
Permissions example
Writer, starts editing the Roads Writer, adds some new roads while reader queries Writer, saves their work Reader, does not see new roads Reader, does a refresh and then sees new roads
Storage limits
No database size limit Per table limit: 1 TB (default) Per table limit: 256 TB
Same data in a file geodatabase takes up less disk space than personal gdbs, shapefiles
Amount of reduction varies by dataset Storage on disk generally reduces by 50 to 75%
Storage comparisons
Shapefile US rivers and streams California roads US census block centroids US traffic analysis zones US counties 2.19 GB 1.23 GB 838 MB 249 MB 3.2 MB Personal gdb Exceeds 2 GB limit 684 MB 1.8 GB 295 MB 3.2 MB File gdb 878 MB 329 MB 705 MB 68 MB 1.6 MB 50%
Raster data
Riley.mdb
Riley_catalog 1 2 3 F:\Images\R01.sid F:\Images\R02.tiff F:\Images\R03.img 1 2 3
Riley.gdb
Riley_catalog F:\Images\R01.sid F:\Images\R02.tiff F:\Images\R03.img
Riley.idb
Stored as ERDAS Imagine files IDB folder One subfolder per raster Not really inside mdb file However it works like that
ArcCatalog copy, delete, or move
Student Manhattan.mdb
MillerRanch MillerDRG
No GIS data
Configuration keywords
Predetermined keywords stored within the geodatabase, cannot be customized Compared to ArcSDE: very few options
TEXT_UTF16
Use when lots of text in non-latin alphabet
MAX_FILE_SIZE_4GB, MAX_FILE_SIZE_256TB
Introduction
Comparisons and capabilities
Storage
File system operations, data types, storage limits and
Compression
Compress
Entire gdb Feature dataset Standalone feature class Table Vector data (raster is usually maximally compressed already)
Advantage: Further reduce storage requirements Lossless compression Based on Smart Data Compression (SDC)
Direct access format No uncompressing required
Compression tools
Geodatabase toolset
Compression ratios
Finds and removes redundancy Repeating values, like run length encoding Store value once and a count of how many times it occurs
Compression comparison
Uncompressed Compressed US census block centroids California roads Calgary buildings US rivers and streams Mexico roads 705 MB 329 MB 48 MB 878 MB 3.5 MB 162 MB 83 MB 20 MB 442 MB 2.7 MB
Editing not allowed on a compressed dataset Mixed state - compressed and uncompressed feature classes in one feature dataset
Compress a feature dataset Then make new feature class New feature class is uncompressed But you cant edit it
If a feature dataset or relationship class contains a compressed feature class, participating feature classes cannot be edited
Post-compression
feature classes Cannot modify relationship class, topology, geometric network, network dataset properties
Introduction
Comparisons and capabilities
Storage
File system operations, data types, storage limits and
Compared to shapefiles
Generally comparable Shapefiles store geometries separate from attributes
Load performance
Loading shapefiles into file geodatabases is faster than loading into any other type of geodatabase
1.5 -2 x faster than loading into personal geodatabase 2-2.5 x faster than loading into ArcSDE
Copy / Paste into a file gdb is also faster than into any other gdbs
Performance: tips
Defrag disk occasionally Leave sufficient disk space Spatial index grid sizes
XY resolution
If data is not as accurate as the default, set a larger resolution
Introduction
Comparisons and capabilities
Storage
File system operations, data types, storage limits and
Dialogs you create SQL expressions with help you with the correct syntax
appropriate delimiters for fields and values relevant keywords and operators
SQL statements for a personal gdb layer may not work after migration
Definition queries, saved queries, label queries FGDB does not have some functions, Distinct, GroupBy,
OrderBy
String searches case sensitive UPPER and LOWER, not UCASE and LCASE
[Name] = redlands LOWER(Name) = redlands
Update any SQL syntax Use load only mode to maximize data transfer performance
Dim pFeatureClassLoad As IFeatureClassLoad Set pFeatureClassLoad = pFeatureClass pFeatureClassLoad.LoadOnlyMode = True
Introduction
Comparisons and capabilities
Storage
File system operations, data types, storage limits and
Try these:
Types of geodatabases Migrating to the file geodatabase How raster data is stored in a geodatabase Configuration keywords for file geodatabases Setting spatial indexes About compressing file geodatabase data Compacting file and personal geodatabases