[prev] 8 [next]

Cost Models (cont)

In developing cost models, we also assume:
  • a relation is a set of r tuples, with average size R bytes
  • the tuples are stored in b data pages on disk
  • each page has size B bytes and contains up to c tuples
  • the tuples which answer query q are contained in bq pages
  • data is transferred diskmemory in whole pages
  • cost of diskmemory transfer Tr/w is very high

[Diagram:Pics/scansortproj/file-struct0.png]