<br><br><div class="gmail_quote">2009/10/23 Peter Childs <span dir="ltr"><<a href="mailto:pchilds@bcs.org">pchilds@bcs.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="gmail_quote"><br><div>No I'm using...</div><div><br></div><div>bzcat planet-latest.osm.bz2 | osmosis-0.31/bin/osmosis --read-xml file=/dev/stdin --write-pgsql database=map</div><div><br>
</div><div>and apparently CPU usage, (according to TOP, (Give or take))</div><div><br></div><div>osmosis 55%, postgres 15%, bzcat 12%</div><div><br></div><div>Can't believe it takes 4 times the resources to convert XML that it takes to decompress a file.....</div>
<br></div></blockquote></div><br>One of the thing that I do is to use the write-pgsql-dump task that is faster. Then importing data with the copy command is pretty fast. If you have a multicore machine, can you check the load for each processor? What is the percentage value for wa?<br>
<br>Emilie Laffray<br>