On Fri, Apr 5, 2013 at 9:55 AM, Franck Routier <franck.rout...@axege.com>wrote:
> Le 04/04/2013 21:08, Tom Lane a écrit : > Maybe the statistics tables for sandia and saneds are in a bad shape ? > (don't know how to check this). > > Regards, > > Franck > > Could this be caused by system table bloat? Also, can you check how long it takes to plan: 1. A query without a table at all (SELECT NOW()) 2. A query with an unrelated table Again, what version of PostgreSQL is this?