admin

ANALYZE

Samples table data to refresh planner statistics; estimates can remain approximate and change after sampling.

Formal Syntax & Structure

sql syntaxsql
ANALYZE bm_lab.items;

Working Example

Example Snippetsql
-- Disposable PostgreSQL lab only; see LAB.md.ANALYZE bm_lab.items;
SQL Reference