Hi, I don't know if osm2pgsql ended, because it stopped at this point with no error and RAM memory size decreased a lot but I'm not sure if the process finished: asked 23 Apr '14, 15:56 AnderOSM SomeoneElse ♦ |
When osm2pgsql is finished, it will report how long it took in seconds (e.g. Looking at what has completed the rendering tables are finished, but the slim tables that are used for updates and reduced memory usage for the import are still not finished in your screenshot. More specifically, a large GIN index is built on planet_osm_ways.nodes. At this point, osm2pgsql doesn't need memory or CPU, but PostgreSQL does, as it's doing the work of building the index. For future reference, if you are not planning on consuming diffs you can use the command line options answered 23 Apr '14, 19:23 pnorman I'm new with this so I understand that I shouldn't have rebooted the computer - PostgreSQL was working. Ok. It was a trial so I will delete the database and start over. But I don't understand what you say about --slim and --drop. I was doing a first import... I hadn't come to think about updating the data. Could you explain that to me? Thanks!
(23 Apr '14, 19:27)
AnderOSM
1
(27 Apr '14, 05:24)
pnorman
2
Thank you, finally I run the script a second time and, after 6.5 hours, I had all Spain's data imported.
(27 Apr '14, 23:54)
AnderOSM
|
How long has it been 'stopped'?
At least 1 hour. The file .osm.pbf was ~400 MB (only Spain).