Re: "append" takes a lot of time in a query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "append" takes a lot of time in a query
Дата
Msg-id 13354.1210342366@sss.pgh.pa.us
обсуждение исходный текст
Ответ на "append" takes a lot of time in a query  (Frank Dekervel <frank.dekervel@smartlounge.be>)
Список pgsql-performance
Frank Dekervel <frank.dekervel@smartlounge.be> writes:
> this turns this query in an append of a whole lot of seq scan/ index scan's.
> These scans are predictably quick, but the "append" takes 5 seconds (and the
> numbers of the scans do not add up to the append actual time)

It says 5 milliseconds, not 5 seconds.

> Does someone have an explanation / possible solution for this performance ?

Rethink your schema --- this is pushing the inheritance feature far
beyond what it's designed to do.

            regards, tom lane

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