pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: pgsql-performance@postgresql.org
Subject: Re: Server slowing down over time
Date: Mon, 14 Sep 2015 17:08:07 -0500
Message-ID: <55F74547.40505@BlueTreble.com> (raw)
In-Reply-To: <55E9879F.2060105@2ndquadrant.com>
References: <CAAc4+PaqPhWsFNwfuTupOn+TeFZ93zFp6-NTejB-OQq6zNOVjQ@mail.gmail.com>
	<55E9879F.2060105@2ndquadrant.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On 9/4/15 6:59 AM, Tomas Vondra wrote:
>> Finally, whatever causes the database to wait also causes the
>> Windows instance to slow down. But restarting Postgresql fixes
>> this as well.
>
> That's a bit strange, I guess. If you're not observing light CPU and I/O
> usage, then the instance should not be slow, unless there's something
> else going on - possibly at the virtualization level (e.g. another busy
> instance on the same hardware, some sort of accounting that limits the
> resources after a time, etc.)

I've experienced something similar on linux before. Database is slow, 
but neither CPU or IO is maxed. IIRC there was nothing disturbing in 
pg_locks either. I don't recall the server actually slowing down, but 
this would have been on something with at least 24 cores, so...

My suspicion has always been that there's some form of locking that 
isn't being caught by the tools.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com


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



view thread (5+ messages)

Message-ID: <55F74547.40505@BlueTreble.com>
Permalink:  ../55F74547.40505@BlueTreble.com/
Also on:    postgresql.org/message-id/55F74547.40505@BlueTreble.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Jim.Nasby@BlueTreble.com, tomas.vondra@2ndquadrant.com
  Subject: Re: Server slowing down over time
  In-Reply-To: <55F74547.40505@BlueTreble.com>

* 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