Created
April 8, 2013 20:13
-
-
Save prafulfillment/5340077 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant-ubuntu-precise-32:~/planet$ osm2pgsql --slim -d gis -C 16000 --number-processes 3 ~/planet/planet-latest.osm.pbf | |
osm2pgsql SVN version 0.81.0 (64bit id space) | |
Using projection SRS 900913 (Spherical Mercator) | |
Setting up table: planet_osm_point | |
NOTICE: table "planet_osm_point" does not exist, skipping | |
NOTICE: table "planet_osm_point_tmp" does not exist, skipping | |
Setting up table: planet_osm_line | |
NOTICE: table "planet_osm_line" does not exist, skipping | |
NOTICE: table "planet_osm_line_tmp" does not exist, skipping | |
Setting up table: planet_osm_polygon | |
NOTICE: table "planet_osm_polygon" does not exist, skipping | |
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping | |
Setting up table: planet_osm_roads | |
NOTICE: table "planet_osm_roads" does not exist, skipping | |
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping | |
Allocating memory for sparse node cache | |
Out of memory for sparse node cache, reduce --cache size | |
Error occurred, cleaning up | |
vagrant@vagrant-ubuntu-precise-32:~/planet$ osm2pgsql --slim -d gis -C 16000 --number-processes 3 virginia.osm.bz2 | |
osm2pgsql SVN version 0.81.0 (64bit id space) | |
Using projection SRS 900913 (Spherical Mercator) | |
Setting up table: planet_osm_point | |
NOTICE: table "planet_osm_point" does not exist, skipping | |
NOTICE: table "planet_osm_point_tmp" does not exist, skipping | |
Setting up table: planet_osm_line | |
NOTICE: table "planet_osm_line" does not exist, skipping | |
NOTICE: table "planet_osm_line_tmp" does not exist, skipping | |
Setting up table: planet_osm_polygon | |
NOTICE: table "planet_osm_polygon" does not exist, skipping | |
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping | |
Setting up table: planet_osm_roads | |
NOTICE: table "planet_osm_roads" does not exist, skipping | |
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping | |
Allocating memory for sparse node cache | |
Out of memory for sparse node cache, reduce --cache size | |
Error occurred, cleaning up | |
vagrant@vagrant-ubuntu-precise-32:~/planet$ osm2pgsql --slim -d gis -C 1024 --number-processes 3 virginia.osm.bz2 | |
osm2pgsql SVN version 0.81.0 (64bit id space) | |
Using projection SRS 900913 (Spherical Mercator) | |
Setting up table: planet_osm_point | |
NOTICE: table "planet_osm_point" does not exist, skipping | |
NOTICE: table "planet_osm_point_tmp" does not exist, skipping | |
Setting up table: planet_osm_line | |
NOTICE: table "planet_osm_line" does not exist, skipping | |
NOTICE: table "planet_osm_line_tmp" does not exist, skipping | |
Setting up table: planet_osm_polygon | |
NOTICE: table "planet_osm_polygon" does not exist, skipping | |
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping | |
Setting up table: planet_osm_roads | |
NOTICE: table "planet_osm_roads" does not exist, skipping | |
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping | |
Allocating memory for sparse node cache | |
Out of memory for sparse node cache, reduce --cache size | |
Error occurred, cleaning up | |
vagrant@vagrant-ubuntu-precise-32:~/planet$ osm2pgsql --slim -d gis -C 512 --number-processes 3 virginia.osm.bz2 | |
osm2pgsql SVN version 0.81.0 (64bit id space) | |
Using projection SRS 900913 (Spherical Mercator) | |
Setting up table: planet_osm_point | |
NOTICE: table "planet_osm_point" does not exist, skipping | |
NOTICE: table "planet_osm_point_tmp" does not exist, skipping | |
Setting up table: planet_osm_line | |
NOTICE: table "planet_osm_line" does not exist, skipping | |
NOTICE: table "planet_osm_line_tmp" does not exist, skipping | |
Setting up table: planet_osm_polygon | |
NOTICE: table "planet_osm_polygon" does not exist, skipping | |
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping | |
Setting up table: planet_osm_roads | |
NOTICE: table "planet_osm_roads" does not exist, skipping | |
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping | |
Allocating memory for sparse node cache | |
Node-cache: cache=512MB, maxblocks=0*65537, allocation method=8192 | |
Mid: pgsql, scale=100 cache=512 | |
Setting up table: planet_osm_nodes | |
NOTICE: table "planet_osm_nodes" does not exist, skipping | |
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_nodes_pkey" for table "planet_osm_nodes" | |
Setting up table: planet_osm_ways | |
NOTICE: table "planet_osm_ways" does not exist, skipping | |
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_ways_pkey" for table "planet_osm_ways" | |
Setting up table: planet_osm_rels | |
NOTICE: table "planet_osm_rels" does not exist, skipping | |
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_rels_pkey" for table "planet_osm_rels" | |
Reading in file: virginia.osm.bz2 | |
Processing: Node(4720k 25.9k/s) Way(0k 0.00k/s) Relation(0 0.00/s)^[[C^[[C^[[C | |
Processing: Node(19533k 24.4k/s) Way(861k 1.39k/s) Relation(2342 43.37/s) parse time: 1475s | |
Node stats: total(19533767), max(1542983945) in 802s | |
Way stats: total(861130), max(140956694) in 618s | |
Relation stats: total(2342), max(1907350) in 54s | |
Committing transaction for planet_osm_point | |
Committing transaction for planet_osm_line | |
Committing transaction for planet_osm_polygon | |
Committing transaction for planet_osm_roads | |
Going over pending ways... | |
171026 ways are pending | |
Using 3 helper-processes | |
WARNING: Failed to fork helper processes 1. Trying to recover. | |
WARNING: Failed to fork helper processes 2. Trying to recover. | |
Helper process 0 out of 1 initialised | |
Process 0 finished processing 171026 ways in 345 sec | |
All child processes exited | |
171026 Pending ways took 345s at a rate of 495.73/s | |
Committing transaction for planet_osm_point | |
Committing transaction for planet_osm_line | |
Committing transaction for planet_osm_polygon | |
Committing transaction for planet_osm_roads | |
Going over pending relations... | |
0 relations are pending | |
Using 3 helper-processes | |
WARNING: Failed to fork helper processes 1. Trying to recover. | |
WARNING: Failed to fork helper processes 2. Trying to recover. | |
Process 0 finished processing 0 relations in 0 sec | |
All child processes exited | |
node cache: stored: 19533767(100.00%), storage efficiency: 50.00% (dense blocks: 0, sparse nodes: 19533767), hit rate: -197628123031806033952981016939538816172032.00% | |
Sorting data and creating indexes for planet_osm_point | |
Sorting data and creating indexes for planet_osm_polygon | |
Sorting data and creating indexes for planet_osm_roads | |
Sorting data and creating indexes for planet_osm_line | |
Stopping table: planet_osm_rels | |
Stopping table: planet_osm_ways | |
Stopping table: planet_osm_nodes | |
Stopped table: planet_osm_nodes in 0s | |
Building index on table: planet_osm_rels (fastupdate=off) | |
Building index on table: planet_osm_ways (fastupdate=off) | |
Stopped table: planet_osm_rels in 3s | |
Analyzing planet_osm_point finished | |
Analyzing planet_osm_polygon finished | |
Analyzing planet_osm_roads finished | |
Analyzing planet_osm_line finished | |
Copying planet_osm_point to cluster by geometry finished | |
Creating geometry index on planet_osm_point | |
Copying planet_osm_roads to cluster by geometry finished | |
Creating geometry index on planet_osm_roads | |
Creating osm_id index on planet_osm_roads | |
Creating indexes on planet_osm_roads finished | |
All indexes on planet_osm_roads created in 69s | |
Completed planet_osm_roads | |
Creating osm_id index on planet_osm_point | |
Creating indexes on planet_osm_point finished | |
All indexes on planet_osm_point created in 77s | |
Completed planet_osm_point | |
Copying planet_osm_polygon to cluster by geometry finished | |
Creating geometry index on planet_osm_polygon | |
Creating osm_id index on planet_osm_polygon | |
Creating indexes on planet_osm_polygon finished | |
All indexes on planet_osm_polygon created in 107s | |
Completed planet_osm_polygon | |
Copying planet_osm_line to cluster by geometry finished | |
Creating geometry index on planet_osm_line | |
Creating osm_id index on planet_osm_line | |
Creating indexes on planet_osm_line finished | |
All indexes on planet_osm_line created in 463s | |
Completed planet_osm_line | |
Stopped table: planet_osm_ways in 573s | |
Osm2pgsql took 2394s overall |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment