Database Design and Management Flashcards

1
Q

What are some common relation databases?

A

-Oracle
-SQL Server
-Informix
-DB2
-PostgreSQL (open source)
-MySQL (open source)
-MongoDB (open source, noSQL)
-SQLite (open source)

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

What are the pros and cons of indexes?

A

Speeds up read speed, slows down write speed

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

What is a data dictionary?

A

A list with a description of tables, fields, and columns.

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

What is a data model?

A

A data model is an abstract model that organizes elements of data and standardizes how they relate to one another and to the properties of real-world entities.

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

What are the common field types?

A

-Short: integer from -32k to 32k
-Long: integer from -2.1B to 2.1 B
-Float: decimals with 6 digits of accuracy
-Double: decimals with 15 digits of accuracy
-Text: Alphanumeric characters
-Date: Date and time
-BLOB: Binary Large Object (stores geometry)
-GUID: Global Unique Identifier
-Raster: Allows raster to be saved in a field

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

What is a Primary Key (PK) and a Foreign Key (FK)?

A

-Primary Key: the main unique identifier field in a table
-Foreign Key: the field in another table that has the same value as the primary, so it knows which record relates from one table to another

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

What are the types of cardinalities?

A

-One-to-one (table join): one parcel has one owner
-One-to-many (relate): one parcel has many owners
-Many-to-one (table join): many parcels have the same owner
-Many-many (relate): many parcels have many owners

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

What are the destination and origin tables?

A

Origin table is joined to the destination table.

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

What is the difference between an achieve and a backup?

A

Backups are a short term safety net. Archives are saved on a completely different disc. An archive is a library of historic data. Backups are usually overwritten on a daily or weekly basis, archives are not.

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

What is the difference between incremental backups and full backups?

A

Full backups only happen once. Incremental backups only back up recent updates.

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

What is database compression?

A

In information theory, data compression, source coding, or bit-rate reduction is the process of encoding information using fewer bits than the original representation.

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

What is database transaction?

A

A transaction is a unit of work that is performed in its entirety on a database. Multiple SQL statements are run individually, but if they are part of a transaction, either all of the statements succeed or none of them succeed.

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

What is database normalization?

A

a process where organizes data and tables so it can be added and updated efficiently.

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