[prev] 70 [next]

Query Cost for MA.Hashing (cont)

Min query cost occurs when all attributes are used in query

Min Costpmr  =  1

Max query cost occurs when no attributes are specified

Max Costpmr  =  2d  =  b

Average cost is given by weighted sum over all query types:

Avg Costpmr  =  ∑Q pQi ∉ Q 2di

Aim to minimise the weighted average query cost over possible query types