Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Changing cost-based precompute % programatically

Joan Puig-OracleOct 5 2012 — edited Jan 17 2013
Hi Experts,

I'm trying to do some tests on how the OLAP cubes scale in size. I have a fact table with 7 days of data ( 20.87M rows) and two dimensions: time and location.

My plan is to get statistics from 7 and 14 days and 2 different aggregation levels by:

1.- Build the cube with precompute 20% (on both top and bottom)
2.- Check LOB sizes both in USER_SEGMENTS and the AW$XXX_AW table
3.- Change precompute to 40%
4.- Cube Complete refresh
5.- (2)
6.- Add 7 more days of data to the fact table
7.- (4)
8.- (2)
9.- Change precompute to 20%
11.- (4)
12.- (2)

The main problem is that this process will take a very long time, so I'd like to leave it running overnight (and not having to change the aggregation level manually using the AWM). To do this I need a way to change the cost-based aggregation precompute level within a SQL or PL/SQL script. Is this possible?

Thank you,

Joan
This post has been answered by Nasar Ali-Khan-Oracle on Oct 5 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 5 2012
Added on Oct 5 2012
2 comments
227 views