pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Franck Routier <franck.routier@axege.com>
To: pgsql-performance@postgresql.org
Subject: long lasting select, no io nor cpu usage ?
Date: Thu, 20 Mar 2014 14:51:45 +0100
Message-ID: <532AF271.4040903@axege.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Hi,

I have a table (sanact) with 23.125.525 rows (and a hundred columns).
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 ?

Thanks in advance,

Franck

Attachments:

  smime.p7s (application/pkcs7-signature, 4.2K) download

view thread (5+ messages)  latest in thread

Message-ID: <532AF271.4040903@axege.com>
Permalink:  ../532AF271.4040903@axege.com/
Also on:    postgresql.org/message-id/532AF271.4040903@axege.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: franck.routier@axege.com
  Subject: Re: long lasting select, no io nor cpu usage ?
  In-Reply-To: <532AF271.4040903@axege.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