Re: Shared memory usage

From: "Max Zorloff" <zorloff(at)gmail(dot)com>
To: adamtaunowilliams(at)gmail(dot)com
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Shared memory usage
Date: 2007-08-27 13:18:19
Message-ID: op.txpy8trnll0p5y@1-rtt202dnf3uds.mshome.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On Mon, 27 Aug 2007 14:21:43 +0400, Adam Tauno Williams
<adamtaunowilliams(at)gmail(dot)com> wrote:

>> I have a postgres 8.0 and ~400mb database with lots of simple selects
>> using indexes.
>> I've installed pgpool on the system. I've set num_init_children to 5 and
>> here is the top output.
>> One of postmasters is my demon running some insert/update tasks. I see
>> that they all use cpu heavily, but do not use the shared memory.
>> shared_buffers is set to 60000, yet they use a minimal part of that. I'd
>> like to know why won't they use more?
>
> This just looks like the output of top; what is telling you that
> PostgreSQL is not using the shared memory? Enable statistics collection
> and then look in pg_statio_user_tables.

I have it enabled. How can I tell whether the shared memory is used from
the information in this table?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joseph S 2007-08-27 13:24:21 Re: EXPLAIN ANALYZE not considering primary and unique indices!
Previous Message A. Kretschmer 2007-08-27 12:55:56 Re: [ERROR] syntax error at end of input

Browse pgsql-performance by date

  From Date Subject
Next Message Bill Moran 2007-08-27 13:29:35 Re: Postgres performance problem
Previous Message GOERGLER Paul 2007-08-27 13:11:57 Bitmap Heap Scan before using index