From: Regina Obe Date: Thu, 14 Jul 2011 11:13:10 +0000 (+0000) Subject: document the install_missing_indexes function that is used as part of the upgrade... X-Git-Tag: 2.0.0alpha1~1207 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fad5c7c968ff0d60982de993aae60585f16463a;p=postgis document the install_missing_indexes function that is used as part of the upgrade process git-svn-id: http://svn.osgeo.org/postgis/trunk@7635 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/extras_tigergeocoder.xml b/doc/extras_tigergeocoder.xml index 1e434cc2e..38b7c21f0 100644 --- a/doc/extras_tigergeocoder.xml +++ b/doc/extras_tigergeocoder.xml @@ -230,6 +230,54 @@ SELECT * FROM addresses_to_geocode WHERE rating is not null; + + + Install_Missing_Indexes + + Finds all tables with key columns used in geocoder joins and fitler conditions that are missing used indexes on those columns and will add them. + + + + + + boolean Install_Missing_Indexes + + + + + + + Description + + Finds all tables in tiger and tiger_data schemas with key columns used in geocoder joins that are missing indexes on those columns and will output the SQL DDL to + define the index for those tables. This is a helper function that adds new indexes needed to make queries faster that may have been missing during the load process. + This function is a companion to that in addition to generating the create index script, also executes it. + It is called as part of the update_geocode.sql upgrade script. + + + Availability: 2.0.0 + + + + + + + Examples + SELECT install_missing_indexes(); + install_missing_indexes +------------------------- + t + + + + + + + See Also + , + + + Loader_Generate_Script @@ -372,7 +420,7 @@ CREATE INDEX idx_tiger_data_ma_faces_countyfp ON tiger_data.ma_faces USING btree See Also - + ,