File Structure
Indexing Structure
B-tree/B+tree
Query Processing
Query Optimizer
100

This method stores new file records at the end and requires a linear search to find a record.

Unordered file

100

This type of index has one entry per record in the data file and is typically used for secondary indexes.

Dense index

100

In this index type, all data record pointers exist only in the leaf nodes.

B+-tree

100

This basic operation retrieves specific rows from a table based on a condition.

SELECT

100

Most of modern DBMS use this type of optimizer that evaluates multiple plans and chooses the one with the lowest estimated cost.

CBO

200

In file storage, this term refers to the number of records that can be stored in one block.

Blocking factor

200

This multilevel indexing method reduces the number of block accesses by creating indexes over indexes.

Multi-level index

200

What happens in a B-tree when a node becomes more than half full after insertion?

Split

200

This method of join scans one relation entirely for each tuple of another relation.

Nested-loop join

200

This cost component includes disk reads and writes, and is often the most significant in query optimization.

I/O

300

A record that exceeds the size of a block and is split across multiple blocks is known as this.

Spanned record

300

What is the index blocking factor (Bfrᵢ) when the index entry size is 100 bytes and block size is 512 bytes?

5

300

In a B-tree of order p, how many children pointers can each node have at most?

p

300

This relational algebra operation is used to pick specific columns from a relation.

PROJECT

300

The ratio of selected records to total records in a file is called this.

Selectivity

400

In external hashing, this value determines the specific bucket a record is stored in.

Hash Key

400

What’s the maximum number of block accesses in a three-level multilevel index?

4 (3 + 1)

400

What structural property ensures that all leaf nodes in a B-tree or B+-tree are at the same level?

Balance

400

This sorting-based algorithm is often used to merge large datasets that don’t fit in memory.

Sort-merge

400

In cost-based optimization, this tree structure is used to execute relational algebra operations.

Query tree

500

This hashing method allows expansion by splitting blocks in linear order without a directory.

Linear Hashing

500

In multilevel indexing, this term refers to the number of index entries a single index block can hold and affects the number of index levels required.

fan-out (or index blocking factor)

500

Given a block size of 512 bytes, a data pointer size of 7 bytes, and search field size of 9 bytes, what is the maximum number of data entries a B+-tree leaf node can hold?

31

500

In query processing, this brute-force method checks every record in a file for a condition.

Linear Search

500

In cost-based optimization, this system catalog information includes details like the number of records, average row length, and number of blocks.

Catalog (Metadata)

M
e
n
u