Techniques for estimating the progress of database queries are described
herein. In a first implementation, a respective lower-bound parameter is
associated with each node in an operator tree that representing a given
database query, and the progress of the database query at a given point
is estimated based upon the lower-bound parameters. In a second
implementation, the progress of the query is estimated by associating
respective lower-bound and upper-bound parameters with each node in the
operator tree. The progress of the query at the given point is then
estimated based on the lower-bound and upper-bound parameters.