官术网_书友最值得收藏!

Understanding the SQL Server Analysis Services engine

Microsoft SQL Server released Analysis Services in 2000 as an OLAP cube tool. This tool is a mature service of Microsoft technologies in BI that provides the ability to develop cubes and create dimensions and measures. Creating hierarchies (such as the product category hierarchy) based on attributes of dimensions are also possible within SSAS.

Microsoft introduced a new language named MDX to query the SSAS cube. This querying language has the ability to query cube-structured data and work with hierarchies. Also, many Microsoft-reporting and dashboard tools support this language.

Bottom of text cut off BI Semantic Model (BISM) in SQL Server 2012. BISM is the data modeling layer between the source database/data warehouse and the data visualization layer. There are two methods for modeling data in BISM, of which SSAS Multidimensional will be covered in this chapter and SSAS Tabular will be covered in the next chapter.

Take a look at the following diagram:

Understanding the SQL Server Analysis Services engine

Analysis Services is an engine that runs SSAS databases on the server. After the deployment of an SSAS database (which contains cubes, dimensions, measures, security, and some other information that you will dig into in chapters related to data mining), the metadata and structure of cubes will reside on the SSAS server. Then, a processing step is required to load data from a data warehouse into the SSAS cube structure. This step usually runs on a schedule at the end of ETL processing after loading data into the data warehouse (we will talk about ETL in Chapter 4, ETL with Integration Services.

This process will take place when a client wants to get data from a cube. The client tool queries data from the SSAS cube using MDX queries. MDX queries will be compiled, parsed, and executed in the SSAS engine. Hence, some results in a multidimensional format will be returned to the client tools. Then, the reporting client tools, for example, SSAS, will show information to the user as the report and dashboard layout are formatted.

Note that the query will get data from the cube structure and not from the source data warehouse. So the data will be too important in order to load data from the data warehouse into the SSAS cube with a processing step because it will keep data updated and more accurate.

Note

MDX queries will be resolved from the SSAS cube in the MOLAP storage mode. There are other storage modes for SSAS, which are ROLAP and HOLAP. ROLAP resolves queries directly from the source database, while HOLAP is a hybrid method. A detailed discussion on storage modes are outside the scope of this book. You can read more about them at http://msdn.microsoft.com/library/ms174915.aspx.

As the data entries will be stored in the cube, data security will be an important aspect. Fortunately, SSAS provides an extensive security mechanism that delivers role-based and row-level security on each cell of the cube, and security can be applied through the administration or development tools. You can read more about SSAS security at http://technet.microsoft.com/en-us/library/ms174840.aspx.

主站蜘蛛池模板: 上犹县| 舞钢市| 教育| 筠连县| 长春市| 丹巴县| 隆昌县| 济南市| 安化县| 连南| 盘锦市| 张家川| 延川县| 信丰县| 巍山| 封丘县| 英德市| 抚宁县| 丰台区| 吉隆县| 武穴市| 肥西县| 兴仁县| 柯坪县| 太原市| 寿宁县| 文昌市| 香格里拉县| 渑池县| 芷江| 沛县| 澄城县| 内黄县| 东宁县| 辽宁省| 濉溪县| 株洲县| 资阳市| 江口县| 锦屏县| 龙泉市|