Re: Index Scan taking long time

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bryce Ewing <bryce(at)smx(dot)co(dot)nz>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Index Scan taking long time
Date: 2009-06-17 22:43:56
Message-ID: 5647.1245278636@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Bryce Ewing <bryce(at)smx(dot)co(dot)nz> writes:
> So it seems to me that once the index is in memory everything is fine
> with the world, but the loading of the index into memory is horrendous.

So it would seem. What's the disk hardware on this machine?

It's possible that part of the problem is table bloat, leading to the
indexscan having to fetch many more pages than it would if the table
were more compact.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Brian Cox 2009-06-17 22:49:39 Re: very slow selects on a small table
Previous Message Tom Lane 2009-06-17 22:29:29 Re: very slow selects on a small table