]> gitweb.michael.orlitzky.com - dead/census-tools.git/commitdiff
ANALYZE the blocks table after it is created.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Apr 2010 02:40:19 +0000 (22:40 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 15 Apr 2010 02:40:19 +0000 (22:40 -0400)
sql/combine-block-tables.sql

index a9dccd98dfbfe6156a9db98852ba2df8050f03b7..229cd66ff8d00daa23dae47868627f86a5031339 100644 (file)
@@ -22,3 +22,6 @@ DROP TABLE tiger_blocks;
 
 /* We have to re-create the GiST index on the new table as well. */
 CREATE INDEX idx_geometry_gist ON blocks USING gist(the_geom);
+
+/* And generate some statistics. */
+ANALYZE blocks;