X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/f1fe70656f88c558a6f4bf6a09adde4ef59487fb..ec86a972a241754b66be0a31e73ca7ca27bc51de:/docs/admin/Import-and-Update.md diff --git a/docs/admin/Import-and-Update.md b/docs/admin/Import-and-Update.md index 4cd46ffb..3d090597 100644 --- a/docs/admin/Import-and-Update.md +++ b/docs/admin/Import-and-Update.md @@ -124,14 +124,16 @@ The style can be changed with the configuration `CONST_Import_Style`. To give you an idea of the impact of using the different style, the table below gives rough estimates of the final database size after import of a 2018 planet and after using the `--drop` option. It also shows the time -needed for the import on a machine with 32GB RAM, 4 CPUS and SSDs. +needed for the import on a machine with 32GB RAM, 4 CPUS and SSDs. Note that +the given sizes are just an estimate meant for comparison of style requirements. +Your planet import is likely to be larger as the OSM data grows with time. style | Import time | DB size | after drop ----------|--------------|------------|------------ -admin | 5h | 189 GB | 20 GB -street | 42h | 396 GB | 174 GB -address | 59h | 497 GB | 251 GB -full | 80h | GB | GB +admin | 5h | 190 GB | 20 GB +street | 42h | 400 GB | 180 GB +address | 59h | 500 GB | 260 GB +full | 80h | 575 GB | 300 GB You can also customize the styles further. For an description of the style format see [the developement section](../develop/Import.md). @@ -141,7 +143,8 @@ style format see [the developement section](../develop/Import.md). **Important:** first try the import with a small extract, for example from [Geofabrik](https://download.geofabrik.de). -Download the data to import and load the data with the following command: +Download the data to import and load the data with the following command +from the build directory: ```sh ./utils/setup.php --osm-file --all [--osm2pgsql-cache 28000] 2>&1 | tee setup.log