Re: Slow Inserts on 1 table?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow Inserts on 1 table?
Дата
Msg-id 11746.1123001606@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Slow Inserts on 1 table?  ("John D. Burger" <john@mitre.org>)
Ответы Re: Slow Inserts on 1 table?  ("John D. Burger" <john@mitre.org>)
Список pgsql-general
"John D. Burger" <john@mitre.org> writes:
> The only annoyance is that the interface I use most often, Python's
> pgdb, runs everything in a transaction, and you can't analyze in a
> transaction.

Hm?  We've allowed ANALYZE inside a transaction for a long time.

The real solution to Dan's problem, of course, is to throw away the
cached plan for the FK check and re-plan it once the table sizes have
changed enough to invalidate the plan.  Neil Conway was working on
infrastructure for this, but it didn't get done in time for 8.1 ...
maybe it will be there in 8.2.

In the meantime, though, I don't see any mention in the thread of
exactly which PG version Dan is using.  If it's 8.0.0 or 8.0.1,
an update would probably help --- we tweaked the rules for never-yet-
vacuumed tables in 8.0.2.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with dropping a tablespace
Следующее
От: Tom Lane
Дата:
Сообщение: Re: feeding big script to psql