Re: Column oriented pgsql

From: John R Pierce <pierce(at)hogranch(dot)com>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Column oriented pgsql
Date: 2009-05-09 01:25:24
Message-ID: 4A04DB84.6060604@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joshua Tolley wrote:
> http://en.wikipedia.org/wiki/Column_oriented_database
> This has come up on the lists from time to time; the short answer is it's
> really hard.
>

indeed. among other issues is, just what order should those columns be
stored in? database tables have no implicit order, they are abstractly
unordered sets of rows. an index can impose an order but a given table
can have multiple indexes, and a given query can sort on most any
arbitrary thing it wants. and, say you are storing the columns sorted
by the primary key, how do you do inserts or updates that change this
order?

instead of one table with (key, v1, v2, v3) how about N tables, (k,v1),
(k,v2), (k,v3) ? or at least, one extra table with just the value
that you want columnar access to?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message bfriedman.postgresql 2009-05-09 01:47:48 Re: Column oriented pgsql
Previous Message Mag Gam 2009-05-09 01:09:54 Re: Column oriented pgsql