Base organizations Flashcards
(47 cards)
Serial media
Physical storage device where records are stored one after another in sequence.
Serial organization
Storing records without any specific ordering or location criteria.
Physical deletion
The record is removed and subsequent records are physically shifted to fill the gap.
Logical deletion
The record is marked as deleted, leaving a gap in its place.
Update on constant-sized record
The content of the record is modified in-place without changing its size.
Update on non-consecutive record
If a sufficiently large gap exists elsewhere, the record is updated in that location.
Retrieval with identifying selective key
The system reads records sequentially until a matching record is found.
Distributed free space (DFS)
Reserved percentage of space in each bucket dedicated to updates, reducing the need to move records.
Gaps list
In-memory structure that tracks locations in the file with available space for insertions.
Compacting
Maintenance process of physically reorganizing records to eliminate gaps and restore density.
Overflow
Occurs when a record cannot be inserted in its sorted position due to lack of space.
Degeneration
Gradual growth of unsorted areas in a sequential organization due to repeated unsorted insertions.
Extended binary search
A binary search followed by scanning forward and backward to retrieve all matching records.
Overflow management (consecutive organization)
Uses a dedicated unsorted area for handling overflowed records.
Overflow management (non-consecutive organization)
Uses techniques like rotations, bucket interleaving, and cell partitions to manage overflow.
Overflow management - rotations
Moves records from a full bucket into a neighboring bucket with available space.
Overflow management - bucket interleaving
Reserves empty buckets during file creation for future overflow handling.
Overflow management - cell partitions
Adds an empty bucket directly after an overflowed bucket and stores excess records there.
Direct addressing organization
Each record is stored at a bucket whose address directly corresponds to the key value.
Absolute direct addressing
The key itself is used directly as the bucket address.
Relative addressing
A bijective function maps the key to a unique bucket address.
Transformation function
A non-reversible function that converts a key into a bucket address for hashing.
Synonymous keys
Different keys that result in the same bucket address under a specific hash function.
Homonymous keys
Identical key values that always map to the same bucket.