queries stop using indexes

Поиск
Список
Период
Сортировка
От Jonathan Vanasco
Тема queries stop using indexes
Дата
Msg-id 676FEFEB-6894-4747-AF8C-478EFEFB38A6@2xlp.com
обсуждение исходный текст
Ответы Re: queries stop using indexes  (Ragnar <gnari@hive.is>)
Список pgsql-general
I have a table with 15 cols , there is an joint index on 5 of them

there are ~15million records in the table, and it gets heavy  use via
update & insert

i recently noticed that after a day of use, the index is no longer
being respected in some/all queries and a seq scan on the table is used

i ran analyze, no change.
i ran vacuum analyze, no change.

i dropped the index, and recreated it -- its now used again.

this happened 3x already this week.

can anyone offer a suggestion?


// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -



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

Предыдущее
От: "Justin Dearing"
Дата:
Сообщение: Default value of column not respecting character length or domain restraints.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Default value of column not respecting character length or domain restraints.