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

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 (view raw or flat)
Thread:
Lists: pgsql-announcepgsql-hackerspgsql-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

pgsql-announce by date

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

pgsql-hackers by date

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

pgsql-patches by date

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

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