| From: | "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com> |
|---|---|
| To: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: bitmap-index-scan slower than normal index scan |
| Date: | 2007-07-12 05:06:31 |
| Message-ID: | 20070712050631.GA2729@a-kretschmer.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
am Wed, dem 11.07.2007, um 22:19:58 +0200 mailte Andreas Kretschmer folgendes:
> > Also, part of the problem here looks to be an overestimate of the number
> > of rows matching ab = 347735. It might help to increase the statistics
> > target for that column.
>
> I will try this tomorrow and inform you about the result. I've never
> done this before, i need to read the docs about this.
Okay, done, setting to 100 (thanks to mastermind) and now i got an Index
Scan using idx_ab with a total runtime: 0.330 ms.
Great, thanks. And yes, i will update soon...
Andreas
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Craig James | 2007-07-12 07:34:45 | pg_restore causes 100 |
| Previous Message | Greg Smith | 2007-07-12 03:10:36 | Estimating WAL volume |