Connecting to SSAS 2008

Introduction

Since version 7 (OLAP Services), a client must use an OLEDB for OLAP (ODBO) provider to connect to an Analysis Services database.

Microsoft provides a client setup which embeds this provider plus extra related components, such as local cube generation layer. This setup is called Pivot Table Services, or OLE DB Provider for Analysis Services, depending on the SSAS version it corresponds to.

Until SSAS 2005, ODBO provider was "talking" directly with OLAP server. Then SSAS 2005 came with a new XML for Analysis protocol (XMLA). ODBO is still the way to query SSAS 2005. For more details, check this link.

With the coming of SSAS 2008, let’s have a look at potential changes for connecting.

Connecting

An easy way to test connection to SSAS is by using Microsoft Data Links.

A Data Link can be defined by creating an empty .txt file, and changing its extension to .udl.

http://cid-9cf41ea10109e385.skydrive.live.com/embedrowdetail.aspx/Public/Blog/ConnectingtoSSAS2008/Picture01.png

In the provider list, we notice a new item "Microsoft OLE DB Provider for Analysis Services 10.0".

Does this mean we’ll need a new a new provider to connect to SSAS 2008?

If we look at the connection string generated by the Data Link (once server and database have been set), we don’t see any difference compared to a SSAS 2005 connection string.

[oledb]

; Everything after this line is an OLE DB initstring

Provider=MSOLAP;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Adventure Works DW;Data Source=localhost

Looking for provider details

A deep search in Windows registry helps getting more information on MSOLAP CLSID:

  • HKEY_CLASSES_ROOT\MSOLAP key has (default) value "MSOLAP 10.0 OLE DB Provider".
  • HKEY_CLASSES_ROOT\MSOLAP\CurVer has (default) value "MSOLAP.4", which is the exact CLSID for SSAS 2008 ODBO provider.

Lets retrieve HKEY_CLASSES_ROOT\MSOLAP.4\CLSID default value ({10154F28-4979-4166-B114-3E7A7926C747}) and use it to jump to HKEY_CLASSES_ROOT\CLSID\{10154F28-4979-4166-B114-3E7A7926C747}\InprocServer32 key: default value is C:\Program Files\Microsoft Analysis Services\AS OLEDB\10\msolap100.dll.

The new SSAS 2008 OLEDB for OLAP provider is hosted by DLL msolap100.dll.

If we explore C:\Program Files\Microsoft Analysis Services\AS OLEDB\10 folder, we will find other related DLLs.

Note the msmdlocal.dll file grew up from 15 Mb to 22 Mb. Maybe this CTP still includes debugging information that will be removed for RTM.

Compatibility

There is still one big question: will we need to deploy a new ODBO provider to access SSAS 2008?

The coming of a dedicated provider (version 10) tends to confirm this.

The best way to be sure is by trying to connect to SSAS 2008 by using SSAS 2005 ODBO provider. We’ll do this from a separate PC to insure no favorable interference between 2005 and 2008 providers.

The test is successful: we can connect using ODBO for SSAS 2005, which is a good point.

Connection properties

If we compare connection string properties exposed by SSAS 2005 and SSAS 2008 providers, we notice a new property for SSAS 2008: Update Isolation Level.

Here are some quotes from BOL about this property:

  • "Specifies whether the cells in a single UPDATE CUBE statement are isolated from each other. The default is not isolated." (taken from AdomdConnection.ConnectionString Property).
  • "When updated cells do not overlap, the Update Isolation Level connection string property can be used to enhance performance for UPDATE CUBE" (taken from Write-Enabled Partitions).

So, this connection property is dedicated to writeback, one of my favorite subjects. I suppose ODBO provider for SSAS 2008 will be required to benefit this new property. I will not say more on it, as I think it deserves a full article on its own…

Schema rowsets

Book Online doesn’t mention new OLEDB schema rowsets. A new feature, metadata rowsets, allows query of metadata without using the object model. This very good article from Vidas Matelis deals with this subject.

Conclusion

Good news:

  • The object model for querying didn’t change, so an application developed for SSAS 2005 will work with SSAS 2008.
  • SSAS 2005 ODBO provider is compatible with SSAS 2008, avoiding deployment of a new ODBO provider, and making server migration transparent on client side.

Update (24/02/2008)

Darren Gosbell as written an article on SSAS 2008 CTP 6 schema rowsets. It seems that there a few new things.

This entry was posted in Analysis Services 2008. Bookmark the permalink.

