【SSAS】SQL Server Analysis services | 【数据分析 (一) 】名词解释

本文介绍了SQL Server Analysis Services (SSAS) 的核心概念,包括SQL Server Data Tools (SSDT)、Analysis Services项目和数据源视图。通过数据源视图实现多个数据源的统一视图,利用Cube Wizard定义度量组和维度,并讨论了如何通过层次结构优化性能,以提高数据分析效率。
摘要由CSDN通过智能技术生成

Words Definition


SSDT:
SQL Server Data Tools

SSAS:
SQL Server Analysis services


Analysis Services project
A project based on an Analysis Services multidimensional model template。


Solution
Includes one or more projects


Project

  • A collection of related objects.
  • Projects exist within a solution
  • A project has one or more data sources
  • Project source databases are frequently hosted on one or more remote computers

Data source view

  • A single, unified view of the metadata from the specified tables and views that the data source defines in the project.
  • Enables to work with the metadata during development without an open connection to any underlying data source.
  • Based on one or more data sources.

Steps of define a deta source view based on multiple data source
  1. Define a data source view that is based on a single data source.(Primary data source)
  2. Then add tables and views from a secondary data source
  3. When designing dimensions that contain attributes based on related tables in multiple data sources, you might need to define a Microsoft SQL Server data source as the primary data source to use its distributed query engine capabilities.

Cube Wizard

  • Define the measure groups and dimensions for a cube.

Attributes

  • Are commonly based on fields from a data source view.
  • Include fields from any table in the data source view.

Deploying/ Processing
Deploying an Analysis Services project creates the defined objects in an instance of Analysis Services.
Processing the objects in an instance of Analysis Services copies the data from the underlying data sources into the cube objects.


Improve the preformance through Hierarchy structure

Hierarchies:
support navigation and aggregation at various levels

Formats:
specific measure

Define calculations and relationships:
speeds up dimension, partition, and query processing


Named calculation

  • A SQL expression(calculated column, a table in a data source view)
  • Enable extending the relational schema of existing tables in a data source view without modifying the table in the underlying data source.
  • Refer as a property of an attribute.

Composite KeyColumns

  • Contains the column/ columns that represent the key for the attribute.
  • Create uniquely identify an attribute.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值