Introduction Flashcards

1
Q

What is a database?

A

Collection of data that conforms with a data model (eg relational data model)

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

What is a database management system?

A

Software designed to store, manage, and facilitate access to databases.

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

What are the differences between a file system and DBMS?

A
  1. Disk Space and Buffer Management
  2. Efficient Data Access
  3. Concurrent Access and Crash Recovery
  4. Application/Query Development Time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a data model?

A

A collection of concepts for describing data.

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

What is a schema?

A

A description of a particular collection of data, using a given data model.

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

What are the 3 levels of abstraction for databases?

A
  1. External schema (views) that describe how users see the data.
  2. Conceptual (Logical) scheme that defines logical structure (Relation scheme)
  3. Physical Schema describes the files and indexses used. (unordered files etc)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is logical data independence?

A

Protection from changes in the logical structure of data (between views and conceptual schema)

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

What is physical data independence?

A

Protection from changes in physical structure of data (between conceptual and physical schema).

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

Which changes faster: the DB application or the platform?

A

The rate of change of DB applications is incredibly slow and thus the platorm changes faster.

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

Wthat are 3 types of file organizations used in DBMS?

A

Heap files, sorted files, clustered files

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

What are 3 typesof indexes used in DBMS?

A

B-tree, Hash, and Inverted

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

What is ACID?

A

Atomicity (write after lock)

Consistent (IC)

isolation (locking protocol)

Durability (write after lock)

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

What are the 5 layers of an RDBMS?

A
  1. Query Optimization and Execution
  2. Relational Operators
  3. File and Access Methods
  4. Buffer Management
  5. Disk Space Management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which layers must consider concurrency control and recovery?

A

File and Access Methods

Buffer Mangement

Disk Space Management

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

Why not always use DBMS?

A

1- Expensive/complicated to set up and maintain

  1. General-purpose; not suited for all tasks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly