How a cost-based optimizer picks a query plan

Hard5 min read