Re: What can cause quick queries to run unusually slow?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: sfpug(at)postgresql(dot)org
Subject: Re: What can cause quick queries to run unusually slow?
Date: 2013-03-14 20:25:34
Message-ID: 5142323E.6050905@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug


> We run this query all day long. What are things that might cause it to
> take 1000 times longer than normal? It was not during our nightly
> backup or any other intensive scheduled task that I'm aware of.
> Autovacuum? Something else?

Lock-block is the obvious. That is, some other session had some of
those rows locked for writing, and was open for 1.6 minutes before
committing.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse sfpug by date

  From Date Subject
Next Message Brian Ghidinelli 2013-03-15 04:22:25 Re: What can cause quick queries to run unusually slow?
Previous Message Brian Ghidinelli 2013-03-14 16:07:48 What can cause quick queries to run unusually slow?