File structures fundations Flashcards
(56 cards)
File
A collection of related records, usually stored in a structured format.
Serial file organization
Records are stored one after the other, in the order they are entered.
Sequential file organization
Records are stored in a sorted order based on a key field.
Indexed file organization
An index is used to enable fast access to records based on key values.
Hashed file organization
A hash function determines the storage location of a record.
Archives
Files or sets of files intended for long-term storage of records.
Records
Structured collections of related fields, similar to rows in a database table.
Field
The smallest unit of data, representing a single attribute or piece of information.
Blocks
The smallest unit of data transfer between secondary storage and memory.
Expanded record
A logical record that spans more than one block.
Blocking
The process of storing multiple logical records within a single block.
Blocking Factor
The number of logical records that can fit into one block.
Index
An auxiliary data structure that enables fast access to records using key values.
Indexing key
The field whose value is used to build and search the index.
Privileged key
A key field with a direct or optimized access mechanism.
Alternative key
A secondary field used for querying that is not the primary index.
Consecutive organization
Records are stored contiguously without gaps between them.
Non-consecutive organization
Records can start at arbitrary locations; blocks may not contain complete records.
Bucket
A logical grouping of one or more blocks for organizing records.
Key
A field used to identify, access, or sort records.
Bucket space
The physical storage space allocated to a bucket.
Bucket extent
The average number of records that can fit into a bucket.
Cell
A bucket smaller than a block, typically for compact storage.
Vector
A fixed-size collection of elements with a shared interpretation.