Re: varlena beyond 1GB and matrix

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>, PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: varlena beyond 1GB and matrix
Date: 2016-12-07 21:40:14
Message-ID: e64ad474-d5c9-3ada-5041-32e6d7cbe7c8@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/7/16 5:50 AM, Kohei KaiGai wrote:
> If and when this structure is fetched from the tuple, its @ptr_block
> is initialized to NULL. Once it is supplied to a function which
> references a part of blocks, type specific code can load sub-matrix
> from the toast relation, then update the @ptr_block not to load the
> sub-matrix from the toast multiple times.
> I'm not certain whether it is acceptable behavior/manner.

I'm glad you're looking into this. The 1G limit is becoming a larger
problem every day.

Have you considered using ExpandedObjects to accomplish this? I don't
think the API would work as-is, but I suspect there's other places where
we'd like to be able to have this capability (arrays and JSONB come to
mind).
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-12-07 21:41:37 Re: Indirect indexes
Previous Message Alex Hunsaker 2016-12-07 21:37:53 Re: Back-patch use of unnamed POSIX semaphores for Linux?