I am new to SQL Server 2005 and have a simple question/scenario. I would like to use cubes to improve query performance. If I build OLAP cubes with Analysis Services, will SQL Server automatically pick the 'best' cube to resolve user queries to the underlying tables?
For example: A cube is created to sum up sales by month from a fact table (Sales_Fact) called Monthly_Sales.
The user enters the query: Select datepart(month, Sales_Date) from Sales_Fact group by datepart(month, Sales_Date) .
Will the Monthly_Sales cube used to resolve the query?
Thanks
Johnsoi
You are bit far off on the learning side
To use Analysis Services to the most part you will need different client side applicaitons. The query language is different: it is MDX and not SQL.
Suggest you install SQL Server samples and go through tutorial see if you pick some of the concepts there.
HTH
Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Edward,
Thanks for the reply. So...it looks like SQL Server cannot rewrite queries (from Cognos, Crsytal, etc..) to use predefined OLAP cubes. I am looking for a way to add aggreagate tables (or other summarized objects) to our data warehouse and not require users to know of their existence. Is SQL Server 2005 aggregate aware?
Ike
|||You are bit off again.
SQL Server ships several components in it. One is Analysis Services that allows for creating multidimensional models (OLAP cubes you call it). Analysis Services allow access to the data stored in cubes using MDX query langage.
That is completely different from SQL query language. To access data in Analysis Services you can use serveral client tools. If you are just interested in reports, you can install Reporting Services and use it to access data in cubes.
Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
No comments:
Post a Comment