37. The method of claim 36 , wherein setting the time limit comprises: predicting an execution time of a current plan for the SQL statement; and setting the time limit as a fraction of the predicted execution time.
36. The method of claim 34 , further comprising: setting a time limit for performing the self-correcting.