Re: Used Memory

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: "Christian Paul B(dot) Cosinas" <cpc(at)cybees(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Used Memory
Date: 2005-10-25 03:06:43
Message-ID: 435DA143.3050100@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Christian Paul B. Cosinas wrote:
> Hi To all those who replied. Thank You.
>
> I monitor my database server a while ago and found out that memory is used
> extensively when I am fetching records from the database. I use the command
> "fetch all" in my VB Code and put it in a recordset.Also in this command the
> CPU utilization is used extensively.
>
> Is there something wrong with my code or is it just the way postgresql is
> behaving which I cannot do something about it?
>
> I just monitor one workstation connecting to the database server and it is
> already eating up about 20 % of the CPU of database server.
>
> Which I think will not be applicable to our system since we have a target of
> 25 PC connecting to the database server most of the time.
>

Could you post the query and the output of EXPLAIN ANALYZE?

In addition, have you run ANALYZE on all the tables in that database ?
(sorry, have to ask :-) ....).

cheers

Mark

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Christian Paul B. Cosinas 2005-10-25 03:20:09 Re: Used Memory
Previous Message Christian Paul B. Cosinas 2005-10-25 02:39:51 Re: Used Memory