8 - Data management Flashcards
Data type
How a GIS stores attribute data
Database
A database is a collection of interrelated tables in digital format
DBMS
Software package that allows us to manage and manipulate a database
The primary objective of a database
to collect and maintain information as well as to relate facts and
situations that were previously unconnected.
Why is the Flat file outdated in GIS?
because it lacks any method of checking data integrity
Hierarchical database pros
- easy to understand
- easy to search
- easy to expand
Hierarchical database cons
- define each relation
- difficult to modify the structure
- large index files - extra storage needed
- no many-to-many
- restricted queries
- not used in GIS
Hierarchical database model def
a data model in which the data are organized into a tree-like structure. The data are stored as records which are connected to one another through links. A record is a collection of fields, with each field containing only one value
Network database model
allows each record to be related to multiple primary records and multiple secondary records
Network database pros
- more flexible than H
- many-to-many relation
Network database cons
- complex
-pointers must be defined - many pointers = more storage
- limited application
Foreign key def
one or more attributes that refer to a primary key in another table
Relational database def
- data AND the relationships among
the data are stored in tables - Provide a flexible approach to linkages between records
- comes close to modelling the complexity of spatial relationships
between objects
Relational database pros
- simple & flexible
- doesn’t have to be complete from outset
- each table independent with key field (Only link with query)
- ease of creation and maintenance
- efficient data management and data processing
- Used in many GIS
Primary key def
represents one or more attributes whose values can uniquely identify a record in a table