HDNUG 27-March-2007

27
HDNUG 27-March- HDNUG 27-March- 2007 2007 SQL Server 2005 Suite as SQL Server 2005 Suite as a Business Intelligence a Business Intelligence Solution Solution

description

HDNUG 27-March-2007. SQL Server 2005 Suite as a Business Intelligence Solution. Agenda. Introduction SQL Server 2005 Case Overview Integration Services Analysis Services Reporting Services Wrap Up. Who Am I. Name: Rowan Miller Position: Analyst Programmer - PowerPoint PPT Presentation

Transcript of HDNUG 27-March-2007

HDNUG 27-March-HDNUG 27-March-20072007

SQL Server 2005 Suite as a SQL Server 2005 Suite as a Business Intelligence Business Intelligence

SolutionSolution

AgendaAgenda

IntroductionIntroduction SQL Server 2005SQL Server 2005 Case OverviewCase Overview Integration ServicesIntegration Services Analysis ServicesAnalysis Services Reporting ServicesReporting Services Wrap UpWrap Up

Who Am IWho Am I

Name:Name: Rowan Miller Rowan Miller

Position:Position: Analyst Programmer Analyst Programmer

Company:Company: Technology Services Group Technology Services Group

Email:Email: [email protected] [email protected]

Responsibilities:Responsibilities: Application Design & Development Application Design & Development Data Warehouse Design & DevelopmentData Warehouse Design & Development

What Am I PresentingWhat Am I Presenting

SQL Server 2005 BI architectureSQL Server 2005 BI architecture What does each component doWhat does each component do How do we use each componentHow do we use each component

Practical DemoPractical Demo

Tips, tricks and observationsTips, tricks and observations

AgendaAgenda

IntroductionIntroduction SQL Server 2005SQL Server 2005 Case OverviewCase Overview Integration ServicesIntegration Services Analysis ServicesAnalysis Services Reporting ServicesReporting Services Wrap UpWrap Up

SQL Sever 2005 SuiteSQL Sever 2005 Suite

More than just a database engineMore than just a database engine

SQL Sever 2005 SuiteSQL Sever 2005 Suite

More than just a database engineMore than just a database engine

AgendaAgenda

IntroductionIntroduction SQL Server 2005SQL Server 2005 Case OverviewCase Overview Integration ServicesIntegration Services Analysis ServicesAnalysis Services Reporting ServicesReporting Services Wrap UpWrap Up

Case OverviewCase Overview

Company:Company: Sell-a-lot Enterprises Sell-a-lot Enterprises

Market:Market: Multi-National Grocery Multi-National Grocery RetailerRetailer

Issue:Issue: Lack of group wide reporting Lack of group wide reporting

Solution:Solution: Implement an Enterprise Implement an Enterprise Data Warehouse (EDW) and Data Warehouse (EDW) and Reporting LayerReporting Layer

Tools:Tools: SQL Server 2005 SQL Server 2005

Case OverviewCase Overview

What do Sell-a-lot Enterprises want to What do Sell-a-lot Enterprises want to report on?report on?

SalesSales ProductsProducts CashierCashier CustomerCustomer StoreStore

Case OverviewCase Overview

Where does Where does thethe data come from? data come from?

Product data comes from central SQL Server Product data comes from central SQL Server DatabaseDatabase

Products are identified by a barcode that is consistent Products are identified by a barcode that is consistent across all storesacross all stores

Each store writes out two csv files each morningEach store writes out two csv files each morning One contains sales data One contains sales data

Files are prefixed with store code and trading dateFiles are prefixed with store code and trading date(HOB_20070326_sales.csv)(HOB_20070326_sales.csv)

One contains customer data One contains customer data Files are prefixed with store code Files are prefixed with store code

(HOB_customers.csv)(HOB_customers.csv)

Case OverviewCase Overview

AgendaAgenda

IntroductionIntroduction SQL Server 2005SQL Server 2005 Case OverviewCase Overview Integration ServicesIntegration Services Analysis ServicesAnalysis Services Reporting ServicesReporting Services Wrap UpWrap Up

SQL Server Integration SQL Server Integration Services (SSIS)Services (SSIS)

Getting data from one store to Getting data from one store to anotheranother

The younger (and better looking) The younger (and better looking) brother of SQL 2000 Data brother of SQL 2000 Data Transformation Service (DTS)Transformation Service (DTS)

Drag & drop design Drag & drop design Scriptable componentsScriptable components Real-time DebuggingReal-time Debugging

SQL Server Integration SQL Server Integration Services (SSIS)Services (SSIS)

Other Databases

Data Warehouse

Bu

siness

Inte

lligen

ce S

tud

io

SSIS Packages

SQL Server Integration SQL Server Integration Services (SSIS)Services (SSIS)

