X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c186a4ead0b6fc903f2a6682315a85d676715bc7..55ca68671d495ad05559a010ae9884a7e2307be6:/utils/setup.php diff --git a/utils/setup.php b/utils/setup.php index cf465b15..871f6e04 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -107,7 +107,7 @@ $osm2pgsql = CONST_Osm2pgsql_Binary; if (!file_exists($osm2pgsql)) fail("please download and build osm2pgsql"); - passthru($osm2pgsql.' -lsc -O gazetteer -C 12000 --hstore -d '.$aDSNInfo['database'].' '.$aCMDResult['osm-file']); + passthru($osm2pgsql.' --tablespace-slim-index data --tablespace-main-index ssd --tablespace-main-data data --tablespace-slim-data data -lsc -O gazetteer -C 12000 --hstore -d '.$aDSNInfo['database'].' '.$aCMDResult['osm-file']); $oDB =& getDB(); $x = $oDB->getRow('select * from place limit 1');