New Sparsity Advisor within AWM 10.2.0.3
I mentioned the other day that a new version of AWM was now available following the release of the 10.2.0.3 patch for Oracle Database 10g. One of the new features that this latest version of AWM comes with is the Sparsity Advisor.
I covered the PL/SQL Sparsity Advisor earlier in the year, but at the time it was fairly tricky to run and now the functionality has been incorporated directly into Analytic Workspace Manager. What both these things do - AWM is just a GUI front-end for the PL/SQL version - is works out for you which of your dimensions are sparse, which are dense, and it recommends the order that you should list the dimensions, something that can have a fairly significant influence on the time it takes to load and query your cube.
To take an example, when you create a cube, AWM defaults to making the time dimension dense, and the other dimensions sparse.

Looking at the Implementation Details tab, note how compression is pre-selected for you now, reflecting the fact that compression is now suitable for almost all cubes, and even if there's no benefit, there's virtually no downside either, hence Oracle's removal of the previous warning to only select it "for very sparse cubes".
The Sparsity Advisor is accessed by right-clicking on the cube, and selecting it from a menu.

A couple of points I noted. It's nice that it gives a dimension order as well, but of course when choosing this you need to bear in mind the balance between loading and querying - having time as the second-most fastest varying dimension is good for time-series queries, but might not be so smart when it comes to loading a new period's worth of data. Also, if you're putting all the data into a composite, the order is less of an issue anyway as you're actually dimensioning the underlying variables by the time dimension and the composite.
The other thing I noticed was that it had recommended partitioning, but by the top-most level of the time dimension, i.e. it'd create just one partition. Now as partitioning is mainly there to allow you to assign more than one CPU to the aggregation process, and to allow you to selectively aggregate just the partitions that receive new data, I can't really see the point of partitioning on this level - I'd have gone for month, or more likely, quarter, a good balance between improving load times and not having too much data in the topmost partition that I can't then pre-summarise. I wonder if this feature has been completed yet?
Anyway, the Sparsity Advisor is a pretty useful feature, and to implement the recommendations, you just hit the "Recreate Cube" button - AWM needs to rebuild the underlying variables and composite which means dropping your measures and recreating them, not something you'd do each week - and let AWM do the rest. Not bad.
If I get a chance, I'll try and cover the new forecasting and allocation features in a later blog.