SQL Server 2008中SQL应用系列及BI笔记系列--目录索引
导读:本文介绍Analysis Services中的监视和管理工具
本文将包括以下内容:
■1、使用Windows可靠性和性能监视器监视
Analysis Services
■2、使用SQL Server Profler监视
Analysis Services
■3、使用DMV检索Analysis Services元数据和性能信息
本文末尾提供两个项目源码:AdventureWorks_BI_Begin16和AdventureWorks_BI_End16,顾名思义,开始和完成。另外,包括数据库文件SSAS2008SBS_Data,请读者自行修改数据源ds的连接串。
1、使用Windows可靠性和性能监视器监视AS
Windows可靠性和性能监视器的详细说明,请参看MSDN(http://technet.microsoft.com/zh-cn/library/cc755081%28WS.10%29.aspx
)
首先,在BIDS中部署项目,关闭BIDS。
然后,开始--程序--控制面板--管理工具--可靠性和性能监视器(或在运行中输入perfmon.msc /s,回车)

sql server 2008的计数器为MSAS 2008,而sql server 2008 r2有计数器为MSOLAP









切换到SSMS,

切换到可靠性和性能监视器


切换到SSMS,

切换到可靠性和性能监视器



切换到SSMS,关闭Process
切换到可靠性和性能监视器


下面从模板中创建数据收集器




2、使用SQL Server Profler监视AS
开始--程序--Microsoft SQL Server 2008 R2--Performance Tools--SQL
Profiler(或在运行中输入E:/Program Files/Microsoft SQL
Server/100/Tools/Binn/PROFILER.EXE,回车)
新建一Trace


切换到SSMS

打开一个MdX查询

切换到SQL Server Profler


切换到SSMS

切换到SQL Server Profler

切换到SSMS

切换到SQL Server Profler
文件--另存为--模板



导出的模板可以导入,修改并反复使用。
3、使用DMV检索Analysis
Services元数据和性能信息
与AS有关的DMV主要在$SYSTEM架构中。其中最重要的视图是DISCOVER_SCHEMA_ROWSETS(http://msdn.microsoft.com/zh-cn/library/ms126280.aspx
)
MDX查询示例:
SELECT * FROM $SYSTEM.MDSCHEMA_DIMENSIONS
SELECT * FROM $SYSTEM.DISCOVER_SCHEMA_ROWSETS
切换到SSMS

至此,本书的读书笔记结束,欢迎与邀月共同学习下本:
《Microsoft SQL Server 2008 MDX Step by Step》
源码下载:
begin16
end16
数据库下载
参考资源:
1、SQL Server Analysis Services 官方教程
(http://technet.microsoft.com/zh-cn/library/ms170208.aspx
)
分享到:
相关推荐
《Microsoft SQL Server 2008 Analysis Services Step by Step》是一本专为SQL Server 2008 Analysis Services(简称SSAS)设计的教程书籍,旨在帮助读者逐步掌握这一强大的多维数据处理和商务智能工具。SSAS是...
《Microsoft SQL Server 2008 Analysis Services Step by Step》随书数据库,由邀月(3w@live.cn)整理上传,本数据库只限学习、研究之用,不得用于商业用途,否则后果自负。
《Microsoft SQL Server 2008 Analysis Services Step by Step》随书光盘包含了大量实践性的文件,旨在帮助读者深入理解并掌握SQL Server 2008的Analysis Services(简称SSAS)这一强大的数据仓库和商务智能工具。...
《Microsoft SQL Server 2012 Analysis Services 高级教程》是针对数据库管理员、数据分析师以及IT专业人士的一本深入指南,旨在帮助读者掌握SQL Server 2012中的Analysis Services(简称SSAS)的各项高级功能。...
《Microsoft SQL Server 2008 Reporting Services Step by Step(2009)》随书光盘包含了丰富的学习资源,旨在帮助用户深入理解和掌握SQL Server 2008 Reporting Services的功能与应用。这本书的重点在于实践操作,...
Microsoft SQL Server 2008 Reporting Services Step By Step.part1
Microsoft SQL Server 2008 Reporting Services Step By Step.part4
Provides information on the fundamentals of Microsoft SQL Server 2005 Analysis Services. Teach yourself the fundamentals of SQL Server Analysis Services—one step at a time. With this practical, ...
Provides information on the fundamentals of Microsoft SQL Server 2005 Analysis Services. Teach yourself the fundamentals of SQL Server Analysis Services—one step at a time. With this practical, ...
《SQL Server 2005 Analysis Services Step by Step》是一本深入浅出的教程,旨在帮助读者掌握如何使用SQL Server 2005中的Analysis Services(简称SSAS)进行在线分析处理(OLAP)。OLAP是一种数据库技术,专门用于...
Provides information on the fundamentals of Microsoft SQL Server 2005 Analysis Services. Teach yourself the fundamentals of SQL Server Analysis Services—one step at a time. With this practical, ...
This title serves as an authoritative guide to Microsofts new "SQL Server 2012 Analysis Services" BI product and is written by key members of the Microsoft Analysis Services product development team....
总的来说,《Microsoft SQL Server 2005 Analysis Services 步步为营》这本书旨在帮助读者掌握如何使用该工具构建和管理高效的分析解决方案,以提升企业的数据洞察力和决策能力。通过学习和实践书中的实例,读者将能...
在IT领域,OLAP(在线...总之,通过对SQL Server 2008 Analysis Services的学习,你将能够设计和实施一个有效的数据仓库解决方案,为企业提供强大的分析能力和决策支持。不断探索和实践,将使你在BI领域变得更加专业。
为了实现这一目的,你将在本书中了解到如何使用SQL Server Analysis Services设计、构建和处理多维和表格商业智能语义模型(BISM)。随后,你将使用MDX和DAX来查询这些数据库,以便可以针对业务问题提供高级分析,并...
本书《Microsoft SQL Server 2012 Analysis Services: The BI Semantic Model》由Marco Russo、Alberto Ferrari和Chris Webb撰写,是一本专注于Microsoft SQL Server 2012分析服务中BI语义模型(BISM)的详细指导...
SQL Server 2008 Analysis Services(简称SSAS)是微软公司推出的一款强大的商业智能工具,主要用于处理大数据的分析和报告。它集成了OLAP(在线分析处理)和数据挖掘功能,为企业提供高效的决策支持系统。这篇...
《SQL Server 2012 Analysis Services高级教程》是一本专为深入了解和精通Microsoft SQL Server 2012分析服务(Analysis Services)所编写的详细指南。这本书的第二版提供了全面且深入的知识,旨在帮助读者掌握这个...