Re: long lasting select, no io nor cpu usage ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Franck Routier <franck(dot)routier(at)axege(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: long lasting select, no io nor cpu usage ?
Date: 2014-03-20 13:56:25
Message-ID: 2042.1395323785@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Franck Routier <franck(dot)routier(at)axege(dot)com> writes:
> I am doing a select, that did not finish after some 15 hours... Select
> is as follows:

> select * from sanact where sanact___rfovsnide = 'MYVERSION' order by
> sanactcsu;

> There is an index on sanact___rfovsnide and doing EXPLAIN shows it is used.
> Resulting dataset should be 1626000 rows.

> iostat shows 99.5% idle disks, almost no activity.
> top shows almost no cpu usage.

> Where should I be looking for a problem ?

pg_locks, probably.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Franck Routier 2014-03-20 14:07:31 Re: long lasting select, no io nor cpu usage ?
Previous Message Franck Routier 2014-03-20 13:51:45 long lasting select, no io nor cpu usage ?