Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: sloooow query - Mailing list pgsql-performance

From Tom Lane
Subject Re: sloooow query
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: sloooow query  ("Marie G. Tuite" <[email protected]>)
Responses Re: sloooow query
Re: sloooow query
List pgsql-performance
"Marie G. Tuite" <[email protected]> writes:
> I pg_dumped the first database having performance problems and reloaded it
> into a new database on the same server.  The query ran normally when I
> reloaded it.  There is no difference in hardware, schema or anything else.

Have you done an ANALYZE or VACUUM ANALYZE in either database?  The
statistics the planner is working from seem to be quite different
in the two plans.

            regards, tom lane

pgsql-performance by date:

Previous
From: Robert Treat
Date:
Subject: Re: sloooow query
Next
From: Justin Clift
Date:
Subject: Re: sloooow query