March 2018
Beginner to intermediate
584 pages
14h 31m
English
Use the following steps to cluster a table:
SELECT schoolid FROM caschools sc JOIN sfpoly sf ON ST_Intersects(sf.geom, ST_Transform(sc.geom, 3310));
Time: 80.746 ms
Time: 80.172 ms
Time: 80.004 ms
CLUSTER caschools USING caschools_geom_3310_idx;
Time: 57.880 ms
Time: 55.939 ms
Time: 53.107 ms
The performance improvements were not significant. ...