Friday 19 July 2013

Changing an Analysis Services instance to tabular mode

Say you have already installed an Analysis Services instance of SQL Server 2012. Maybe you made a mistake in setup and accidentally set it up as a multidimensional instance. What do you do?
This is unsupported but it works. You can change the DeploymentMode property in the msmdsrv.ini file to change the mode of the server instance.
Note that you can only run an Analysis Services instance in a single mode at a time. You cannot host multidimensional and tabular databases on the same instance. If you must have both types of databases, you need two instances.
To change the DeploymentMode property:
  • Backup any multidimensional databases on your server and either detach them or delete them. You will not be able to load them on the tabular instance.
  • Copy the msmdsrv.ini file to your desktop. For my instance (which I called TABULAR, I installed it like that from setup),defualt location of file will be C:\Program Files\Microsoft SQL Server\MSAS11.TABULAR\OLAP\Config.
  • Open the config file in Notepad. Change the DeploymentMode property from 0 (multidimensional) to 2 (tabular), as pictured. Save and close the file.
image

  • From services.msc, restart the Analysis Services instance.



No comments:

Post a Comment

Azure AzCopy Command in Action

Azure AzCopy Command  in Action -  Install - Module - Name Az - Scope CurrentUser - Repository PSGallery - Force # This simple PowerShell ...