Re: Upgrade to dual processor machine?

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Henrik Steffen <steffen(at)city-map(dot)de>
Cc: Justin Clift <justin(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Upgrade to dual processor machine?
Date: 2002-11-12 17:22:54
Message-ID: Pine.LNX.4.33.0211111001270.22944-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

On Mon, 11 Nov 2002, Henrik Steffen wrote:

> > - How many clients simultaneously connecting to it?
> one webserver with max. 50 instances, approximately 10.000 users a day,
> about 150.000 Pageviews daily. All pages are created on the fly using
> mod_perl connecting to the db-server.

If you've got 50 simos, you could use more CPUs, whether your I/O bound or
not.

> > - What do the clients connect with? JDBC/ODBC/libpq/etc?
> I am using Pg.pm --- this is called libpq, isn't it?
>
> > - Have you configured the memory after installation of PostgreSQL, so
> > it's better optimised than the defaults?
> no - what should I do? Looking at 'top' right now, I see the following:
> Mem 1020808K av, 1015840K used, 4968K free, 1356K shrd, 32852K buff

Hey, what is the "cached" field saying there? Is the machine caching a
whole bunch or just a little? If it's caching a whole bunch, look at
increasing your shmmax shmall settings and then the shared buffers in
postgresql.conf for better performance.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vassil Kriakov 2002-11-12 17:27:34 Re: C++: get value for integral types?
Previous Message scott.marlowe 2002-11-12 17:19:59 Re: how do i insert a default value?

Browse pgsql-performance by date

  From Date Subject
Next Message Henrik Steffen 2002-11-12 19:22:29 Re: Upgrade to dual processor machine?
Previous Message Josh Berkus 2002-11-12 16:57:43 Re: Query performance discontinuity