admin
CLUSTER
Rewrites a table in index order once, using an exclusive lock. Subsequent writes do not maintain physical ordering.
Formal Syntax & Structure
sql syntaxsql
CLUSTER bm_lab.items USING items_code_idx;Working Example
Example Snippetsql
-- Disposable PostgreSQL lab only; see LAB.md.CLUSTER bm_lab.items USING items_code_idx;