The Worlds of Database Systems Flashcards

1
Q

DBMS

A

Database Management System

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

database

A

A collection of data that is managed by a DBMS.

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

schema

A

logical structure of data

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

relations

A

data organized as a table

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

SQL stands for?

A

Structure Query Language

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

XML stands for?

A

eXtensible Modeling Language

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

What is information integration?

A

Joining the information of many related databases into a whole.

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

Data Warehouse

A

Where information from many legacy databases is copied periodically, with the appropriate translation to a central database.

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

DML stands for?

A

Data Manipulation Language

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

DDL stands for?

A

Data definition language

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

What does the execution engine do?

A

The execution engine issues a sequence of requests for small pieces of data, typically records or tuples of a relation, to a resource manager that knows about data files (holding relations), the format and size of records in those files, and index files, which help find elements of data files quickly.

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

Overview of Query Processing

A

Using DML, interacts with DBMS. Doesn’t affect the schema of database but may change content.

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

Database management system components

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

What does buffer manager do?

A

Task is to bring approciate portions of data from secondary storage (disk) where it’s kept permanantly, to the main-memeory buffers.

Usually the page or “disk block” is the unit of transfer between buffers and disk.

Partition the available memory into buffers.

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

What is a transaction?

A

Way that queries and DML are grouped.

A transaction is a unit that must be executed atomically and in isolation from one another.

Any query or modificiation action can be a transaction by itself.

Must be durable.

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

What is durability?

A

The effect of any completed transaction must be preserved even if the system fails in some way right after completion of the transaction.

17
Q

Two major parts of transaction processor?

A
  1. concurrency-control manager
    * responsible for assuring atomacity and isolation of transactions*
  2. logging and recovery manager
    * responsability to preserve durability of transactions*
18
Q

What does storage manager do?

A

Job is to control the placement of data on desk and it’s movement between disk and main memory.

Keeps track of the location of files on the disk and obtains the block or blocks containing a file on request from the buffer manager.

19
Q

Components of data

A
  1. Data: contents of data itself
  2. Metadata: the database schema that describes structure of and constraints on database
  3. log records: info about recent changes of the database, supporting durability of the database
  4. statistics: info gathered and stored by DBMS
  5. indexes: data structures that support effecient access to data
20
Q

ACID Properties of Transaction

A

‘A’ - “atomicity” – the all-or-nothing execution of transactions

‘C’ “Consistency” - all databases have consistency contraints, or expectations about relationships among data elements. Transactions are expected to preserve the consistency of the database.

‘I’ - “isolation” – the fact that each transaction must appear to be executed as if no other transaction is executing at the same time

‘D’ “durability” - the condition that the effect on the database of a transaction must never be lost, once the tranaction is completed

21
Q
A