Unit 1 - Databases Flashcards

(7 cards)

1
Q

What is a Database?

A

Any collection of data
Paper, spreadsheet, formal database

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

Goals of a Database

A

secure
consistent
integrity
maintained

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

Database Management System (DBMS)

A

Layer between users and data
Hides how data is stored
separates logic from data
backup/recovery
maintains constraints
role-based access

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

ACID

A

Atomicity - Transactions either happen fully or not at all
Consistency - The database is always in a valid state
Isolation - Concurrent accesses should stay independent
Durability - System failures don’t destroy the database

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

Schema

A

A description of the data model
Name of tables and columns

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

Instance

A

A snapshot of the database at a specific point in time

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

View

A

A piece of the database (or the result of a query) the user is shown

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