Re: Much Ado About COUNT(*)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Much Ado About COUNT(*)
Date: 2005-01-13 03:50:57
Message-ID: 4863.1105588257@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-hackers pgsql-patches

Greg Stark <gsstark(at)mit(dot)edu> writes:
> I thought toast only handled having individual large columns. So if I have a
> 2kb text column it'll pull that out of the table for me. But if I have 20
> columns each of which have 100 bytes will it still help me? Will it kick in if
> I define a single column which stores a record type with 20 columns each of
> which have a 100 byte string?

Yes, and yes.

regards, tom lane

In response to

Browse pgsql-announce by date

  From Date Subject
Next Message Bruce Momjian 2005-01-13 04:15:58 Re: Much Ado About COUNT(*)
Previous Message Greg Stark 2005-01-13 03:19:18 Re: Much Ado About COUNT(*)

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-01-13 04:15:58 Re: Much Ado About COUNT(*)
Previous Message Greg Stark 2005-01-13 03:19:18 Re: Much Ado About COUNT(*)

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-01-13 04:15:58 Re: Much Ado About COUNT(*)
Previous Message Greg Stark 2005-01-13 03:19:18 Re: Much Ado About COUNT(*)