Re: Index Usage in View with Aggregates - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Index Usage in View with Aggregates
Date
Msg-id dcc563d10909170907y434cd7d6r5f9745963468155a@mail.gmail.com
Whole thread Raw
In response to Index Usage in View with Aggregates  (Ian Harding <harding.ian@gmail.com>)
List pgsql-general
On Thu, Sep 17, 2009 at 9:55 AM, Ian Harding <harding.ian@gmail.com> wrote:
> I have never had this particular problem in PostgreSQL, it seems to
> "just know" when queries can be "flattened" and indexes used.  I know
> that takes tons of work.  Thank you for that.
>
> Here's the Oracle question.
>
> http://stackoverflow.com/questions/1439500/oracle-index-usage-in-view-with-aggregates
>
> I suspect I have made some subtle mistake in changing that SQL into a
> view that is breaking Oracle's ability to know that an index can be
> used.  Any and all advice is appreciated.

You're far more likely to get a good answer on an oracle forum

pgsql-general by date:

Previous
From: Ian Harding
Date:
Subject: Index Usage in View with Aggregates
Next
From: Paul M Foster
Date:
Subject: Re: What kind of JOIN, if any?