<p>Could be also Linux related. Phoronix has been talking about regression due to some modification in ext4. It could be due to this too.</p>
<p>Emilie Laffray</p>
<p><blockquote type="cite">On 6 May 2010 23:14, "Frederik Ramm" <<a href="mailto:frederik@remote.org">frederik@remote.org</a>> wrote:<br><br>Hi,<br>
<br>
    I had posted about performance problems with Postgres 8.4 in<br>
September last year already. With Ubuntu Lucid just released, which<br>
comes with 8.4 by default, I played around some more. Unfortunately I am<br>
still a little bit away from having systematic, comparable results, but<br>
I have the impression that importing updates with osm2pgsql is somehow<br>
buggy (performance-wise) in 8.4.<br>
<br>
I'm running this on a machine with SSD. With 8.3, the process was<br>
disk-bound despite SSD, which is what I would expect, after all there's<br>
not much to compute.<br>
<br>
With 8.4, a (large, ~ 1 day) test diff takes about four times as long to<br>
load. This is unacceptable and I will probably have go back to 8.3<br>
because of that until I can find out exactly what the problem is.<br>
<br>
When searching for possible reasons on the web, I found this message<br>
about Postgres 9.0 and irregularities with intarray index usage:<br>
<br>
<a href="http://osdir.com/ml/pgsql-hackers/2010-03/msg01035.html" target="_blank">http://osdir.com/ml/pgsql-hackers/2010-03/msg01035.html</a><br>
<br>
It could have *something* to do with what I am seeing, however I could<br>
not reproduce intarray operations being slower from within a function<br>
than from the command line.<br>
<br>
I'll investigate this further and report back with anything I find; for<br>
the time being just be warned that there are isolated indications of<br>
Postgres 8.4 being less suitable for OSM than 8.3. (I am largely<br>
ignorant of any changes between 8.3 and 8.4, and simply set my config<br>
options to the same I had been using with 8.3; it is possible that 8.4<br>
requires something to be configured differently to work.)<br>
<br>
I'd also be interested to hear from anyone who, despite this message,<br>
plays with 8.4 (or even 9.0 alpha) and has something to say.<br>
<br>
Bye<br>
Frederik<br>
<font color="#888888"><br>
--<br>
Frederik Ramm  ##  eMail <a href="mailto:frederik@remote.org">frederik@remote.org</a>  ##  N49°00'09" E008°23'33"<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</font></blockquote></p>