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

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.

主站蜘蛛池模板: 苏尼特左旗| 玉树县| 深圳市| 资溪县| 贡觉县| 固原市| 临安市| 开鲁县| 商水县| 梁平县| 韶关市| 紫金县| 繁峙县| 肇庆市| 宜兰县| 高邮市| 镇康县| 垦利县| 安宁市| 肇东市| 巴林右旗| 高州市| 北宁市| 崇信县| 靖江市| 临海市| 湘乡市| 千阳县| 洛扎县| 扎囊县| 陇川县| 望谟县| 二手房| 瓦房店市| 乌拉特前旗| 维西| 翁牛特旗| 青龙| 吉隆县| 建宁县| 兴安盟|