Re: Extended customizing, SQL functions,

Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>

From: Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
To: pgsql@mohawksoft.com
Cc: Bruno Wolff III <bruno@wolff.to>, pgsql-hackers@postgresql.org
Date: 2004-06-02T21:08:23Z
Lists: 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 information is a
    pgsql> value. To get this value they must perform SELECT
    pgsql> sum(field) FROM table. Well, this simply does not
    pgsql> scale. They've used a trigger system with a small summary
    pgsql> table where they update, the number in the sumary
    pgsql> field. That works fine, except, that after a few thousand
    pgsql> updates, the SELECT time takes 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