From: Michael Orlitzky Date: Thu, 15 Apr 2010 02:40:19 +0000 (-0400) Subject: ANALYZE the blocks table after it is created. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fcensus-tools.git;a=commitdiff_plain;h=ebe7b7fbc792372f531fc11e14fa1c1dc8551da2 ANALYZE the blocks table after it is created. --- diff --git a/sql/combine-block-tables.sql b/sql/combine-block-tables.sql index a9dccd9..229cd66 100644 --- a/sql/combine-block-tables.sql +++ b/sql/combine-block-tables.sql @@ -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;