SQL Server - Bài
Trang 1Data Platform Vision
Vu Tuyet Trinh
trinhvt-fit@mail.hut.edu.vn
Hanoi University of Technology
Trang 3Services to interact
XML
e-mail time/calendar
file, document
geospatial search
query
data analysis reporting data integration
robust synchronization
Trang 4• Microsoft Data Platform Vision
Trang 5MS SQL Server 2008
Improved Productivity
ADO.NET Entity Framework:
Provides a data programming interface that makes it:
Easy to understand the conceptual data model
Easy to design and develop applications
Easy to maintain applications
Trang 8SERVICES
Trang 9Reporting Services
Intergration Services
Data Platform
Trang 101 Analysis Services
Microsoft SQL Server 2008 Analysis Services builds on a strong
foundation of analytical tools to provide a truly enterprise scale
solution
Analysis Services provides optimized Office interoperability to
provide a familiar interface and an open, embeddable architecture to allow developers to integrate the data.
Trang 11Extend Reach
with Comprehensive Analytics
Extend Reach
with Comprehensive Analytics
Drive Actionable Insight through Familiar Tools
Drive Actionable Insight through Familiar Tools
Trang 12Build Enterprise-Scale Solutions
Microsoft SQL Server 2008 Analysis Services is designed to provide
exceptional performance and scales to support applications with millions of records and thousands of users Innovative, consolidated tools help improve developer productivity and result in better design and faster implementation
Trang 13MS SQL Server 2008
Build Enterprise-Scale Solutions
Build Enterprise- Scale Solutions
Build Enterprise- Scale Solutions
High Developer Productivity
Scalable Infrastructure
Superior Performance
Trang 14High Developer Productivity
SQL Server 2008 Analysis Services introduces a set of new, innovative Best Practice Design Alerts that provide automatic notification of potential design issues early in the development process, which reduces wasted time caused by design mistakes and facilitates a faster development process.
Trang 15MS SQL Server 2008
High Developer Productivity
Figure 1 shows an alert on the Time dimension and Calendar hierarchy
Figure 1
Trang 16High Developer Productivity
Figure 2 shows the current alerts on a design.
Figure 2
Trang 17MS SQL Server 2008
High Developer Productivity
SQL Server 2008 Analysis Services further increases developer productivity with new, enhanced cube, dimension, and attribute designers
Figure 3
Trang 18Scalable Infrastructure
Analysis Services can scale to support databases of many terabytes
in size with many thousands of users
SQL Server 2008 Analysis Services provides Dynamic Management Views similar to those available to the database engine
Trang 19 AS can improve query performance by orders of magnitude and therefore allow a finer granularity of analysis.
Trang 20Superior Performance
SQL Server provides attribute-based hierarchies that avoid the need for any duplication and improve performance and scalability.
SQL Server 2008 Analysis Services allows writeback data to be
stored in MOLAP format resulting in significantly better performance for query and writeback operations.
AS prevent users from overloading the relational database by
providing a high performance, transparent, synchronized aggregate cache.
Trang 21MS SQL Server 2008
Extend Solutions with Comprehensive Analytics
Analysis Services takes the analytical platform to a new level offering more advanced features than those traditionally related to OLAP This enables organizations to accommodate multiple analytical needs within one solution offering so much more than a traditional OLAP platform In this effort, the
Unified Dimensional Model (UDM) plays a central role, providing extensive analytical capabilities
Trang 22Extend Reach
with Comprehensive
Analytics
Extend Reach
with Comprehensive
Analytics
Unified Dimensional Model
Predictive Analysis
Central Manageability of Key Enterprise Metrics
Trang 23MS SQL Server 2008
Unified Dimensional Model
The UDM was a new concept for Analysis Services that was introduced with the release of SQL Server 2005 The UDM provides an intermediate logical layer between the physical relational database used as the data source and the proprietary cube and dimension structures that are used to resolve user queries
In this way, you can think of the UDM as the centerpiece of the OLAP
solution
Trang 24Central Manageability of Key Enterprise Metrics
In SQL Server 2008 Analysis Services enterprise wide Key Performance Indicators (KPI’s) can be centrally stored and managed
This provides a central repository for users to access key enterprise metrics through a variety of applications including Microsoft Office
PerformancePoint Server 2007, Microsoft Office Excel 2007, Microsoft
Office SharePoint Services 2007, and Microsoft SQL Server Reporting
Services
Trang 25 However, many questions asked by business users cannot be
answered by this sort of analysis as they are not looking for the
results of what has happened, but instead they are looking for
predictions of what might happen
Trang 26Predictive Analysis
Microsoft SQL Server Data Mining Add-Ins for Office 2007:
The Data Mining Add-Ins for Office 2007 empowers end users to perform advanced analysis directly in Microsoft Excel and Microsoft Visio
There are three individual components:
Data Mining Client for Excel enables you to create and manage an entire Analysis Services data mining project from within Excel 2007
Table Analysis Tools for Excel enables you to use the powerful Analysis Services data mining capabilities to analyze data stored in Excel spreadsheets
Data Mining Templates for Visio enables you to render decision trees, regression trees, cluster diagrams, and dependency nets in Visio diagrams.
Trang 27MS SQL Server 2008
Drive Actionable Insight through Familiar Tools
Drive Actionable
Insight through Familiar Tools
Drive Actionable
Insight through
Familiar
Tools
Optimized Office
Interoperability
Optimized Office
Interoperability
Rich Partner Extensibility
Rich Partner Extensibility
Open Embeddable Architecture
Open Embeddable Architecture
MSOffice Excel
MS Office Word
MS Office Visio
MS Office Share Point
MS Office Performance Point
Trang 282 Reporting Service
Microsoft SQL Server 2008 Reporting Services provides a complete based platform that is designed to support a wide variety of reporting needs including managed enterprise reporting, ad-hoc reporting, embedded
server-reporting, and web based reporting to enable organizations to deliver
relevant information where needed across the entire enterprise
Reporting Services 2008 provides the tools and features necessary to
author a variety of richly formatted reports from a wide range of data
sources and provides a comprehensive set of familiar tools used to manage and secure an enterprise reporting solution
Trang 29MS SQL Server 2008
Reporting Services
Reporting Services
Authoring Report Managing
Reporting Services Managing
Reporting Services Delivering Reports
Trang 30Creating Compelling Reports
Tablix Charts
Interactive Features
Trang 31MS SQL Server 2008
Managing Reporting Services
Managing Reporting Services Managing
Reporting Services
Extending Management Capabilities
Extending Management Capabilities
Configuring a Reporting Services Instance
Configuring a Reporting Services Instance
MS Office SharePoint Services Integration
MS Office SharePoint Services Integration
Securing Reporting Services
Securing Reporting Services
Trang 32Delivering Reports
Delivering Reports
High Performance Report Processing
High Performance Report Processing
Caching Caching Snapshots
Multiple File Formats
Multiple File Formats
Delivering Reports through Subscriptions
Delivering Reports through Subscriptions
Embedding Reports into Business Applications Embedding Reports into Business Applications
Trang 33 SQL Server 2008 Integration Services meets the challenges of cleansing, transforming, and mapping multiple data sources with large volumes into a useful format
New features improve its ability to scale up and improve
performance while speeding development and lowering the TCO
Trang 343 Intergration Services
Intergration Services
Integration Scenarios
Trang 35to “close the loop,” (i.e., to
analyze, and take action on new data) increases as well These traditional ELT architectures (as opposed to value-added ETL processes that occur prior to loading) impose severe
restrictions on the ability of
systems to respond to emerging business needs
Trang 36Persistent lookups
Trang 37Application of SSIS Beyond Traditional ETL
SSIS, the Integration Platform
SSIS, the Integration Platform
Trang 38SSIS for data transfer operations
SQL Server 2008 Integration Services has an improved wizard that uses ADO.NET, has an improved user interface,
performs automatic
data type conversions,
and is more scalable
than previous versions.
Trang 39MS SQL Server 2008
SSIS for data warehouse loading
SQL Server 2008 includes support for Change Data Capture (CDC).
SSIS can consume data from (and load data into) a variety of
sources including managed (ADO.NET), OLE DB, ODBC, flat file, Microsoft Office Excel®, and XML by using a specialized set of
components called adapters
Trang 40Figure 3 shows an
example of such a flow
Trang 42 Figure 5 shows the data flow that
is generated by this Wizard
Trang 43MS SQL Server 2008
SSIS and Data Quality
One of the key features of SSIS, as well as its ability to integrate data, is its ability
to integrate different technologies to manipulate the data This has allowed SSIS
to include innovative “fuzzy logic”–based data cleansing components
SSIS deeply integrates with the data mining functionality in Analysis Services Data mining abstracts out the patterns in a dataset and encapsulates them in a mining model
Support for complex data routing in SSIS helps you to not only identify
anomalous data, but also to automatically correct it and replace it with better
values This enables “closed loop” cleansing scenarios
Trang 44 Figure 6 shows
an example of a closed loop
cleansing data flow.
Trang 45Data and text mining
On-demand data source
Trang 46On-demand data source
Trang 47MS SQL Server 2008
Figure 8 shows the use of the SSIS package as
a data source in the Report
Wizard.
Trang 48SSIS, the Integration Platform
SSIS goes beyond being an ETL tool not only in terms of enabling nontraditional scenarios, but also in being a true platform for data integration SSIS is part of the SQL Server Business Intelligence (BI) platform that enables the development of end-to-end BI
applications
Trang 49Integrated development platform
Programmability
Programmability
Scripting
Trang 50Integrated development platform
SQL Server Integration Services, Analysis Services, and Reporting Services all use a common Microsoft Visual Studio® based
development environment called the SQL Server Business
Intelligence (BI) Development Studio BI Development Studio
provides an integrated development environment (IDE) for BI
application development
Trang 52Integrated development platform
Trang 53MS SQL Server 2008
Figure 11 shows
an example of a script that checks for the existence
of an Office Excel file.
Trang 54Making Data Integration Approachable