Re: Maximum transaction rate - Mailing list pgsql-general

From Tom Lane
Subject Re: Maximum transaction rate
Date
Msg-id 343.1236359740@sss.pgh.pa.us
Whole thread Raw
In response to Maximum transaction rate  (Jack Orenstein <jack.orenstein@hds.com>)
Responses Re: Maximum transaction rate  (Greg Smith <gsmith@gregsmith.com>)
Re: Maximum transaction rate  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
List pgsql-general
Jack Orenstein <jack.orenstein@hds.com> writes:
> The transaction rates I'm getting seem way too high: 2800-2900 with
> one thread, 5000-7000 with ten threads. I'm guessing that writes
> aren't really reaching the disk. Can someone suggest how to figure out
> where, below postgres, someone is lying about writes reaching the
> disk?

AFAIK there are two trouble sources in recent Linux machines: LVM and
the disk drive itself.  LVM is apparently broken by design --- it simply
fails to pass fsync requests.  If you're using it you have to stop.
(Which sucks, because it's exactly the kind of thing DBAs tend to want.)
Otherwise you need to reconfigure your drive to not cache writes.
I forget the incantation for that but it's in the PG list archives.

            regards, tom lane

pgsql-general by date:

Previous
From: Douglas J Hunley
Date:
Subject: Re: pgsql announce now on twitter
Next
From: Greg Smith
Date:
Subject: Re: Maximum transaction rate