Re: Select * is very slow

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Thomas Kellerer" <spam_eater(at)gmx(dot)net>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Select * is very slow
Date: 2010-11-08 17:15:56
Message-ID: 4CD7DBEC02000025000373E2@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Thomas Kellerer <spam_eater(at)gmx(dot)net> wrote:
> Kevin Grittner, 08.11.2010 18:01:

>> I would add a request to see the output from `VACUUM VERBOSE
>> employee;`.

> Do you really think that VACCUM is the problem? If the OP only
> selects two columns it is apparently fast.
> If he selects all columns it's slow, so I wouldn't suspect dead
> tuples here.
>
> My bet is that there are some really large text columns in
> there...

That's something we can infer pretty well from the verbose output.

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Carey 2010-11-08 18:13:43 Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?
Previous Message Thomas Kellerer 2010-11-08 17:09:21 Re: Select * is very slow