Re: Overload

From: peter pilsl <pilsl(at)goldfisch(dot)at>
To: Stefan Krompass <legend_wok(at)yahoo(dot)com(dot)hk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Overload
Date: 2005-04-17 01:08:33
Message-ID: 4261B711.3030103@goldfisch.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Stefan Krompass wrote:
>
Does PostgreSQL offer information
> on the additional workload (execution costs) caused by a query? In case
> it does not: Does anybody have an idea how I get an estimate for the
> execution costs before executing a query?

I cant add to you question, but two nightly thoughts:

i) if you SQL-server is tortured by some application, its very likely
that you have only a limited range of different select-types. You could
measure the exact costs manually and use this values for your problem.

ii) The workload might depend on you specific system, on your RAM,
harddisk etc. On one system CPU-speed might be the bottleneck, on
others the RAM and so on. And the cost for a query on your system is not
always the same. Depending on swap, cache and so on.
Maybe you should consider having a second SQL-server to lower load.

best,
peter

--
mag. peter pilsl
goldfisch.at
IT-management
tel +43 699 1 3574035
fax +43 699 4 3574035
pilsl(at)goldfisch(dot)at

In response to

  • Overload at 2005-04-15 15:34:16 from Stefan Krompass

Browse pgsql-general by date

  From Date Subject
Next Message Dino Vliet 2005-04-17 09:46:39 managing kernel
Previous Message Tony Caduto 2005-04-16 16:42:14 Announcment: PG Lighting Admin Pre-Release 6 available