January/February Flashcards

(46 cards)

1
Q

Databases typically contain many ______.

A

files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why bother with a 90-file .gdb over a 24-file .shp format?

A
  • Concurrency
  • Integrity
  • Dependence
  • Different Views
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Concurrency

A

Access by multiple people

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Integrity

A

Data meets specified criteria

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Dependence

A

Relationships between data values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Different views

A

Meet different user eneds (general manager vs forest manager example)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DBMS

A

Database Management System

User–>Query OR Update–>Compiler–>Constraint enforcer–>Database processor–>Data manager–>Sends query results back to user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A database transaction is a single (_____) interaction between….

A

“atomic”…..the user and the database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are types of transactions in a database?

A

Adding or editing (new data), deleting data, and retrieving data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DBMS’s have __________ or “interleaved”

A

many transactions happening simultaneously

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Database Schema

A

Structured representation of a table
-What is its name?
-What are its attributes?
-For each attribute, what is the domain of said attribute? (e.g. integers, Boolean, text, anything 0-14)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Files/data/tables need a way to ______, which is where ______ come in handy.

A

talk to each other, relational databases/entity-relationship models

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Database Development Chart

A

Domain Model –> Concept Computation Model –> Logical Computation Model –> Physical Computation Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The entity-relationship model is based on…..

A

relational database framework

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Give an example of entity types/instances/attributes

A

In a table of cities, cities is the entity type, rows are entity instances, and columns are attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Primary key

A

A unique identifier (e.g. FIPS and FID)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Primary keys are often….

A

a number, not a name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

The relationship aspect of a ER model is….

A

what links the entities to one another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

We often use a ____ shape to conceptualize relationships

20
Q

Numbers next to entities signify….

A

how many of one entity can be matched to the other entity

21
Q

What are the types of matches between entities?

A
  • 1 to 1
  • 1 to many (1 city and many wards in that city)
  • many to 1 (many cities in 1 county)
  • many to many (many rivers in each city, and many cities along each river)
22
Q

What number is used to express many match possibilities?

23
Q

Explain the concept of mandatory vs. optional relationships

A

Using the city-contains-county model:

  • Each city MUST be contained within exactly 1 county, as represented by double lines
  • A county doesn’t have to contain any cities, as represented by a single line
24
Q

Explain the concept of involutary relationships

A

Using the city-county-borders example:

  • The M&N denote a many-to-many relationship, and the chart serves to express what counties border each other (?)
25
Dependent entity
Dependent on knowing (see voting example) and are REPRESENTED BY DOUBLE LINES AND DOUBLE BORDERS
26
Subtypes add _______ but _____
new information, remove what is contained in the supertype
27
Subtypes participate......
in all relationships that the supertype participates in
28
When turning a diagram into a database, we want to....
minimize the number of tables (joins are expensive), BUT we ALSO want to avoid repeating data
29
What is the general idea behind tables when being converted from a diagram?
Each box AND join gets a table (e.g. war, ward_in_city, county_borders)
30
Dependent entity means ____ are needed for primary key
two attributes
31
When analyzing schemas, look for....
duplicated information, and remove if possible
32
File databases ____ relational.
Act
33
What are some similarities between file and mobile geodatabases?
- Same functionality for the most part - Same SETUP EXCEPT mobile catalog elements start with "main."
34
What are some differences between file and mobile geodatabases?
- Mobile is one file, File is many files - Mobile is more easily moved - Mobile geodatabases cannot be uploaded to Arc Online
35
Benefits of a shape file
- Common - Backward compatibility - Cross- platform
36
Drawbacks of a shape file
- Cumbersome to move - No relationships
37
Benefits of a file geodatabase
- Large capacity - Has relationships - Concurrent access
38
Drawbacks of a file geodatabase
- Proprietary format to ArcGIS Pro
39
Benefits of a mobile geodatabase
- Single file - Has relationships - Portability - Full SQL support
40
Drawbacks of a mobile geodatabase
- Smaller capacity than .gdb - Also proprietary
41
Benefits of a ArcGIS Online distribution
- Can share a .ppkx - Control access
42
Drawbacks of a ArcGIS Online distribution
- Cannot directly upload .gdb or .geodatabase (but can indirectly within .ppkx)
43
What is a file geodatabase?
A collection of various types of GIS datasets held in a file system folder
44
What is a mobile geodatabase?
A collection of various types of GIS datasets contained within a relational database
45
What is an enterprise geodatabase?
A collection of various types of GIS datasets held as tables in a relational database
46
What are the size limits for each geodatabase?
Enterprise: Controlled by DBMS Mobile: 2 TB File: 1TB; can be raised to 4 or 256 TB