|
Cardinality feedback is good for similar plans with same execution steps, if the plan is different, the new plan steps cardinalities are still estimated figures only. For example; if Plan1 has actual cardinality collected, it does not mean you know Plan2 actual cost. plan2 has some execution steps that not exists in Plan1.
If you want to tune a SQL with original execution time 60 minutes, and you know it is not reasonable and you want to save your time of using Tosska SQLL Tuning Expert, you can set a user define time to terminate all SQL alternatives that run longer than this user defined time. For example, you expect your SQL can run and finish within 20 minutes, you can set 20 minutes as the termination time. So, the whole test run will speed up.
|
|