DEMODEMO

Getting Sell-a-lot Enterprise data into Getting Sell-a-lot Enterprise data into the data warehousethe data warehouse

SQL Server Integration SQL Server Integration Services (SSIS)Services (SSIS)

Tips, Tricks & ObservationsTips, Tricks & Observations

Don’t underestimate the efficiency of a data flow taskDon’t underestimate the efficiency of a data flow task Avoid using Execute SQL Tasks to do inserts Avoid using Execute SQL Tasks to do inserts

(use a dataflow task instead)(use a dataflow task instead) Use ADO.Net when using Execute SQL Tasks (named parameters)Use ADO.Net when using Execute SQL Tasks (named parameters) Slow Changing Dimension component is useful for many other tasks Slow Changing Dimension component is useful for many other tasks Use SQL Server Agent to schedule executionUse SQL Server Agent to schedule execution Deploying to SQL Server is easier to manage than File SystemDeploying to SQL Server is easier to manage than File System Use configuration files for File System Deployment, Use “Set Value” Use configuration files for File System Deployment, Use “Set Value”

tab in SQL Agent for SQL Server Deploymenttab in SQL Agent for SQL Server Deployment Security model is painful, use windows authentication for connections Security model is painful, use windows authentication for connections

and use “do not store sensitive data” for package securityand use “do not store sensitive data” for package security Watchout for RSI from the mouseWatchout for RSI from the mouse

AgendaAgenda

IntroductionIntroduction SQL Server 2005SQL Server 2005 Case OverviewCase Overview Integration ServicesIntegration Services Analysis ServicesAnalysis Services Reporting ServicesReporting Services Wrap UpWrap Up

SQL Server Analysis SQL Server Analysis Services (SSAS)Services (SSAS)

Data CubesData Cubes KPIsKPIs Data Mining StructuresData Mining Structures

Decision TreesDecision Trees ClusteringClustering ……

SQL Server Analysis SQL Server Analysis Services (SSAS)Services (SSAS)

SSAS Data Cubes

Other Databases

Data Warehouse

Bu

siness

Inte

lligen

ce S

tud

io

SSIS Packages

AgendaAgenda

IntroductionIntroduction SQL Server 2005SQL Server 2005 Case OverviewCase Overview Integration ServicesIntegration Services Analysis ServicesAnalysis Services Reporting ServicesReporting Services Wrap UpWrap Up

SQL Server Reporting Services SQL Server Reporting Services (SSRS)(SSRS)

Microsoft's reporting toolMicrosoft's reporting tool Developer built dynamic reportsDeveloper built dynamic reports Ad-hoc user created reportsAd-hoc user created reports Sits on top of almost any data storeSits on top of almost any data store Report Models provide a “Business” view of Report Models provide a “Business” view of

the datathe data Web based interfaceWeb based interface SSRS 2000 good but incompleteSSRS 2000 good but incomplete SSRS 2005 much better productSSRS 2005 much better product

SSRS Reports

SQL Server Reporting Services SQL Server Reporting Services (SSRS)(SSRS)

SSRS Report Models

SSAS Data Cubes

Other Databases

Data Warehouse

Report Builder Report Manager

Bu

siness

Inte

lligen

ce S

tud

io

SSIS Packages

SQL Server Reporting Services SQL Server Reporting Services (SSRS)(SSRS)

DEMODEMO

Getting Sell-a-lot Enterprise data out Getting Sell-a-lot Enterprise data out of the data warehouseof the data warehouse

SQL Server Reporting Services SQL Server Reporting Services (SSRS)(SSRS)

Tips, Tricks & ObservationsTips, Tricks & Observations

Try to base reports on a Report ModelTry to base reports on a Report Model Use stored procedures to extract dataUse stored procedures to extract data Avoid excessive use of the toggle visibility functionAvoid excessive use of the toggle visibility function

(Use drill through reports instead)(Use drill through reports instead) Keep layout simple so reports export to Excel nicelyKeep layout simple so reports export to Excel nicely Use a drop down list for dates in SSRS 2000 Use a drop down list for dates in SSRS 2000

(American date format)(American date format) Get rid of SSRS 2000… install SSRS 2005Get rid of SSRS 2000… install SSRS 2005 Have an administrator for the report server folder Have an administrator for the report server folder

structurestructure Use the SSRS web parts for integration with Use the SSRS web parts for integration with

SharepointSharepoint

AgendaAgenda

IntroductionIntroduction SQL Server 2005SQL Server 2005 Case OverviewCase Overview Integration ServicesIntegration Services Analysis ServicesAnalysis Services Reporting ServicesReporting Services Wrap UpWrap Up

Wrap UpWrap Up

Questions ???Questions ???

Email:Email: [email protected] [email protected]