Re: How to optimize insert statements ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to optimize insert statements ?
Дата
Msg-id 9177.1185287609@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to optimize insert statements ?  ("Christian Leclerc" <cleclerc@ilog.fr>)
Ответы Re: How to optimize insert statements ?  ("Christian Leclerc" <cleclerc@ilog.fr>)
Список pgsql-novice
"Christian Leclerc" <cleclerc@ilog.fr> writes:
> I'm encountering a performance issue with insert statements.

It looks to me like your trigger is the entire cause of the slowness.
I think you would be well advised to get rid of it and use a serial
column (ie a sequence object) instead of a handmade, poorly performing
substitute for sequences.

            regards, tom lane

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

Предыдущее
От: "Christian Leclerc"
Дата:
Сообщение: How to optimize insert statements ?
Следующее
От: "Claude Chaloux"
Дата:
Сообщение: DEFERABLE vs. NOT DEFERABLE constraints