postgresql_16:7.2.1.1 Description
PostgreSQL 16 > Reference > PostgreSQL Client Applications > clusterdb > Description
clusterdb is a utility for reclustering tables in a PostgreSQL database. It finds tables that have previously been clustered, and clusters them again on the same index that was last used. Tables that have never been clustered are not affected.
clusterdb is a wrapper around the SQL command (see postgresql_16:7.1.49). There is no effective difference between clustering databases via this utility and via other methods for accessing the server.