-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
diff update takes > 6hrs. Is that normal ? #46
Comments
It's likely to little memory. Imposm makes random access to the diff and cache files and each diff operation will likely hit the disk if these files do not fit in memory (cached by the OS). How large are these files for a Europe import? |
The dif files for europe are about 30 MB. Should I have then > 24 GB ram for faster processing ? Or should I use a SSD ? |
I was talking about the cache files in /home/xxx/cachedir and /home/xxx/diffdir, but yes you will need IO (or free RAM for caching) for the database as well. |
ok. Its about 24 GB in the cache files en diffdir. |
Or use an other machine with 32GB for running imposm3 en keep the one with 8GB with the db on it ? |
Is postgis database still optimized after installing diffs? |
@tartakynov That's not really related to this issue, but the clustering degrades over time. |
Europe is already in my postgres db.
I use diff
I run for europe:
imposm3 diff
-cachedir='/home/xxx/cachedir'
-diffdir='/home/xxx/diffdir'
-mapping='/home/xxx/mapping_imposm3.json'
-connection postgis://xxx:xxx@xxx/osm_europe?sslmode=disable
The "Parsing changes, updating cache and removing elements" section took about 2hrs.
But the "Writing added/modified elements" section takes about 6 to 8 hrs.
Is that normal time behavior ?
I use Debian 7 ("wheezy") with 8GB ram / Intel(R) Core(TM) i7 CPU / 920 @ 2.67GHz
The text was updated successfully, but these errors were encountered: