posted on Friday, October 07, 2005 10:14 AM by marcorusso

AS2000 magics: working without repository

Today I discovered that you can have a working AS2000 database without repository data relative to structure internals to that database (cubes and dimensions).

Just to explain how it works.

  • You have a "Foodmart 2000" database
  • Into the Olap Data directory, you create a "Foodmart Copy" directory
  • In Analysis Manager, create a database "Foodmart Copy"
  • Stop Analysis Services service
  • Into Olap Data directory, copy "Foodmart 2000" content into "Foodmart Copy" directory
  • Start Analysis Services service
  • From an olap client (like Excel) you can navigate all cubes into "Foodmart Copy" as you were in "Foodmart 2000"
  • From Analysis Manager, you see that "Foodmart Copy" is an empty database (it has no metadata in repository)

I know at least one customer who currently use this "undocumented feature" (can we say that?) to support the distribution of a processed database so queries scale on a multi-server architecture. If they update the "master" database changing some metadata, adding a level to a dimension or a measure to a cube, the distribution is a simpe XCOPY deployment.

I didn't know that AS2000 is able to query a processed cube even without metadata...

Comments

# re: AS2000 magics: working without repository @ Friday, October 07, 2005 6:03 PM

Hi Marco

It is actually documented in this whitepaper: http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/olapsite.mspx

Thanks,
Mosha

mosha

# re: AS2000 magics: working without repository @ Sunday, October 09, 2005 8:02 PM

Mosha,

thanks for the link, I forgot this whitepaper dated 2002!
Anyway, I reread it now and it's not so accurate describing that repository is not used in querying, because you need to have at least the database definition in the repository, otherwise AS2000 doesn't accept a connection to it, while in the document it appears that repository is not used at all, right?

Anyway, you're right, I should have remembered it :-)

Marco

marcorusso

# Cubi senza repository con Analysis Services 2000 @ Sunday, October 09, 2005 8:04 PM

Non si finisce mai di imparare: venerdì ho scoperto che è possibile far funzionare i cubi anche senza...

Anonymous