Thanks for the reply!<br><br>Yes, I tweaked posgresql's config - I mad add a a little more to the shared buffer.<br><br>It just seems weird to me. I did a comparison yesterday between the old and new machine. The new is obviously very powerful, with a tuned postgresql, where as the old machine is on it's last legs and does not have the tweaked postgresql. By the time the old machine had completely finished the import (about 6 hours), the new machine hadn't even moved passed 'Reading file'.<br>
<br>I'll have a look in what you've said.<br><br>Thanks a lot for you help!<br><br>Regards,<br>Richard<br><br><div class="gmail_quote">2009/11/25 Martijn van Oosterhout <span dir="ltr"><<a href="mailto:kleptog@gmail.com">kleptog@gmail.com</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="im">On Wed, Nov 25, 2009 at 12:50 PM, Richard Ive <<a href="mailto:richard@xanox.net">richard@xanox.net</a>> wrote:<br>
> Hi All,<br>
><br>
> I've had an open street map database set up on a server for a while now.<br>
> I've just got two new servers that are much, much more powerful (16GB Ram.<br>
> Two quad cores..). What I'm trying to do is have the database on one<br>
> machine, and mapnik on the other.<br>
<br>
</div>Nice machine.<br>
<br>
Two things: you did tune postgresql a bit, at least increasing the<br>
shared buffers to several hundred MB, right?<br>
<br>
Secondly, you can get much more information about what's going on by<br>
logging into the DB and doing:<br>
<br>
select * from pg_stat_activity;<br>
<br>
Then you can see what it's doing. IIRC it's not unusual for loading a<br>
whole days diff to take several hours. If you're really worried, use<br>
strace to attach to the process and verify it's not doing anything (it<br>
should be reading/writing like crazy).<br>
<br>
Hope this helps,<br>
<font color="#888888">--<br>
Martijn van Oosterhout <<a href="mailto:kleptog@gmail.com">kleptog@gmail.com</a>> <a href="http://svana.org/kleptog/" target="_blank">http://svana.org/kleptog/</a><br>
</font></blockquote></div>