Database Management Systems Lecture Notes

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

A set of practice flashcards covering key concepts from the lecture on database management systems.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

What is a database application?

Software that helps business users interact with database systems.

2
New cards

What is the role of a database administrator?

Responsible for securing the database system against unauthorized users, enforcing procedures for user access and database system availability.

3
New cards

What does authorization in a database context refer to?

Individual users are authorized to access specific data within the database, limited to specific tables, columns, or rows.

4
New cards

What is query optimization?

The process by which the query processor ensures the most efficient instructions are executed on the data.

5
New cards

What is the function of the storage manager?

Translates query processor instructions into low-level file-system commands that modify or retrieve data.

6
New cards

What does the transaction manager do?

Ensures transactions are executed properly, prevents conflicts between concurrent transactions, and restores the database to a consistent state after a failure.

7
New cards

What SQL statement is used to create a new table?

CREATE TABLE statement.

8
New cards

What is a tuple in a database context?

An ordered collection of elements enclosed in parentheses, representing a row of values.

9
New cards

What is data independence?

The principle that physical design never affects query results, allowing for improved query performance by changing data organization.

10
New cards

What does the ALTER TABLE statement do?

It adds, deletes, or modifies columns on an existing table.

11
New cards

What is a primary key?

A column or group of columns used to uniquely identify a row in a table.

12
New cards

How is a foreign key defined?

A column or group of columns that refers to a primary key in another table.

13
New cards

What is the purpose of the BETWEEN operator in SQL?

To determine if a value is between two other values.

14
New cards

What is the HAVING clause used for?

To filter group results after a GROUP BY clause in SQL.

15
New cards

What is an equijoin?

A join that compares columns of two tables using the = operator.

16
New cards

What is normalization?

The process of organizing data to reduce redundancy by decomposing tables.

17
New cards

What does a materialized view do?

Stores data for a view at all times, which must be refreshed when base tables change.

18
New cards

What is an artificial key?

A single-column primary key created when no suitable primary or composite key exists.

19
New cards

What is the purpose of an index in a database?

To quickly locate data and improve query performance.

20
New cards

What is the difference between a dense index and a sparse index?

A dense index contains an entry for every table row, while a sparse index contains an entry for every table block.