Re: On columnar storage - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: On columnar storage
Date
Msg-id 20150614175427.GI133018@postgresql.org
Whole thread Raw
In response to Re: On columnar storage  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: On columnar storage  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> I wrote:
> > Another model that could be followed is expansion of inheritance-tree
> > references, which happens early in the planner.
> 
> Actually ... if you intend to allow column storage to work with inherited
> tables (and if you don't, you'd better have a darn good reason why not),
> I think you probably want to do this join insertion *after* inheritance
> expansion, so you can join child column stores only to the appropriate
> child heap table, and not to the entire inheritance tree.

Won't this cause issues to MergeAppend optimizations?

I guess we could have the join be of a new type that's transparent to
such optimizations but, you see, that seems complicated enough that I
want to avoid that ...

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: On columnar storage
Next
From: Tom Lane
Date:
Subject: Re: On columnar storage