From: amrit@health2.moph.go.th
To: pg@fastcrypt.com
Cc: PGsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Low Performance for big hospital server ..
Date: Mon, 3 Jan 2005 22:40:05 +0700
Message-ID: <1104766805.41d96755a40d9@webmail.moph.go.th> (raw)
In-Reply-To: <41D9525D.3000409@fastcrypt.com>
References: <1104634472.41d762681b548@webmail.moph.go.th>
<20050102140828.GA21826@pobox.com>
<1104683293.41d8211d62221@webmail.moph.go.th>
<41D827C1.3050707@fastcrypt.com>
<1104717243.41d8a5bb9cb9b@webmail.moph.go.th>
<41D9525D.3000409@fastcrypt.com>
> I realize you may be stuck with 7.3.x but you should be aware that 7.4
> is considerably faster, and 8.0 appears to be even faster yet.
There are a little bit incompatibility between 7.3 -8 , so rather difficult to
change.
> I would seriously consider upgrading, if at all possible.
>
> A few more hints.
>
> Random page cost is quite conservative if you have reasonably fast disks.
> Speaking of fast disks, not all disks are created equal, some RAID
> drives are quite slow (Bonnie++ is your friend here)
>
> Sort memory can be set on a per query basis, I'd consider lowering it
> quite low and only increasing it when necessary.
>
> Which brings us to how to find out when it is necessary.
> Turn logging on and turn on log_pid, and log_duration, then you will
> need to sort through the logs to find the slow queries.
In standard RH 9.0 , if I enable both of the log [pid , duration] , where could
I look for the result of the log, and would it make the system to be slower?
Amrit
Thailand
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: amrit@health2.moph.go.th, pg@fastcrypt.com
Subject: Re: Low Performance for big hospital server ..
In-Reply-To: <1104766805.41d96755a40d9@webmail.moph.go.th>
* 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