Fundamentals of Database Systems

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Get a hint
Hint

Relational Algebra

Get a hint
Hint

The basic set of operations for the relational model that enables users to specify basic retrieval requests or queries.

Get a hint
Hint

Unary Relational Operations

Get a hint
Hint

Operations that involve a single relation, such as SELECT, PROJECT, and RENAME.

Card Sorting

1/64

Anonymous user
Anonymous user
flashcard set

Earn XP

Description and Tags

These flashcards cover essential vocabulary and concepts from Database Management Systems and Relational Algebra.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

65 Terms

1
New cards

Relational Algebra

The basic set of operations for the relational model that enables users to specify basic retrieval requests or queries.

2
New cards

Unary Relational Operations

Operations that involve a single relation, such as SELECT, PROJECT, and RENAME.

3
New cards

SELECT (σ)

An operation to select a subset of tuples from a relation based on a selection condition.

4
New cards

PROJECT (π)

An operation that keeps certain columns (attributes) from a relation and discards other columns.

5
New cards

RENAME (ρ)

An operation to change the names of attributes in a relation or change the entire relation name.

6
New cards

UNION (∪)

A binary operation that produces a relation including all tuples from two participating relations, eliminating duplicates.

7
New cards

INTERSECTION (∩)

A binary operation that produces a relation including all tuples that exist in both participating relations.

8
New cards

SET DIFFERENCE (-)

A binary operation that produces a relation including all tuples in one relation but not in another.

9
New cards

CARTESIAN PRODUCT (×)

An operation that combines tuples from two relations to form a relation containing every possible combination of tuples.

10
New cards

JOIN

An operation that combines related tuples from two or more relations based on a join condition.

11
New cards

EQUIJOIN

A type of join that uses equality comparisons in its join condition.

12
New cards

NATURAL JOIN

A join operation that automatically joins two relations based on attributes with the same names.

13
New cards

DIVISION

An operation that finds tuples in one relation that are associated with all tuples in another relation.

14
New cards

AGGREGATE FUNCTIONS

Functions that compute a summary from a collection of values, such as SUM, COUNT, and AVG.

15
New cards

GROUP BY

A clause that groups rows sharing properties so that aggregate functions can be applied to each group.

16
New cards

OUTER JOIN

A join operation that returns all records from one relation and the matched records from another, with NULLs in unmatched positions.

17
New cards

LEFT OUTER JOIN

A join that returns all records from the left relation and matched records from the right, filling with NULLs where no match exists.

18
New cards

RIGHT OUTER JOIN

A join that returns all records from the right relation and matched records from the left, filling with NULLs where no match exists.

19
New cards

FULL OUTER JOIN

A join that returns all records when there is a match in either left or right relation.

20
New cards

ORDER BY

A clause that specifies the order in which tuples in a result set should be presented.

21
New cards

WHERE

A clause used to specify the condition on the rows returned by a query.

22
New cards

HAVING

A clause that specifies conditions on groups created by the GROUP BY statement.

23
New cards

Subquery

A query nested inside another query, using the result of the first query as input for the second.

24
New cards

Tuple Relational Calculus

A non-procedural query language that defines queries based on what data is desired rather than how to obtain it.

25
New cards

Domain Relational Calculus

A non-procedural query language that focuses on the specific values of attributes rather than tuples.

26
New cards

QBE (Query By Example)

A query language that allows users to construct queries via examples of the desired results.

27
New cards

Aggregate Functions (COUNT, SUM, AVG)

Functions used to perform calculations on multiple rows of data, returning a single summary result.

28
New cards

Cascading SELECT

A process where multiple SELECT operations are applied in sequence to narrow down results.

29
New cards

Schema

The structure or organization of a database, including the definitions of tables and their attributes.

30
New cards

Data Type Compatibility

The requirement that the data types of attributes being operated upon are compatible when performing set operations.

31
New cards

Closure Property

The principle that the result of performing operations in relational algebra will always yield a relation.

32
New cards

Boolean Expression

An expression consisting of Boolean values that determine conditions in relational operations.

33
New cards

Relational Model

A way of structuring data using relations, typically implemented in table formats.

34
New cards

Database State

The collection of all data in a database at a particular time.

35
New cards

Business Logic

The underlying rules and processes that dictate how business operations function within a database.

36
New cards

Query Optimization

The process of rewriting a query to improve its efficiency and performance.

37
New cards

Normalization

The process of organizing data to minimize redundancy and improve data integrity.

38
New cards

Primary Key

An attribute or a set of attributes that uniquely identifies a tuple in a relation.

39
New cards

Foreign Key

An attribute that creates a link between two relations, referring to the primary key of another relation.

40
New cards

Transaction Management

The process of ensuring that database transactions are processed reliably and concurrently.

41
New cards

Concurrency Control

Techniques to ensure that database transactions are performed in a safe manner, maintaining data integrity.

42
New cards

Data Redundancy

The unnecessary duplication of data within a database.

43
New cards

Referential Integrity

A property that ensures that relationships between tables remain consistent.

44
New cards

Data Dictionary

A centralized repository of information about data, including schemas, data types, and relationships.

45
New cards

Entity-Relationship Model

A conceptual framework used to describe the data structures in a database, focusing on entities and their relationships.

46
New cards

Cardinality

The number of elements in a set or relation.

47
New cards

Entity

An object that exists and is distinguishable from other objects within the database.

48
New cards

Attribute

A characteristic or property of an entity.

49
New cards

Tuple

A single row in a relation, representing a set of related data.

50
New cards

Relation

A table in a database that consists of rows and columns.

51
New cards

Data Manipulation Language (DML)

A category of language used for adding, updating, and deleting data in a database.

52
New cards

Data Definition Language (DDL)

A category of language used for defining and modifying database schemas.

53
New cards

SQL

Structured Query Language, a standard programming language for managing relational databases.

54
New cards

Database Management System (DBMS)

Software that interacts with users, applications, and databases to capture and analyze data.

55
New cards

Backup and Recovery

The processes involved in creating copies of data for recovery in case of loss.

56
New cards

Data Warehousing

The storage of data in a central repository for analysis and reporting.

57
New cards

Business Intelligence

Technologies and strategies for analyzing data to support business decision-making.

58
New cards

End User

The person using the database system to input or retrieve data.

59
New cards

Data Integrity

The accuracy and consistency of stored data.

60
New cards

Performance Tuning

The process of optimizing a database system for speed and efficiency.

61
New cards

Database Schema

The logical structure of a database defined by a set of formulas or constraints.

62
New cards

View

A virtual table representing a subset of data from one or more tables.

63
New cards

Stored Procedure

A set of SQL commands that can be stored and executed as a single unit.

64
New cards

Trigger

Automated responses to certain events in a database.

65
New cards

Aggregate Function

A function that performs a calculation on a set of values and returns a single value.