make option -C of command osm2psql adjustable

This commit is contained in:
Steffen Volkmann committed 2019-09-24 11:36:13 +02:00
1 parent c5a6462263
commit 33cd142850
3 files changed
+14 -2

No files matched your search

+12
View File
@@ -108,6 +108,18 @@ docker run \
run
```
### CACHE
The import and tile serving processes use 800 MB RAM cache by default, but this number can be changed by option -C. For example:
```
docker run \
-p 80:80 \
-e "OSM2PGSQL_EXTRA_ARGS=-C 4096" \
-v openstreetmap-data:/var/lib/postgresql/10/main \
-d overv/openstreetmap-tile-server \
run
```
### AUTOVACUUM
The database use the autovacuum feature by default. This behavior can be changed with `AUTOVACUUM` environment variable. For example: