---
title: "Planner / Optimizer — Database Glossary | Xata"
description: "The PostgreSQL component that analyzes a parsed query and generates an execution plan. Evaluates multiple strategies (sequential scan, index scan, join ..."
source: "https://xata.io/glossary/planner"
---

# Planner / Optimizer

PostgreSQL

The PostgreSQL component that analyzes a parsed query and generates an execution plan. Evaluates multiple strategies (sequential scan, index scan, join methods) and selects the one with the lowest estimated cost based on table statistics.

Related terms

[Query Plan](/glossary/query-plan)[Statistics Collector](/glossary/statistics-collector)

[← Back to glossary](/glossary)
