pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Burgess, Freddie <FBurgess@Radiantblue.com>
To: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: PostgreSQL I/O bottleneck
Date: Sat, 23 Aug 2014 13:54:04 +1200
Message-ID: <53F7F43C.5020902@catalyst.net.nz> (raw)
In-Reply-To: <3BBE635F64E28D4C899377A61DAA9FE03F08FB66@NBSVR-MAIL01.radiantblue.local>
References: <3BBE635F64E28D4C899377A61DAA9FE03F08EA80@NBSVR-MAIL01.radiantblue.local>
	<3BBE635F64E28D4C899377A61DAA9FE03F08FB66@NBSVR-MAIL01.radiantblue.local>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 23/08/14 13:32, Burgess, Freddie wrote:
>
> Logged by:          Freddie Burgess
> Email address:     fburgess@radiantblue.com
> PostgreSQL version: 9.3.4
> Operating system:   Red_hat Linux 6.4
> Description:
>
> Server Monitoring is reporting the following problem on our Primary
> database server.
>
> Disk % of time device was busy Servicing a transfer request > 95% and
> outside all baselines for 15 mins
>
> No backup's were executed when this error was reported
>
> Does anyone know the possible causes for this i/o bottleneck to be reported?
>
>

On the basis of that single metric it is hard to be specific. There are 
a number of possibilities e.g:

- more users active at that time
- your database has grown so it is now > ram
- autovacuum cleaning up some tables

We are going to need to see a bit  more detail to help any more. E.g:

- reads or writes or both?
- wait time, queue length etc

..essentially detail from sar or iostat would be helpful.

Inspection of your postgres logs for the time period might be 
informative (especially if you've set log_min_statement_duration, 
log_connections etc).

BTW - this sounds like the sort of thing best discussed on the 
-performance list.

Cheers

Mark



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <53F7F43C.5020902@catalyst.net.nz>
Permalink:  ../53F7F43C.5020902@catalyst.net.nz/
Also on:    postgresql.org/message-id/53F7F43C.5020902@catalyst.net.nz

 · 

reply

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-bugs@postgresql.org
  Cc: mark.kirkwood@catalyst.net.nz, FBurgess@Radiantblue.com
  Subject: Re: PostgreSQL I/O bottleneck
  In-Reply-To: <53F7F43C.5020902@catalyst.net.nz>
  References: <3BBE635F64E28D4C899377A61DAA9FE03F08EA80@NBSVR-MAIL01.radiantblue.local> <3BBE635F64E28D4C899377A61DAA9FE03F08FB66@NBSVR-MAIL01.radiantblue.local> <53F7F43C.5020902@catalyst.net.nz>

* 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