| From: | "Alex Deucher" <alexdeucher(at)gmail(dot)com> |
|---|---|
| To: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
| Cc: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: bitmap-index-scan slower than normal index scan |
| Date: | 2007-07-11 20:01:58 |
| Message-ID: | a728f9f90707111301k57f54bddqa563728755957d75@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
On 7/11/07, Alex Deucher <alexdeucher(at)gmail(dot)com> wrote:
> On 7/11/07, A. Kretschmer <andreas(dot)kretschmer(at)schollglas(dot)com> wrote:
> > am Wed, dem 11.07.2007, um 14:52:01 -0400 mailte Alex Deucher folgendes:
> > > >Okay, i got a really different plan, but i expected _NOT_ a
> > > >performance-boost like this. I expected the opposite.
> > > >
> > > >
> > > >It's not a really problem, i just played with this. But i'm confused
> > > >about this...
> > > >
> > >
> > > your results are getting cached. try two queries in a row with the same
> > > plan.
> >
> > Thanks for the response, but I've done this, no difference.
> >
>
> try bumping up the default stats target on the table in question and
> see if that helps the planner choose a better plan.
>
and be sure to run analyze again.
Alex
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2007-07-11 20:04:33 | Re: bitmap-index-scan slower than normal index scan |
| Previous Message | Alex Deucher | 2007-07-11 20:01:30 | Re: bitmap-index-scan slower than normal index scan |