Database Maintenance

maintenance.cluster()[source]

Executes CLUSTER and ANALYZE SQL commands on the database tables detected_source and assoc_source to re-order the data on the disk according to the Q3C spatial index. This should help with query performance.