Group By Rollup and other exotica

One of the topics I have wanted to research, but have never managed to find time to, is a performance comparison of Oracle OLAP technology and the SQL grouping extensions such as GROUP BY ROLLUP, GROUP BY CUBE and GROUP BY GROUPING SETS. I suppose for that mater I should also include conventional aggregate materialized view summaries, with query rewrite selecting the most appropriate summary for a given query. From a BI design point of view it intrigues me to determine what would have the best performance in the "summary" maintenance batch and what gives the best performance for user queries. And for added fun I could explore partitioning in rolled-up structures; for example if I range partition on date I could hash sub-partition on GROUPING_ID and potentially get a decent amount of partition elimination.

Chatting to a fellow Miracle Database Forum, Edinburgh (MDF-E, other conference abbreviations are available) delegate, Simon Kelsey, we discussed how a GROUP BY GROUPING SET materialized view could be used with query rewrite and I said I would look out a reference example. So here it is. This example comes from the Hobbs, Hillson, Lawande & Smith book, Oracle 10g Data Warehousing (page 417) and comes with a nice execution plan that clearly shows rewrite occurring. In reality, I think the only way I would use group by extensions is in materialized view definitions. Query rewrite hides the complex SQL (or at least "the difficult for a drag-n-drop tool") syntax from the user.

Off topic bit 1
I use the "free of charge" Statcounter on this blog - wordpress.com doesn't allow scripting so I can't get the referrers and search terms that I use to pickup on Blogger, but I do get the IP addresses and thus ISPs of my visitors. However until last week Statcounter only allowed 100 records in the log file. This has now been increased to 500 (just by reading a note on the Statcounter homepage and clicking a button)
Off topic bit 2
I made the deadline for submitting a proposal for the UKOUG conference - it's down to the peer judging now. I had thought about the grouping set paper, but I suspect that preparation time would be a bit too short for an ambitious subject such as that (given the other things I am involved in or likely to become involved in) but in the end went for a topic I can research without the need for a stonking great DW to build a few non-trivial examples.