Re: [GENERAL] Out of memory error on select

2005-04-05 Thread Greg Stark
Werner Bohl <[EMAIL PROTECTED]> writes: > Explain output: > "HashAggregate (cost=881509.02..881510.02 rows=200 width=20)" > " Filter: (count(*) > 1)" > " -> Seq Scan on lssi_base (cost=0.00..872950.68 rows=1711668 > width=20)" If this is just a one-time query just do set enable_hashagg = o

Re: [GENERAL] Out of memory error on select

2005-04-05 Thread Scott Marlowe
On Tue, 2005-04-05 at 16:04, Werner Bohl wrote: > I have a fairly large table (21M) records. One field of type varchar(16) > has some duplicate values, which I'm trying to identify. > Executing select dup_field from dup_table group by dup_field having > count(*) > 1 errs with Out of Memory error. S