Re: [HACKERS] Volunteer: Large Tuples / Tuple chaining

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: wieck(at)debis(dot)com (Jan Wieck)
Cc: pgman(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian), Inoue(at)tpf(dot)co(dot)jp, christof(dot)petig(at)wtal(dot)de, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Volunteer: Large Tuples / Tuple chaining
Date: 1999-12-14 20:24:31
Message-ID: 16184.945203071@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

wieck(at)debis(dot)com (Jan Wieck) writes:
> I think that only a combination of LONG attributes and split
> tuples will be a complete solution.

If we can do a good job with long attributes, I really think we
will not need to have split tuples too.

You'd be able to put perhaps 400 LONG attributes into an 8K tuple,
more than that if they are float8 or int or bool attributes.
If someone needs tables with even more columns than that, they
could bump BLCKSZ up to 32K and quadruple the number of columns.

How many people are really going to be bumping into that limit?
Is it worth the work and reliability risk to support long tuples
for a few applications that are about three sigmas out on the bell
curve? I doubt it.

I think the effort this would take would be *much* more profitably
spent on tuning the LONG-attribute support. If we can make that
fast and robust, we will have very few complaints.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1999-12-14 20:52:50 Re: [HACKERS] [6.5.3] FATAL 1: my bits moved right off the end of the world!
Previous Message Tom Lane 1999-12-14 20:14:15 Re: [HACKERS] [6.5.3] FATAL 1: my bits moved right off the end of the world!