Chapter 17: Indexing Structures

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/72

flashcard set

Earn XP

Description and Tags

These flashcards cover key concepts related to indexing structures in database systems as presented in the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

73 Terms

1
New cards

Index

An auxiliary file that makes searching for records in a data file more efficient.

2
New cards

Primary Index

An index defined on an ordered data file, where the file is ordered based on a key field.

3
New cards

Clustering Index

An index defined on an ordered data file with non-key fields, pointing to the first data block with distinct field values.

4
New cards

Secondary Index

An index that provides a secondary means of accessing a file, allowing duplicate values.

5
New cards

Dense Index

An index that contains an entry for every search key value in the data file.

6
New cards

Sparse Index

An index that has entries for only some search key values, usually for the first record in each block.

7
New cards

Access Path

The method by which an index enables access to data records.

8
New cards

Block Anchor

The first record in a block referenced by a primary index.

9
New cards

Multilevel Index

An index that consists of multiple levels of indexes, leading to an ordered file.

10
New cards

B-Tree

A type of search tree that maintains sorted data and allows for efficient insertion and deletion.

11
New cards

B+-Tree

A variation of B-Tree where all data pointers exist only at the leaf level.

12
New cards

Insertion Problem

The challenge of inserting new index entries into a B-Tree or B+-Tree without violating structure.

13
New cards

Deletion Problem

The challenge of deleting an entry from a B-Tree or B+-Tree while maintaining order.

14
New cards

Binary Search

A search algorithm used on index files to efficiently find pointers to file records.

15
New cards

Record Pointer

A pointer that directs to an individual record in the data file.

16
New cards

Disk Block

A unit of storage on disk that holds a fixed number of records.

17
New cards

Search Key Value

The value on which the database items are indexed.

18
New cards

Overflow Block

An additional block used when a data block is full and more records need to be added.

19
New cards

Dynamic Size Issue

A challenge faced when clusters of records expand beyond their allocated space.

20
New cards

Key Field

The specific field in a record that is used for ordering or indexing.

21
New cards

First-level Index

The initial index created, usually pointing to the data file.

22
New cards

Second-level Index

An index that points to the first-level index.

23
New cards

Key Sequential Reads

The ability to read records in the order of their keys.

24
New cards

Search Tree

A data structure that enables search operations through nodes and pointers.

25
New cards

Record

An individual entry in a data file, containing data values.

26
New cards

Ordered Data File

A data file that is arranged in a specific order based on key fields.

27
New cards

Non-key Field

Fields in a record that do not serve as the primary key but may still be indexed.

28
New cards

Key Value

The value assigned to a key field in a record.

29
New cards

Insertion Sequence

The order in which records are inserted into a B+-Tree.

30
New cards

Data File

The main file that contains actual records in the database.

31
New cards

Reorganization

The process of restructuring an index or data file to enhance performance.

32
New cards

Node

An element of a search tree, containing keys and pointers.

33
New cards

Underflow

A condition that occurs when a node has fewer keys than allowed after deletion.

34
New cards

Merge Operation

A process where two nodes are combined into one to maintain tree balance.

35
New cards

Pointer

A reference to records or nodes within an index or data structure.

36
New cards

Unique Value

A value that appears only once within a specific field across all records.

37
New cards

Duplicate Value

A value that appears multiple times within a specific field across records.

38
New cards

Input Operation

Inserting data or index entries into a structure.

39
New cards

Output Operation

Retrieving data or index entries from a structure.

40
New cards

Record Compression

A method to reduce the size of records in a data file.

41
New cards

Dynamic Indexing

The capability of an index structure to adjust size based on data volume.

42
New cards

Static Indexing

An index that does not change in size regardless of data adjustments.

43
New cards

Efficiency

The effectiveness and speed of operations performed on an index.

44
New cards

Database System

A software system to manage databases, including storage, retrieval, and update operations.

45
New cards

Insertion into B+-Tree

The process of adding a new value and restructuring tree nodes if necessary.

46
New cards

Deletion from B+-Tree

The process of removing a value, which may require tree adjustments.

47
New cards

Search Operation

The process of finding records in a data file using an index.

48
New cards

Multi-level Structure

An index setup with more than one level for optimal access paths.

49
New cards

Primary Key

A unique identifier for a record in a database table.

50
New cards

Candidate Key

A field that can potentially serve as a primary key.

51
New cards

Data Retrieval

The process of accessing and obtaining data from a database.

52
New cards

Index File

A file that contains index entries pointing to the locations of data records.

53
New cards

Field Value

The actual data stored in a specific field for a record.

54
New cards

Overflow Handling

Strategies implemented to manage excessive data beyond current storage.

55
New cards

Record Structure

The arrangement and organization of data fields within a single record.

56
New cards

Block Pointer

A reference to a specific disk block in a data file.

57
New cards

Lossy Structure

An indexing or organization method that may lose some efficiency or detail.

58
New cards

File Organization

The method in which records are stored and accessed within a data file.

59
New cards

Logical Structure

The abstract representation of data organization in a database.

60
New cards

Physical Structure

The actual storage format of data on disk.

61
New cards

Data Indexing Techniques

Methods used to create and manage indexes for efficient data access.

62
New cards

Key Distribution

The arrangement of key values in the index, affecting performance.

63
New cards

Positioning Strategy

The method by which records are stored and retrieved based on their order.

64
New cards

Retrieval Path

The sequence of operations followed to access a desired data record.

65
New cards

Buffer Management

The skill of managing temporary data storage for better index performance.

66
New cards

Data Integrity

Ensuring the accuracy and consistency of data within the database.

67
New cards

Concurrency Control

Methods to manage simultaneous operations in a database system.

68
New cards

Scalability

The ability of a system to handle growth and increased demand.

69
New cards

Metadata

Data that provides information about other data, facilitating indexing and retrieval.

70
New cards

Normalization

The process of organizing data to minimize redundancy.

71
New cards

Data Normalization Techniques

Strategies used to optimize database structure and indexing.

72
New cards

Key Clustering

The organization of records by grouping similar keys together.

73
New cards

Dynamic Record Organization

The adjustment of record placement based on changing data.