Re: [HACKERS] LONG - Mailing list pgsql-hackers

From wieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] LONG
Date
Msg-id m11xGwt-0003kGC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [HACKERS] LONG  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] LONG
List pgsql-hackers
Bruce Momjian wrote:

> I disagree.  By moving to another table, we don't have non-standard
> tuples in the main table.  We can create normal tuples in the long*
> table, of identical format, and access them just like normal tuples.
> Having special long tuples in the main table that don't follow the
> format of the other tuples it a certain mess.  The long* tables also
> move the long data out of the main table so it is not accessed in
> sequential scans.  Why keep them in the main table?

    More  ugly  and  complicated (especially for VACUUM) seems to
    me, the we need an index on these  nonstandard  tuples,  that
    doesn't  see  the  standard  ones,  while the regular indices
    ignore the new long tuples. At least  if  we  want  to  delay
    reading of long values until they're explicitly requested.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] LONG
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] LONG