DBMS: File Organization, Relational Model, Algebra, Calculus, and Normalization

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/35

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering physical file organization, indexing techniques, relational model concepts, relational algebra operations, relational calculus, and database normalization forms.

Last updated 4:33 PM on 10/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

36 Terms

1
New cards

Physical Data Organization

The method that defines how logical data models (such as tables) are physically stored and mapped to hardware blocks on storage devices to optimize disk I/O performance, storage efficiency, and query speed.

2
New cards

Block (Page)

The basic unit of physical storage used by a DBMS, containing multiple records, transferred between secondary storage and main memory in a single I/O operation to reduce disk accesses.

3
New cards

Heap File Organization

An unordered file structure in which records are placed wherever free space is available, enabling fast insertions but slower search times due to full file scans.

4
New cards

Hashed File Organization

A file organization technique that uses a mathematical hash function on a key to determine record storage locations, offering fast exact-match searches but poor efficiency for range queries.

5
New cards

Primary Index

An ordered file of fixed-length records with two fields: the first is the primary key of the data file, and the second is a pointer to the corresponding disk block address.

6
New cards
<p>Dense Index</p>

Dense Index

An indexing structure in which an index record is created for every search-key value present in the database, offering fast lookups at the expense of higher storage overhead.

7
New cards
<p>Sparse Index</p>

Sparse Index

An indexing technique where index records appear for only some search-key values, storing a block address for a range of records to minimize index space and maintenance overhead.

8
New cards

Clustering Index

An index created on an ordered data file ordered by a non-primary key column, where records sharing the same key value are grouped together and pointed to by the index as a cluster.

9
New cards
<p>Secondary Index</p>

Secondary Index

A multi-level indexing structure that divides search ranges into multiple tiers, keeping first-level mapping small enough for primary memory while storing lower levels on secondary storage.

10
New cards
<p>Pile File Method</p>

Pile File Method

A sequential file organization method operating on a first-come, first-served basis, where incoming records are automatically appended to the end of the file in the order they arrive.

11
New cards

Sorted File Method

A sequential file organization technique where records are maintained in sorted order by a key or attribute, inserting newly arrived records directly into their sorted position.

12
New cards

Tuple

The formal relational model term for a single row in a relation, representing a set of related attribute values for a specific entity.

13
New cards

Relational Schema

A formal description specifying the relation name and its list of attributes, denoted as R(A1,A2,…,An)R(A_1, A_2, \dots, A_n).

14
New cards

Domain Constraints

Rules specifying that the value assigned to each attribute in a tuple must be an atomic value belonging to that attribute's defined data type and valid range.

15
New cards

Entity Integrity Constraint

A relational constraint stating that no attribute comprising the primary key of a relation can contain a null value.

16
New cards

Referential Integrity Constraint

A constraint between two tables specifying that a foreign key value in one table must match an existing primary key value in the referenced table or be null.

17
New cards

Candidate Key

A minimal super key capable of uniquely identifying every tuple in a relation without any redundant attributes.

18
New cards

Foreign Key

An attribute or set of attributes in a relation that matches the primary key of another relation to enforce referential consistency between tables.

19
New cards

Relational Algebra

A procedural query language that prescribes a step-by-step sequence of operations using relational operators to compute query results.

20
New cards

Select Operation (σ\sigma)

A unary relational algebra operation denoted by σ\sigma that filters and retrieves a subset of tuples meeting a defined condition predicate.

21
New cards

Project Operation (π\pi)

A unary relational algebra operation denoted by π\pi that selects specified columns from a relation, discarding all other attributes and eliminating duplicate rows.

22
New cards

Cartesian Product (×\times)

A binary relational algebra operation that combines each tuple from one relation with every tuple from a second relation, creating all possible cross combinations.

23
New cards

Rename Operation (ρ\rho)

A relational algebra operator denoted by ρ\rho used to alter the name of a resulting relation or its attributes.

24
New cards

Relational Calculus

A non-procedural declarative query language based on predicate logic that describes what data to retrieve without specifying the procedural steps to fetch it.

25
New cards

Tuple Relational Calculus (TRC)

A non-procedural calculus expressed as {T∣P(T)}\{T \mid P(T)\}, where the filtering variable ranges over tuples of a relation that satisfy the predicate P(T)P(T).

26
New cards

Domain Relational Calculus (DRC)

A non-procedural calculus expressed as {a1,a2,…,an∣P(a1,a2,…,an)}\{a_1, a_2, \dots, a_n \mid P(a_1, a_2, \dots, a_n)\}, where the filtering variables range over attribute domains rather than complete tuples.

27
New cards

Normalization

The formal database design process of decomposing larger tables with data redundancy into smaller, well-structured relations to eliminate modification anomalies.

28
New cards

Insertion Anomaly

A database anomaly occurring when a user cannot insert a new tuple into a table because certain required unrelated data is unavailable.

29
New cards

Deletion Anomaly

A database anomaly occurring when the deletion of certain data unintentionally causes the loss of other essential, unrelated information.

30
New cards

Update Anomaly

A database anomaly where modifying a single data value requires updates across multiple duplicate records, risking inconsistencies if some rows are missed.

31
New cards

First Normal Form (1NF)

A normal form condition requiring that every column of a table holds only atomic, indivisible values, prohibiting composite or multivalued attributes.

32
New cards

Second Normal Form (2NF)

A normal form condition requiring a relation to be in 1NF and ensure that all non-key attributes are fully functionally dependent on the primary key, eliminating partial dependencies.

33
New cards

Third Normal Form (3NF)

A normal form state requiring a relation to be in 2NF with no transitive dependencies for non-prime attributes, such that for every non-trivial X→YX \rightarrow Y, XX is a super key or YY is a prime attribute.

34
New cards

Boyce-Codd Normal Form (BCNF)

A stricter version of 3NF where every functional dependency X→YX \rightarrow Y requires the determinant XX on the left-hand side to be a super key.

35
New cards

Fourth Normal Form (4NF)

A normal form requiring that a table is in Boyce-Codd Normal Form (BCNF) and possesses no multi-valued dependencies.

36
New cards

Fifth Normal Form (5NF)

A normal form requiring that a table is in 4NF and contains no join dependencies, ensuring that every valid table decomposition can be joined losslessly.