pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brendan Duddridge <brendan@clickspace.com>
To: Jan de Visser <jdevisser@digitalfairway.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: App very unresponsive while performing simple update
Date: Wed, 31 May 2006 11:34:38 -0600
Message-ID: <5C36D400-CDCE-41D1-AD5F-EBF03E5F9656@clickspace.com> (raw)
In-Reply-To: <200605310834.44935.jdevisser@digitalfairway.com>
References: <961F6F02-4B00-494C-B071-6DF76A305C14@clickspace.com>
	<20060531062307.GG53487@pervasive.com>
	<09F270C9-7DF8-4574-AC70-CD7F9DA2C020@clickspace.com>
	<200605310834.44935.jdevisser@digitalfairway.com>

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
>





view thread (18+ messages)  latest in thread

Message-ID: <5C36D400-CDCE-41D1-AD5F-EBF03E5F9656@clickspace.com>
Permalink:  ../5C36D400-CDCE-41D1-AD5F-EBF03E5F9656@clickspace.com/
Also on:    postgresql.org/message-id/5C36D400-CDCE-41D1-AD5F-EBF03E5F9656@clickspace.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: brendan@clickspace.com, jdevisser@digitalfairway.com
  Subject: Re: App very unresponsive while performing simple update
  In-Reply-To: <5C36D400-CDCE-41D1-AD5F-EBF03E5F9656@clickspace.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox