Re: bitmap-index-scan slower than normal index scan

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: bitmap-index-scan slower than normal index scan
Дата
Msg-id 20070712050631.GA2729@a-kretschmer.de
обсуждение исходный текст
Ответ на Re: bitmap-index-scan slower than normal index scan  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список 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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Estimating WAL volume
Следующее
От: Craig James
Дата:
Сообщение: pg_restore causes 100