100 Responses to Connecting to SSAS 2008

  1. Unknown says:

    http://www.batteries-shop.nethttp://www.batterieslaptop.nethttp://www.uk-laptopbattery.comhttp://www.wt-batteries.comhttp://www.cheapteastore.comhttp://www.laptopbatterystore.co.ukhttp://www.batterieslaptop.nethttp://www.batteries-supply.comhttp://www.powertoolsbatteries.co.ukhttp://www.batterygrip.orghttp://www.uk-batteries.co.ukhttp://www.ukbatterystore.co.ukhttp://www.topbatteries.co.ukhttp://www.batteries-shop.net/acer-laptop-battery-c-2.htmlhttp://www.batteries-shop.net/apple-laptop-battery-c-3.htmlhttp://www.batteries-shop.net/asus-laptop-battery-c-4.htmlhttp://www.batteries-shop.net/compaq-laptop-battery-c-5.htmlhttp://www.batteries-shop.net/dell-laptop-battery-c-6.htmlhttp://www.batteries-shop.net/fujitsu-laptop-battery-c-7.htmlhttp://www.batteries-shop.net/gateway-laptop-battery-c-8.htmlhttp://www.batteries-shop.net/hp-laptop-battery-c-9.htmlhttp://www.batteries-shop.net/hp-compaq-laptop-battery-c-10.htmlhttp://www.batteries-shop.net/ibm-laptop-battery-c-11.htmlhttp://www.batteries-shop.net/lenovo-laptop-battery-c-12.htmlhttp://www.batteries-shop.net/lg-laptop-battery-c-13.htmlhttp://www.batteries-shop.net/panasonic-laptop-battery-c-14.htmlhttp://www.batteries-shop.net/samsung-laptop-battery-c-15.htmlhttp://www.batteries-shop.net/sony-laptop-battery-c-16.htmlhttp://www.batteries-shop.net/toshiba-laptop-battery-c-17.htmlhttp://www.uk-laptopbattery.com/acer-laptop-battery-c-2.htmlhttp://www.uk-laptopbattery.com/apple-laptop-battery-c-3.htmlhttp://www.uk-laptopbattery.com/asus-laptop-battery-c-4.htmlhttp://www.uk-laptopbattery.com/compaq-laptop-battery-c-5.htmlhttp://www.uk-laptopbattery.com/dell-laptop-battery-c-6.htmlhttp://www.uk-laptopbattery.com/fujitsu-laptop-battery-c-7.htmlhttp://www.uk-laptopbattery.com/gateway-laptop-battery-c-8.htmlhttp://www.uk-laptopbattery.com/hp-laptop-battery-c-9.htmlhttp://www.uk-laptopbattery.com/hp-compaq-laptop-battery-c-10.htmlhttp://www.uk-laptopbattery.com/ibm-laptop-battery-c-11.htmlhttp://www.uk-laptopbattery.com/lenovo-laptop-battery-c-12.htmlhttp://www.uk-laptopbattery.com/lg-laptop-battery-c-13.htmlhttp://www.uk-laptopbattery.com/panasonic-laptop-battery-c-14.htmlhttp://www.uk-laptopbattery.com/samsung-laptop-battery-c-15.htmlhttp://www.uk-laptopbattery.com/sony-laptop-battery-c-16.htmlhttp://www.uk-laptopbattery.com/toshiba-laptop-battery-c-17.htmlhttp://www.topbatteries.co.uk/acer-laptop-battery-c-1.htmlhttp://www.topbatteries.co.uk/hp-laptop-batteries-c-2.htmlhttp://www.topbatteries.co.uk/sony-laptop-battery-c-3.htmlhttp://www.topbatteries.co.uk/dell-laptop-battery-c-4.htmlhttp://www.topbatteries.co.uk/ibm-laptop-battery-c-5.htmlhttp://www.topbatteries.co.uk/compaq-laptop-battery-c-6.htmlhttp://www.topbatteries.co.uk/toshiba-laptop-battery-c-7.htmlhttp://www.topbatteries.co.uk/fujitsu-laptop-battery-c-8.htmlhttp://www.topbatteries.co.uk/apple-laptop-battery-c-9.htmlhttp://www.topbatteries.co.uk/samsung-laptop-battery-c-10.htmlhttp://www.cheapteastore.com/chinese-black-tea-c-3.htmlhttp://www.cheapteastore.com/chinese-herbal-tea-c-7.htmlhttp://www.cheapteastore.com/chinese-oolong-tea-c-2.htmlhttp://www.cheapteastore.com/chinese-puerh-tea-c-4.htmlhttp://www.cheapteastore.com/chinese-white-tea-c-5.htmlhttp://www.cheapteastore.com/chinese-yellow-tea-c-6.htmlhttp://www.cheapteastore.com/tie-guan-yin-c-8.html

  2. dfasdf says:

    http://www.batteries-shop.net/ibm-02k6488-laptop-battery-p-178.html IBM 02K6488 http://www.batteries-shop.net/ibm-02k6503-laptop-battery-p-179.html IBM 02K6503 http://www.batteries-shop.net/ibm-02k6533-laptop-battery-p-180.html IBM 02K6533 http://www.batteries-shop.net/ibm-02k6576-laptop-battery-p-181.html IBM 02K6576 http://www.batteries-shop.net/ibm-02k6601-laptop-battery-p-182.html IBM 02K6601 http://www.batteries-shop.net/ibm-02k6610-laptop-battery-p-183.html IBM 02K6610 http://www.batteries-shop.net/ibm-02k6614-laptop-battery-p-184.html IBM 02K6614 http://www.batteries-shop.net/ibm-02k6620-laptop-battery-p-185.html IBM 02K6620 http://www.batteries-shop.net/ibm-02k6651-laptop-battery-p-186.html IBM 02K6651 http://www.batteries-shop.net/ibm-02k6678-laptop-battery-p-187.html IBM 02K6678 http://www.batteries-shop.net/ibm-02k6680-laptop-battery-p-188.html IBM 02K6680 http://www.batteries-shop.net/ibm-02k67020-laptop-battery-p-189.html IBM 02K67020 http://www.batteries-shop.net/ibm-02k6728-laptop-battery-p-190.html IBM 02K6728 http://www.batteries-shop.net/ibm-02k6821-laptop-battery-p-191.html IBM 02K6821 http://www.batteries-shop.net/ibm-02k6919-laptop-battery-p-192.html IBM 02K6919 http://www.batteries-shop.net/ibm-02k7034-laptop-battery-p-193.html IBM 02K7034 http://www.batteries-shop.net/ibm-02k7039-laptop-battery-p-194.html IBM 02K7039 http://www.batteries-shop.net/ibm-02k7052-laptop-battery-p-195.html IBM 02K7052 http://www.batteries-shop.net/ibm-08b8178-laptop-battery-p-196.html IBM 08B8178 http://www.batteries-shop.net/ibm-08k8182-laptop-battery-p-197.html IBM 08K8182 http://www.batteries-shop.net/ibm-08k8194-laptop-battery-p-198.html IBM 08K8194 http://www.batteries-shop.net/ibm-08k8194-laptop-battery-p-199.html IBM 08K8194 http://www.batteries-shop.net/ibm-08k8218-laptop-battery-p-200.html IBM 08K8218 http://www.batteries-shop.net/ibm-11j8604-laptop-battery-p-201.html IBM 11J8604 http://www.batteries-shop.net/ibm-38h6304-laptop-battery-p-202.html IBM 38H6304 http://www.batteries-shop.net/ibm-40y6791-laptop-battery-p-203.html IBM 40Y6791 http://www.batteries-shop.net/ibm-40y6791-laptop-battery-p-204.html IBM 40Y6791 http://www.batteries-shop.net/ibm-40y6795-laptop-battery-p-205.html IBM 40Y6795 http://www.batteries-shop.net/ibm-40y6799-laptop-battery-p-206.html IBM 40Y6799 http://www.batteries-shop.net/ibm-40y6999-laptop-battery-p-207.html IBM 40Y6999 http://www.batteries-shop.net/ibm-40y6999-laptop-battery-p-208.html IBM 40Y6999 http://www.batteries-shop.net/ibm-66g2821-laptop-battery-p-209.html IBM 66G2821 http://www.batteries-shop.net/ibm-73h9952-laptop-battery-p-210.html IBM 73H9952 http://www.batteries-shop.net/ibm-73p5167-laptop-battery-p-211.html IBM 73P5167 http://www.batteries-shop.net/ibm-92p0999-laptop-battery-p-213.html IBM 92P0999 http://www.batteries-shop.net/ibm-92p0999-laptop-battery-p-214.html IBM 92P0999 http://www.batteries-shop.net/hp-432306001-laptop-battery-p-1867.html HP 432306-001 http://www.batteries-shop.net/hp-436281251-laptop-battery-p-1868.html HP 436281-251 http://www.batteries-shop.net/hp-436281361-laptop-battery-p-1869.html HP 436281-361 http://www.batteries-shop.net/hp-436281422-laptop-battery-p-1870.html HP 436281-422 http://www.batteries-shop.net/hp-440772001-laptop-battery-p-1871.html HP 440772-001 http://www.batteries-shop.net/hp-441425001-laptop-battery-p-1872.html HP 441425-001 http://www.batteries-shop.net/hp-441611001-laptop-battery-p-1873.html HP 441611-001 http://www.batteries-shop.net/hp-446506001-laptop-battery-p-1874.html HP 446506-001 http://www.batteries-shop.net/hp-454931001-laptop-battery-p-1875.html HP 454931-001 http://www.batteries-shop.net/hp-455804001-laptop-battery-p-1876.html HP 455804-001 http://www.batteries-shop.net/hp-460143001-laptop-battery-p-1877.html HP 460143-001 http://www.batteries-shop.net/hp-hstnnc17c-laptop-battery-p-1878.html HP HSTNN-C17C http://www.batteries-shop.net/hp-hstnndb31-laptop-battery-p-1879.html HP HSTNN-DB31

Leave a comment