From: Regina Obe Date: Mon, 24 Aug 2015 19:47:34 +0000 (+0000) Subject: updte loading data to include vacuumning and install missing indexes X-Git-Tag: 2.2.0rc1~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edbd39f450a8bc081549b8eb5f05856f1f37b233;p=postgis updte loading data to include vacuumning and install missing indexes git-svn-id: http://svn.osgeo.org/postgis/trunk@13995 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/installation.xml b/doc/installation.xml index 3cd870b66..155e0a650 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -1556,8 +1556,21 @@ SELECT 'debbie', declare_sect, pgbin, wget, unzip_command, psql, path_sep, If you don't edit this loader_platform table, it will just contain common case locations of items and you'll have to edit the generated script after the script is generated. - Then run the and SQL functions make sure to use the name of your custom profile. So for example to do the nation load using our new profile we would: + Then run the and SQL functions make sure to use the name of your custom profile and copy the scripts to a .sh or .bat file. So for example to do the nation load and one state using our new profile we would: SELECT Loader_Generate_Nation_Script('debbie'); + SELECT Loader_Generate_Script(ARRAY['MA'], 'debbie'); + + Run the generated scripts. + After you are done loading all data or at a stopping point, it's a good idea to analyze all the tiger tables to update the stats (include inherited stats) + SELECT install_missing_indexes(); +vacuum analyze verbose tiger.addr; +vacuum analyze verbose tiger.edges; +vacuum analyze verbose tiger.faces; +vacuum analyze verbose tiger.featnames; +vacuum analyze verbose tiger.place; +vacuum analyze verbose tiger.cousub; +vacuum analyze verbose tiger.county; +vacuum analyze verbose tiger.state; Converting a Tiger Geocoder Regular Install to Extension Model