Re:Pgsql: Support Grouping Sets, Cube, and Rollup
by ryanmarsh on Saturday May 16, 2015 @09:40AM
(#9556051)
So does this mean I could use pg instead is SSAS for cube analysis?
[ Parent
| on HN ]
Re:Pgsql: Support Grouping Sets, Cube, and Rollup
by notarget on Saturday May 16, 2015 @12:42PM
(#9556716)
SSAS and other cube (MOLAP) tools create persistent cubes as materialized views. Databases that do ROLAP processing create "cubes on the fly" which persist for the duration of the query.
If PG adopts a materialized view that supports controlled automatic maintenance, then you'd have something similar to what the MOLAP tools do.
Note that MOLAP is a trap of sorts (no pun intended).
Re:Pgsql: Support Grouping Sets, Cube, and Rollup
by ryanmarsh on Saturday May 16, 2015 @12:58PM
(#9556796)
What makes MOLAP a trap? I'm only generally acquainted with cube analysis.
Re:Pgsql: Support Grouping Sets, Cube, and Rollup
by felixgallo on Saturday May 16, 2015 @12:49PM
(#9556743)
Apart from the complexity of cube updating, why do you say that?
Re:Pgsql: Support Grouping Sets, Cube, and Rollup
by greggyb on Saturday May 16, 2015 @11:02AM
(#9556312)
You could before. The benefit of OLAP databases and other analytical engines is only partly due to the focus of the query languages. Storage format, and calculation engine requirements are vastly different between OLTP and OLAP.
While the constructs in the linked article increase the expressive power of SQL, they are more icing than cake for an OLAP load.