MCPcopy Create free account
hub / github.com/awelm/simpledb / estimateScanCost

Method estimateScanCost

src/simpledb/TableStats.java:127–129  ·  view source on GitHub ↗

Estimates the cost of sequentially scanning the file, given that the cost to read a page is costPerPageIO. You can assume that there are no seeks and that no pages are in the buffer pool. Also, assume that your hard drive can only read entire pages at once, so if the last page of the table only ha

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

printJoinsMethod · 0.80

Calls 1

numPagesMethod · 0.45

Tested by 1