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: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ebe7b7fbc792372f531fc11e14fa1c1dc8551da2;p=dead%2Fcensus-tools.git 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;