Patent ID: 7953728
Filing Date: 2011-05-31
Classification: G06F

Abstract:
1. A system, comprising: a non-transitory computer-readable medium storing instructions configured as receive logic to receive a first query having a soft time constraint and an acceptable nature of results constraint that specifies one of, whether a partial result is to be returned, and whether an approximate result is to be returned; an analytics logic to provide a predicted execution time for a query based, at least in part, on the acceptable nature of results constraint; and a constraint rewrite logic to selectively produce a rewritten query based on the first query, the rewritten query having a restricted result clause, where the restricted result clause depends, at least in part, on the predicted execution time and specifies one of, a number of rows to which row selection is to be limited by the rewritten query, and a sample percentage to which row selection is to be limited by the rewritten query.