Jean-Max Reymond <jmreymond@gmail.com> writes:
> so the request run in 26.646 ms on the Sun and 0.469ms on my laptop :-(
> the database are the same, vacuumed and I think the Postgres (8.0.3)
> are well configured.
Are you sure they're both vacuumed? The Sun machine's behavior seems
consistent with the idea of a lot of dead rows in its copy of the table.
regards, tom lane