Re: how could select id=xx so slow?

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Yan Chunlu <springrider(at)gmail(dot)com>
Cc: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: how could select id=xx so slow?
Date: 2012-07-12 02:20:26
Message-ID: 4FFE346A.7030402@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 07/12/2012 08:47 AM, Yan Chunlu wrote:
> Really sorry for the lack of information
I shouldn't have grumped like that either, sorry about that.

> I didn't mention the connections number because I don't think my app
> is that busy, and the large number connections was caused by slow queries.

Yep - assumptions are a killer like that.

Now you know to watch your system load with iostat, vmstat, top, etc and
to monitor your overall load.

--
Craig Ringer

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Yan Chunlu 2012-07-12 05:10:06 Re: how could select id=xx so slow?
Previous Message Craig Ringer 2012-07-12 01:41:54 Re: DELETE vs TRUNCATE explanation