Re: App very unresponsive while performing simple update
От | Brendan Duddridge |
---|---|
Тема | Re: App very unresponsive while performing simple update |
Дата | |
Msg-id | 5C36D400-CDCE-41D1-AD5F-EBF03E5F9656@clickspace.com обсуждение исходный текст |
Ответ на | Re: App very unresponsive while performing simple update (Jan de Visser <jdevisser@digitalfairway.com>) |
Ответы |
Re: App very unresponsive while performing simple update
|
Список | pgsql-performance |
Hi Jan, That sounds like a great idea! How would you control the update to occur only every 10,000 transactions? Is there a trigger setting for that somewhere? Thanks, ____________________________________________________________________ Brendan Duddridge | CTO | 403-277-5591 x24 | brendan@clickspace.com ClickSpace Interactive Inc. Suite L100, 239 - 10th Ave. SE Calgary, AB T2G 0V9 http://www.clickspace.com On May 31, 2006, at 6:34 AM, Jan de Visser wrote: > On Wednesday 31 May 2006 02:29, Brendan Duddridge wrote: >> We'll probably have to write a process to update the click_count from >> querying our product_click_history table. > > How about an insert trigger on product_click_history which updates > click_count > every say 10000 transactions or so? > > jan > > -- > -------------------------------------------------------------- > Jan de Visser jdevisser@digitalfairway.com > > Baruk Khazad! Khazad ai-menu! > -------------------------------------------------------------- > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq >
В списке pgsql-performance по дате отправления: