Final Vocabulary Flashcards
row store
store next to each other
- traditional way
- disk -> files -> pages -> records
unordered heap files
records in no order
pid
page id
- the pages in a file
rid
record id
- the records on a page
- <page id, slot number>
storage hierarchy
primary storage, secondary storage, tertiary storage
primary storage
main memory (RAM) for currently used data
secondary storage
disk for the main database
tertiary storage
tapes for archiving older versions of the data
disk blocks
the unit data is stored and retrieved in
platter
circular hard surface on which data is stored by inducing magnetic changes
spindle
axis responsible for rotating platters
disk head
mechanism to read or write data
disk arm
moves to position a head on a desired track of the platter
track
circular path on surface of disk
block size
unit of read or write (aka page)
sectors
a part of the track
access time equation
rotational delay + seek time + transfer time
rotational delay
block under head
seek time
move head to right radius
transfer time
read time
buffer manager
responsible for bringing pages from disk to main memory as needed
buffer replacement policies
LRU, clock
sequential flooding
situation caused by LRU policy and repeated sequential scans
heap file as linked list
header page with one path for full pages and another path for pages with free space
heap fie as page directory
each entry for a page keeps track of page availability and number of free bytes
index
a data structure that organized records of a table to speed up retrieval
search key
attribute or combination of attributes used to retrieve the records (the filter)
index entries
two forms
- contains record and key
- contains key and pointer to record