Week 5 - Databases Flashcards

1
Q

What is a database

A

-structured collection of non-redundant data which can be shared by different application systems.

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

models in order of increasing abstraction

A
  • Reality
  • Conceptual model
  • Logical Model
  • Physical Model
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is a DBMS

A

software package that allows for creation, storage, maintenance, manipulation and retrieval of large datasets
-in tabular form

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

Goespatial database management system

A
  • step up from DBMS additionally containing specific geographic information about each data point (line, polygon) such as identity, location, shape and orientation.
  • powerful tool to visualise and answer spatially explicit questions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Types of DBMS

A
  • File management system (flat database)
  • Hierarchical Database system
  • Relational DBMS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Flat file Database

A

-spredsheet

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

Hierarchical Database

A
  • organisational chart in hierarchies
  • easy to understand and conceptualise
  • efficient and fast access to data via key attributes
  • Not ideal for large data sets as it is difficult to modify.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Relational database

A
  • collection of tables that are connected by unique identifiers.
  • each column represents a particular attribute (e.g area, soil type) FIELDS
  • rows–> records
  • e.g subject info and student info tables both have school column
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Primary key

A

attributes of a table (column) used to uniquely identify each of the rows in a table.
- can’t be an attribute that produces duplicate values in the rows.

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

Foreign key

A

primary key that corresponds to an identical attribute in a secondary table.
-means of interconnecting data stored in different tables.

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

SQL

A

natural query language

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

Relational DBMS criteria

A
  • flexible in design and queries
  • simple and intuitive
  • minimize duplication
  • uses SQL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

a query selects rows in a table if ..

A

a condition is true

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

Boolean operators

A

combine conditions with logical expressions: AND, OR, NOT. Conjunctions to combine or exclude keywords in a search.
-given results are true or false

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

features in a Geodatabase are stored in which format?

A

relational database

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

what does a geodatabase contain?

A
  • Table (rows all contain the same fields)
  • Feature class (tables with shape fields (point, line polygon)
  • raster dataset
  • USI for each feature
17
Q

Joins

A

linking separate tables in relational DBMS

  • Joins: appends fields from one table to another based on a common attribute. Non-spatial data tables
  • Spatial join: combines feature information based on spatial location.
18
Q

Joins vs. relates

A
  • joins for suitable for 1-1 or many-1 relationships
  • joins present data from two two tables in readily available single output table.
  • relates are suitable for all relationships (1-many, many-many)
  • relate produced very large table.
19
Q

2 spatial query methods

A
  1. Coordinate: distance from a feature

2. topologyical relation (contained in, overlap, intersect)

20
Q

Join e.g

A

PARCEL table: multiple Parcel attributes (LotPlan ID, Code, Adress)

combined with

PARCEL OWNER table outlining parcel owner (1 attribute).

Many-1

21
Q

Centralised database

A

-physically confined to one location under the control of a single computer

22
Q

Distributed databse system

A

several systems at local sites connected by communication lines
-multiple databses

23
Q

Stage of increasing abstraction (which database model)

A
  • Proceeds conceptual model to a logical database model