From: Tom Lane <tgl@sss.pgh.pa.us>
To: Raphael Bauduin <raphael@be.easynet.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance "tests"
Date: Wed, 10 Apr 2002 11:37:03 -0400
Message-ID: <5607.1018453023@sss.pgh.pa.us> (raw)
In-Reply-To: <20020410130046.GB8153@raphael>
References: <20020410130046.GB8153@raphael>
Raphael Bauduin <raphael@be.easynet.net> writes:
> At some times, it seems to hang: it doesn't insert any rows for more
> than 10 seconds. At that time, the postmaster process takes 0%. Why is
> that?
At a guess, you're seeing the syncer daemon flushing a lot of dirty
kernel disk buffers out to disk, and thereby monopolizing disk I/O.
I haven't experimented too much with Linux, but on HPUX it's not
difficult for a sync() call to bring the system to its knees for many
seconds, if you've got application programs that have written a whole
lot of pages since the last sync.
> What's strange is that everything else hangs also! Would that be due
> to the CPU??
The CPU is free, but everything that wants to access disk is starved
for disk bandwidth ...
> ii postgresql 7.1.3-7 Object-relational SQL database, descended fr
If you're going to run tests on foreign-key performance, please use
7.2.*.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, raphael@be.easynet.net
Subject: Re: performance "tests"
In-Reply-To: <5607.1018453023@sss.pgh.pa.us>
References: <20020410130046.GB8153@raphael> <5607.1018453023@sss.pgh.pa.us>
* 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