count with high allocation

From: paulo matadr <saddoness(at)yahoo(dot)com(dot)br>
To: GENERAL <pgsql-general(at)postgresql(dot)org>
Subject: count with high allocation
Date: 2010-04-07 14:11:41
Message-ID: 497357.69364.qm@web52502.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,
Monitoring "top" in database server , i could noticed an query with reserved 8GB on physical memory.

select count(field) from big_table 1 inner join big_table2...

There is the possibility of using another function with less memory allocation?
Is there a way to limit the memory usage of the count?

Paul

____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2010-04-07 14:26:13 Re: count with high allocation
Previous Message Sim Zacks 2010-04-07 14:11:04 Re: default grant