Re: Extended customizing, SQL functions, - Mailing list pgsql-hackers

From Sailesh Krishnamurthy
Subject Re: Extended customizing, SQL functions,
Date
Msg-id mjq1xkxllbs.fsf@cs.berkeley.edu
Whole thread Raw
In response to Re: Extended customizing, SQL functions,  (pgsql@mohawksoft.com)
List pgsql-hackers
>>>>> "pgsql" == pgsql  <pgsql@mohawksoft.com> writes:
   pgsql> The have a database of information that is coming in at a   pgsql> high speed regular basis. One bit of
informationis a   pgsql> value. To get this value they must perform SELECT   pgsql> sum(field) FROM table. Well, this
simplydoes not   pgsql> scale. They've used a trigger system with a small summary   pgsql> table where they update, the
numberin the sumary   pgsql> field. That works fine, except, that after a few thousand   pgsql> updates, the SELECT
timetakes a while. Then they have to   pgsql> vacuum constanty. It just seems like an ugly and wastefull   pgsql>
process.

Sounds like something that TelegraphCQ can do well ..

http://telegraph.cs.berkeley.edu 

-- 
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh




pgsql-hackers by date:

Previous
From: ivan
Date:
Subject: process num.
Next
From: Jonathan Gardner
Date:
Subject: Re: process num.