Hi Jeff, thank you for your response. I’m using Postgres 9.0 on MacMini because I’ve noticed that it’s quite fast compared to different Ubuntu machines on which I’ve worked with different (and more performant) hardware. The built-in Postgres version on OS X Server is impossible to update. I should stop it and install a parallel and independent distribution which has not been optimized by Apple. On opensource.appel.com they have different Postgres versions but the latest one is 9.2.x. They stopped updating it in 2012. pg_test_fsync tells me that T420 disk iops are ~7 times faster than MacMini, which is ok, but queries run ~2-5 times slower (for brevity I didn’t report all test results in my first mail). I’ve searched just now what a collation is because I’ve never explicitly used one before, so I think it uses the default one. B_2 query is of the form: WITH soggetti AS ( SELECT ... FROM ... GROUP BY ...) SELECT ... INTO ... FROM soggetti, ... WHERE ... (I omit the … part because they’re not relevant) Best regards, Pietro PS it’s the first time for me on this list so I don’t know if you read the other answers. I reported the postgresql.conf for both systems Il giorno 01/apr/2015, alle ore 18:38, Jeff Janes <jeff.janes@xxxxxxxxx> ha scritto:
|