How to estimate disk space requirements for flex output in osm2pgsql 2.0.0? #2262
Unanswered
wcedmisten
asked this question in
Q&A
Replies: 1 comment
-
There are some numbers here in the manual. https://osm2pgsql.org/doc/manual.html#sizing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm running osm2pgsql with a flex output for the planet file (77GB PBF). I'm running this on a VPS with a mounted volume, where I pay by the GB. I'm wondering how much space PostgreSQL needs to run:
The flex output I'm using is meant to extract all restaurants (nodes, ways, or relations) from the planet.
I've done something similar by running
osmium tags-filter
withnwr/amenity=restaurant
and the output is only ~300MB. But now that I'm running osm2pgsql directly on the planet file, I'm trying to figure out how much disk space is needed to run osm2pgsql directly.Appendix
/osm2pgsql.lua
Beta Was this translation helpful? Give feedback.
All reactions