Re: Suggestions on an update query

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Suggestions on an update query
Дата
Msg-id dcc563d10710292219h414a607ft9e719b33e1981b0d@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Suggestions on an update query  ("Campbell, Lance" <lance@uiuc.edu>)
Список pgsql-performance
On 10/29/07, Campbell, Lance <lance@uiuc.edu> wrote:
> Thanks for all of your help. The problem was that the result_entry table
> had some constraints that pointed to a third table.  When I removed
> those constraints the performance was amazing.  The update took less
> than seven minutes to execute.  I did not even consider the fact that
> constraints to another table would impact the performance.

Usually you can put an index on the refrerenced key in the foreign
table to speed things up.

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

Предыдущее
От: "Luke Lonergan"
Дата:
Сообщение: Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: partitioned table and ORDER BY indexed_field DESC LIMIT 1