Re: update from multiple rows

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: update from multiple rows
Дата
Msg-id 20050124064549.GA39811@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: update from multiple rows  ("adam etienne" <a_eti@hotmail.com>)
Список pgsql-sql
On Sun, Jan 23, 2005 at 11:36:11AM +0000, adam etienne wrote:

> In fact the computation is somewhat more complex than an average and the 
> data set is quite large... I did some test with view & triggers but it's 
> too slow..

Can you provide any more detail about the algorithm and the number
of rows that you might have to insert or update?  How did the test
triggers work?  If you used row-level triggers and if a trigger on
one row updated multiple rows, then you might have been updating
rows more times than necessary (once by explicit update and one or
more unnecessary times by triggers on other rows).

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


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

Предыдущее
От: Mihail Nasedkin
Дата:
Сообщение: Re: OID's
Следующее
От: Martin Schäfer
Дата:
Сообщение: How to find out programmatically whether a query on a view will use an index?