BSO database, calc performance or size management

What to do if the size of your database is getting close to your storage limit, or the performance of a calculation is becoming less optimal because it is running over too many blocks, here is a tip to see where the blocks are in your BSO application.

From the Database Properties the total block count:

In the Statistics tab I can get the total blocks:

Existing Level 0 blocks 3993261      

Existing upper level blocks 132785678

Identifying exactly where all these blocks lie can be a process of elimination, but It can be as simple as the calculation script below where I have just fixed on the scenario dimension and run the script diagnostics. I don’t even have to deploy it, doing the script diagnostics from Calc Manager is all that’s needed. If you change it though you’ll have to save it to take effect.

Actual: 30,572,617

Actual: 87,639,648

I can make the FIX statements as focussed as I like. This will help me identify where I want to remove blocks. To see how many upper level blocks there are I can take the difference from the level zero from the total.

Actual: 1,326,759

Actual: 331,234

 Level 0UpperTotal
Total Blocks3,993,261132,785,678136,778,939
AOP251,326,75929,245,85830,572,617
Budget_Recut_25331,23487,308,41487,639,648
Other Scenarios2,335,26816,231,40618,566,674

From this I can easily see that where there are a lot of upper level blocks to get the best clear.

Leave a Comment