pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: andrew@pillette.com
To: Adam PAPAI <wooh@wooh.hu>
Cc: pgsql-performance@postgresql.org
Subject: Re: SELECT * FROM table is too slow
Date: Sun, 16 Dec 2007 14:49:55 -0800
Message-ID: <200712162249.lBGMntO03918@pillette.com> (raw)

Adam PAPAI <wooh@wooh.hu> wrote ..
> Hi pgsql-performance,
> 
> I've a problem with the select * on a small table.
> 

I can think of two possibilities for such incredibly slow performance.

One: your table has not been VACUUMed for a long time and is full of dead tuples. Try VACUUM FULL on it, or CLUSTER on the most frequently used index.

Two: did you accidentally put the database on your floppy drive?



view thread (7+ messages)  latest in thread

Message-ID: <200712162249.lBGMntO03918@pillette.com>
Permalink:  ../200712162249.lBGMntO03918@pillette.com/
Also on:    postgresql.org/message-id/200712162249.lBGMntO03918@pillette.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: andrew@pillette.com, wooh@wooh.hu
  Subject: Re: SELECT * FROM table is too slow
  In-Reply-To: <200712162249.lBGMntO03918@pillette.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