Re: SELECT * FROM table is too slow

From: andrew(at)pillette(dot)com
To: Adam PAPAI <wooh(at)wooh(dot)hu>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: SELECT * FROM table is too slow
Date: 2007-12-16 22:49:55
Message-ID: 200712162249.lBGMntO03918@pillette.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Adam PAPAI <wooh(at)wooh(dot)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?

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2007-12-17 08:52:16 Re: libgcc double-free, backend won't die
Previous Message James Mansion 2007-12-16 22:24:01 Re: libgcc double-free, backend won't die