Forum OpenACS Development: Re: Postgres and index usage

Collapse
Posted by Malte Sussdorff on
Well, I dropped the index that i created and issued the same explain command again, and suddenly it didn't say "seq scan on parties" anymore. Really strange. Well, apparently the fault was on my side, so sorry for posting this. Though I still don't get it....
Collapse
Posted by Claudio Pasolini on
I have two (almost) identical servers running the same query: the first uses the index while the second scans sequentially one of the (big) joined tables.

I dropped and recreated the second db from a pg_dump of the first getting the same results.

Fortunately the first is the production server and so, after some unsuccesfull investigation, I decided to forget the problem.