Re: PG8.2.1 choosing slow seqscan over idx scan

Поиск
Список
Период
Сортировка
От Chad Wagner
Тема Re: PG8.2.1 choosing slow seqscan over idx scan
Дата
Msg-id 81961ff50701161444l3f932755m5a6e15ad2d948130@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG8.2.1 choosing slow seqscan over idx scan  ("Jeremy Haile" <jhaile@fastmail.fm>)
Ответы Re: PG8.2.1 choosing slow seqscan over idx scan  ("Jeremy Haile" <jhaile@fastmail.fm>)
Список pgsql-performance
On 1/16/07, Jeremy Haile <jhaile@fastmail.fm> wrote:
Even if unrelated, do you think disk fragmentation would have negative
effects?  Is it worth trying to defragment the drive on a regular basis
in Windows?

Out of curiosity, is this table heavily updated or deleted from?  Perhaps there is an unfavorable "correlation" between the btree and data?  Can you dump the results of

select attname, null_frac, avg_width, n_distinct, correlation from pg_stats where tablename = 'transaction_facts'




--
Chad
http://www.postgresqlforums.com/

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

Предыдущее
От: "Jeremy Haile"
Дата:
Сообщение: Re: PG8.2.1 choosing slow seqscan over idx scan
Следующее
От: "Jeremy Haile"
Дата:
Сообщение: Re: PG8.2.1 choosing slow seqscan over idx scan