Re: Diagonal storage model - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Diagonal storage model
Date
Msg-id CAFjFpRcSkR_p6GWeHVpNPKL1kgOswv6t0FejcWvMc8xcBRDEDw@mail.gmail.com
Whole thread Raw
In response to Re: Diagonal storage model  (Marko Tiikkaja <marko@joh.to>)
Responses Re: Diagonal storage model  (Andrey Borodin <x4mmm@yandex-team.ru>)
List pgsql-hackers
On Mon, Apr 2, 2018 at 3:49 AM, Marko Tiikkaja <marko@joh.to> wrote:
> On Sun, Apr 1, 2018 at 3:48 PM, Konstantin Knizhnik
> <k.knizhnik@postgrespro.ru> wrote:
>>
>> I want to announce new model, "diagonal storage" which combines benefits
>> of both approaches.
>> The idea is very simple: we first store column 1 of first record, then
>> column 2 of second record, ... and so on until we reach the last column.
>> After it we store second column of first record, third column of the
>> second record,...
>
>
> I'm a little worried about the fact that even with this model we're still
> limited to only two dimensions.  That's bound to cause problems sooner or
> later.
>

How about a 3D storage model, whose first dimension gives horizontal
view, second provides vertical or columnar view and third one provides
diagonal view. It also provides capability to add extra dimensions to
provide additional views like double diagonal view. Alas! it all
collapses since I was late to the party.

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company


pgsql-hackers by date:

Previous
From: Dmitry Dolgov
Date:
Subject: Re: json(b)_to_tsvector with numeric values
Next
From: David Rowley
Date:
Subject: Re: [HACKERS] path toward faster partition pruning