Re: Out of free buffers... HELP! - Mailing list pgsql-sql

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: Out of free buffers... HELP!
Date
Msg-id 20010918112236.2E90F1A6F@druid.net
Whole thread Raw
In response to Out of free buffers... HELP!  ("Diehl, Jeffrey" <jdiehl@sandia.gov>)
Responses Re: Out of free buffers... HELP!
List pgsql-sql
Thus spake Diehl, Jeffrey
> I have a large query that I'm trying to run, but it never finishes.  I
> get an error message and it quits.
> 
> I'm doing:
> 
> psql ids -c 'select src,dst,count(*) from brick* where src_port=135
> group by src,dst' > /tmp/135.dat

Hard to tell without knowing more but perhaps you need another table
instead of/in addition to this one that just tracks the counts.  You
can use a trigger to increment it.  If you only allow inserts this
should be easy.  Deletes are easy too.  Updates are a little trickier.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-sql by date:

Previous
From: Haller Christoph
Date:
Subject: Re: Out of free buffers... HELP!
Next
From: pkasimov@yahoo.com (Pasha)
Date:
Subject: Stored prosedure last run