From: Dave Cramer <pg@fastcrypt.com>
To: Phillip Mills <pmills@systemcore.ca>
Cc: Albe Laurenz <laurenz.albe@wien.gv.at>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Beginning tuning
Date: Wed, 7 Nov 2007 09:30:25 -0500
Message-ID: <9EBA6F47-5F7D-4A48-A31B-AB2B46256CB1@fastcrypt.com> (raw)
In-Reply-To: <dd0408e50711070624o943b344hc212bbb0b3f49f80@mail.gmail.com>
References: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com>
<Pine.BSO.4.64.0711061437540.6917@leary.csoft.net>
<D960CB61B694CF459DCFB4B0128514C287F772@exadv11.host.magwien.gv.at>
<dd0408e50711070516x42e614a6q7f9e20f5630ca600@mail.gmail.com>
<D960CB61B694CF459DCFB4B0128514C287F9A4@exadv11.host.magwien.gv.at>
<dd0408e50711070624o943b344hc212bbb0b3f49f80@mail.gmail.com>
On 7-Nov-07, at 9:24 AM, Phillip Mills wrote:
> On 11/7/07, Albe Laurenz <laurenz.albe@wien.gv.at> wrote:
> The problem statement is bad, because why is it a
> problem if the resources are not consumed?
>
> No, the statement is fine. It's a problem because it screws up
> capacity planning by introducing unpredictability regarding
> scaling. Since user transactions are mostly independent, our
> experience is that increasing CPUs from 1-through-4 gives
> approximately linear improvement. Adding more than 4 gives almost
> no improvement. It's not enough to say that today's performance
> requirements are met; it's also necessary to have some strategy for
> expansion.
>
> Since memory problems (other than outright failures) usually present
> as CPU and disk activity, we can eliminate that. It's not CPU,
> because that's where I'm trying to bottleneck and not getting
> there. So whether network or non-network, that leaves I/O. Which
> is why I started this conversation by asking about the I/O routines
> that I saw on the thread stacks.
>
> Kris gave me a useful answer to my actual question and I'll go on
> from there.
>
Well, if you haven't actually tuned/optimized your database/hardware
how can you make any of the above assumptions ? The number of CPU's on
a database machine does not usually correlate with database performance.
Dave
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: pg@fastcrypt.com, pmills@systemcore.ca, laurenz.albe@wien.gv.at
Subject: Re: Beginning tuning
In-Reply-To: <9EBA6F47-5F7D-4A48-A31B-AB2B46256CB1@fastcrypt.com>
References: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com> <Pine.BSO.4.64.0711061437540.6917@leary.csoft.net> <D960CB61B694CF459DCFB4B0128514C287F772@exadv11.host.magwien.gv.at> <dd0408e50711070516x42e614a6q7f9e20f5630ca600@mail.gmail.com> <D960CB61B694CF459DCFB4B0128514C287F9A4@exadv11.host.magwien.gv.at> <dd0408e50711070624o943b344hc212bbb0b3f49f80@mail.gmail.com> <9EBA6F47-5F7D-4A48-A31B-AB2B46256CB1@fastcrypt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox