Indexing Flashcards
1
Q
Index
A
A data structure to speed up retrieval of information.
2
Q
Clustering
A
Data is rearranged to speed up searching. Not a true index.
Good for ranges.
Only one table allowed. Requires constant re-arranges.
3
Q
Hash
A
Associate a key with a hash function.
Worst-case perf is constant time
Good for equality tests
Not good for ranged tests
4
Q
Tree
A
Stores the key in a tree
Good for range tests
Bad for equality tests
5
Q
B-Tree
A
A type of self-balancing tree. Left to right increasing order
6
Q
Costs of indices
A
Larger space.
Time to create index.
Time to update index