Re: Out of free buffers... HELP!
| От | darcy@druid.net (D'Arcy J.M. Cain) |
|---|---|
| Тема | Re: Out of free buffers... HELP! |
| Дата | |
| Msg-id | 20010918112236.2E90F1A6F@druid.net обсуждение исходный текст |
| Ответ на | Out of free buffers... HELP! ("Diehl, Jeffrey" <jdiehl@sandia.gov>) |
| Ответы |
Re: Out of free buffers... HELP!
|
| Список | 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 по дате отправления: