Re: View based upon function won't use index on joins - Mailing list pgsql-performance

From Robert Haas
Subject Re: View based upon function won't use index on joins
Date
Msg-id 603c8f070911230847h50b06cbav6400201f6090ace6@mail.gmail.com
Whole thread Raw
In response to Re: View based upon function won't use index on joins  (Jonathan Foy <thefoy@gmail.com>)
List pgsql-performance
2009/11/20 Jonathan Foy <thefoy@gmail.com>:
> Shy of just throwing a trigger in the
> table to actually populate a second table with the same data solely for
> reporting purposes,

That's what I would do in your situation, FWIW.  Query optimization is
a hard problem even under the best of circumstances; getting the
planner to DTRT with a crazy schema is - well, really hard.

...Robert

pgsql-performance by date:

Previous
From: Jonathan Blitz
Date:
Subject: Re: Why is the query not using the index for sorting?
Next
From: Robert Haas
Date:
Subject: Re: Query times change by orders of magnitude as DB ages