Re: Performance problems - Indexes and VACUUM

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Performance problems - Indexes and VACUUM
Дата
Msg-id 26785.1003329033@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Performance problems - Indexes and VACUUM  ("Josh Berkus" <josh@agliodbs.com>)
Ответы Re: Performance problems - Indexes and VACUUM  ("Josh Berkus" <josh@agliodbs.com>)
Список pgsql-sql
"Josh Berkus" <josh@agliodbs.com> writes:
> 1. INDEXES: I discovered, the hard way, a peculiar problem.  If you drop
> and re-create a table within the same transaction (in a function, for
> example) the indexes do not get dropped completely.

Kinda hard to believe; even if the old indexes were still around, they
wouldn't be considered to apply to the new table.  I think the problem
is something else.  Can you provide a reproducible example of what
you're seeing?

> runs in about 2 seconds right after a VACUUM.
>     Unfortunately, 6 hours after a VACUUM, the query bogs down.

What has been changing in the meantime?
        regards, tom lane


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

Предыдущее
От: Masaru Sugawara
Дата:
Сообщение: Re: Why would this slow the query down so much?
Следующее
От: Reiner Dassing
Дата:
Сообщение: Re: Triggers do not fire