Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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?

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group