The document discusses query optimization by describing how a database system estimates the cost of different query evaluation plans using statistical information about relations. It covers topics like estimating the size of selections, joins, aggregations and other operations to choose the lowest cost plan using transformations and equivalence rules.