Database · Hard · ProHow does a cost-based optimizer choose a plan? Why do stale statistics cause bad plans?DatabasePerformanceStaff