Feeds

DB2 'Stinger' to pack powerful punch

Float like a butterfly...

  • alert
  • submit to reddit

Build a business case: developing custom apps

I have no idea of whether IBM had Cassius Clay (or even Mohammed Ali) in mind when it nicknamed the forthcoming release of DB2 UDB "Stinger", but the product certainly looks likely to pack a punch when it is released later this year.

Given that this is will be the first major release of DB2 UDB for 18 months, it is hardly surprising that there is a lot to it. It is equally unremarkable that I do not have enough space to cover all of its new features. For example, there is a lot of stuff to support .Net and Java Eclipse environments, as well as a number of other enhancements that developers will like. And, of course, there are performance and scalability improvements, and new security features, and so on and so forth.

However, what really stands out for me is the extended DBA (database administrator) capability. In particular, there are two features that are especially impressive: the Design Advisor and the product's Autonomic Management features.

Of course, the Design Advisor is not new. It is in the current product and it is used to advise the DBA on indexes he or she might build. However, it is now much more extensive and encompasses materialised query tables, indexes on those tables, multi-dimensional clusters, and partitioning. Moreover, it doesn't just provide you with suggestions but actually generates executable recommendations, which you can either run directly, or you can customise, or you can save them and reuse them, or whatever.

What is really neat about the new Design Advisor is not only that it takes away some of the repetitive (and boring) stuff that DBAs have to do, leaving them free for the more interesting parts of their job, but it also directly impacts on performance. This is because the Design Advisor is probably better than most of us humans at getting the right combination of performance enhancing functions. In tests, IBM is reporting a 6.5 times performance improvement from before and after using the Design Advisor.

While DB2's Autonomic Management features cover a range of different areas (which, again, I don't have space to cover) the most interesting is based on IBM's Learning Optimiser (LEO) project (which is ongoing). This provides continuous statistics monitoring and updating for the DB2 optimiser, rather than relying on the DBA to "Runstats" as and when he or she thought fit, which used to be the case.

Now, the obvious advantage of autonomic statistics updating is not only that you take another tedious task away from the DBA but also that the system can learn faster and better about itself and therefore update the optimiser more efficiently. However, there is a potential downside, which is the impact on run-time performance. In order to minimise this, IBM uses a form of query sampling named after one of the Bernouilli family (I don't know which one - there were lots of them in the 17th and 18th centuries - to the extent that they have been described as being to mathematics what the Bach family was to music), which is based on cardinality. What is particularly nice is that query sampling is not only used in gathering statistics, but IBM is also surfacing it as an extension to SQL so that you can use it as a pre-cursor to making more detailed queries for predictive analytics, say.

So, as I said, there is far too much in Stinger to cover in one article. I will be writing a full review of the product in due course.

© IT-Analysis.com

Related stories

IBM gets hot and spicy
IBM puts new DB2 up for inspection
End of the road for EAI?

HP ProLiant Gen8: Integrated lifecycle automation

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.