> Which would be expected, upon reading what fastupdate does. Slower > overall, but consistent. The widely differing diff apply times with > fastupdate=on would be due to both having to parse the regular index and > the temporary one, and it possibly hitting autovacuum or the work_mem > limit during diff processing, therefore triggering an immediate > consolidation of the index.
This is my understanding as well. >> This is the same positive change in behavior I saw when setting >> fastupdate=off in 9.0.2. > > So you imply that you saw the same gradual slowdown in 9.0.2 with > fastupdate=on? Yes. > My experiences with 9.0.2 could very well be biased, since I switched > from 8.4 to 9.0 the same time I started using more powerful hardware. > A.k.a. a 'real server' with a 10k rpm scsi raid0 instead of a single > disk sata desktop disk. :) > > However, I've also switched our NL test server from 8.4 to 9.0.2 soon > after, and that also feels a bit faster when processing diffs. That > virtual hardware hasn't changed. > >> My 8.4 db, on a SATA disk is now just better than 1:1 for applying >> hourly diffs, and my 9.0.2 db on SSD is about 4:1. (diff size to apply >> time) > > With minutely diffs, even when processing an hours worth > (maxInterval=3600), I think I never hit 1:1, even when on that SATA > desktop disk I mentioned earlier. I could always catch up, meaning diffs > would apply faster than the interval they represent. My 3.3Ghz desktop with 12GB of RAM with a 7.5krpm SATA disk never did much better than 1:1. Maybe 2:1 on off-peak hours, and just over 1:1 during Europe evening hours. > For those interested to try fastupdate=off, the manual says you can do > ALTER INDEX and then vacuum + rebuild the index. That saves you from > having to do a reimport with osm2pgsql. > > -- > Lennard > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev > > -- If you are flammable and have legs, you're never blocking a fire exit. -Mitch Hedberg _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

