114 • Developing Essbase Applications: Advanced Techniques for Finance and IT Professionals
always be exceptions to database behavior. Use the ideas presented here as guidelines
and not absolutes. is chapter is aimed squarely at the BSO developer or administra-
tor who knows the basics, but does not have a solid understanding of the underlying
technology; this is not a chapter for the novice BSO developer or administrator. BSO
is almost 20 years old and there are already numerous books, whitepapers, and online
resources that are terric when it comes to the basics. e chapter will appeal to:
• ose who want to understand the elements that impact database performance.
• Anyone who is confused with the plethora of BSO cache settings.
• ose who want to take advantage of the log messages while tuning calculations
• Anyone needing to eciently create data blocks in a calculation script.
• Administrators or developers seeking the “choke point” of a calculation script.
is chapter is full of ideas and examples that will encourage you to create ecient and
robust Essbase databases and inspire you to improve your existing calculation scripts.
It is absolutely critical that the reader have at least moderate administration experi-
ence with Essbase and, in particular, with BSO. In addition, it will be helpful to be very
familiar with Essbase Administration Services (EAS) and how to view application logs
and database statistics.
4.3 WHY BSO, INDEED
With apologies to Mark Twain, reports of the death of Essbase block storage are greatly
exaggerated. We have heard all of the reasoning for the demise of block storage: BSO
has limitations on the number of practical dimensions, sparse/dense conguration is
confusing, dense block has size limitations, and, nally, the calculations are too slow.
Oh, and let us not forget data explosion. Okay, I understand the issues, but tell me this:
Name another tool that oers in-place write back along with scores of functions for
manipulating data. ese are the features that separate Essbase block storage from every
other tool and reasons why BSO will be around for some time.
What about the performance-related concerns, you ask? Admittedly, there can be
issues. One only needs to look on the Oracle Technology Network (OTN) messageboards
to view performance diculties that others have experienced. Like any technology, there
is a time and place when BSO is the correct choice. No good discussion of BSO can begin
without identifying where BSO is not a good t. Before the advent of aggregate storage
options (ASO), block storage Essbase was used for every type of application imagin-
able. Today, BSO is best used for read/write applications and databases that use complex
allocations and calculations. I am not saying that BSO cannot be used for large report-
ing applications, it certainly can. I am asserting that because of scaling constraints that
is not its best application. Regardless of use, I am going to show you how to use the
power of Essbase block storage to build databases that perform to the best of their ability.
Certainly you have all heard that Essbase design is more art than science. Truer words
have never been spoken. What works with one database might not work as well with
another. I will help you understand the variables that aect performance. Aer that, it is
your responsibility to try various options and then test, test, and test some more.