From: Sarah Hoffmann Date: Sun, 13 May 2012 08:50:08 +0000 (+0200) Subject: remove intermediate ANALYSE while indexing X-Git-Tag: v2.0.0~71^2~1 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/fd448170c5b5b8870d5e54f0622a8f151dceca34?hp=6d5c101a9e5443825728f3c2d21f5f3611222cdb remove intermediate ANALYSE while indexing Autovacuum does a much better job. --- diff --git a/utils/setup.php b/utils/setup.php index b40bad3a..4b60815c 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -431,11 +431,7 @@ $sOutputFile = ''; if (isset($aCMDResult['index-output'])) $sOutputFile = ' -F '.$aCMDResult['index-output']; $sBaseCmd = CONST_BasePath.'/nominatim/nominatim -i -d '.$aDSNInfo['database'].' -t '.$iInstances.$sOutputFile; - passthru($sBaseCmd.' -R 4'); - pgsqlRunScript('ANALYSE'); - passthru($sBaseCmd.' -r 5 -R 25'); - pgsqlRunScript('ANALYSE'); - passthru($sBaseCmd.' -r 26'); + passthru($sBaseCmd); } if ($aCMDResult['create-search-indices'] || $aCMDResult['all'])