Re: uh-oh

Поиск
Список
Период
Сортировка
От Philip Hallstrom
Тема Re: uh-oh
Дата
Msg-id 20060611172745.K95440@bravo.pjkh.com
обсуждение исходный текст
Ответ на uh-oh  (Tom Allison <tallison@tacocat.net>)
Ответы Re: uh-oh  (Tom Allison <tallison@tacocat.net>)
Список pgsql-novice
> I think I screwed up.
>
> I was running something in the background to update a table based on the jobs
> output (once every 1-10 seconds) and while that was running I created an
> index on the same table.
>
> Now that index is not used according to explain plans.
> It does show up when I type '\di'
> But I can't DROP INDEX.
>
> I think I'm in some trouble but I don't know how much.

Have you vacuum analyzed that table?  Maybe the statistics still think a
table scan is the best option?

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

Предыдущее
От: "Jaime Casanova"
Дата:
Сообщение: Re: SQL comments
Следующее
От: "Greg"
Дата:
Сообщение: Question about stored procedures