jump start to sql server BI.pdf

(2155 KB) Pobierz
Aelita.Exchange.01_
IT Pro SERIES
A
Jump Start
to
SQL Server BI
Don Awalt
Larry Barnes
Alexei Bocharov
Herts Chen
Rick Dobson
Rob Ericsson
Kirk Haselden
Brian Lawton
Jesper Lind
Tim Ramey
Paul Sanders
Mark D. Scott
David Walls
Russ Whitney
Books
104590062.003.png
i
Contents
By Don Awalt, Brian Lawton
Common Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Establishing a Vision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
by Mark D. Scott, David Walls
Step 1: Determine Business Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Step 2: Collect and Analyze Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Step 4: Construct a Conceptual Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Step 6: Set Tracking Duration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
By Russ Whitney, Tim Ramey
Designing a Sales-Forecasting Cube . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
By Larry Barnes
Introducing the Create FoodMart 2000 Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
By Russ Whitney
104590062.004.png 104590062.005.png
ii A Jump Start to SQL Server BI
By Rob Ericsson
By Herts Chen
Traffic-Accident Data Warehouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
By Rick Dobson
Installing Reporting Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Creating Your First Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Deploying a Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Improve Performance at the Aggregation Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Saving DTS Information to a Repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Using Loaded Measures to Customize Aggregations . . . . . . . . . . . . . . . . . . . . . . . . . 76
Decoding MDX Secrets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Choosing the Right Client for the Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Calculating Utilization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Use Member Properties Judiciously . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Aggregating a Selected Group of Members . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
104590062.006.png
iii
Setting OLAP Cube Aggregation Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Enter Count Estimates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Leave Snowflakes Alone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Create Grouping Levels Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Using NON EMPTY to Include Empty Cells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Formatting Financial Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Working with Analysis Services Programmatically . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Setting Up English Query . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
The Security Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
How are SQL Server 2005’s BI enhancements meeting Microsoft’s goals for
serving the BI community? And how long has your team has been working on
these enhancements? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
What kind of feedback have you been getting from beta testers, and which
features are they most enthusiastic about? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
According to news reports, Microsoft and some large customers have deployed
SQL Server 2005 Beta 2 in production environments. What is your recommendation
for deploying Beta 2 and running it in production? What caveats do you have
How compatible are SQL Server 2000’s BI tools (OLAP, DTS, data mining) and
SQL Server 2005’s new BI tools? Because some of SQL Server 2005’s BI tools—
such as Integration Services—are completely rewritten, will they still work with
SQL Server 2000 data and packages? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
SQL Server 2000 Analysis Services supports only clustering and decision-tree
data-mining algorithms. Does SQL Server 2005 add support for other algorithms? . . . . 100
Microsoft relies on an integrated technology stack—from OS to database to
user interface. How does that integration help Microsoft’s BI offerings better
serve your customers’ needs? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
104590062.001.png
iv A Jump Start to SQL Server BI
SQL Server 2005 will be the first release in which database tools converge
with Visual Studio development tools. Can you tell us what it took to align
The introduction of the UDM is said to blur the line between relational and
multidimensional database architectures. This approach is new for the
Microsoft BI platform. What are the most interesting features the UDM offers?
And based on your experience, what features do you think will surface as the
most valuable for customers and ISVs? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
What tools will Microsoft add to the Visual Studio 2005 IDE to help developers
create and manage SQL Server (and other database platforms’) users, groups,
and permissions to better insulate private data from those who shouldn’t
have access? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
In one of your past conference keynote addresses, you mentioned that Microsoft
is adding a new set of controls to Visual Studio 2005 to permit reporting without
Reporting Services. Could you describe what those controls will do, when we’ll
see the controls appear in Visual Studio 2005, and where you expect them to
What benefit does 64-bit bring to SQL Server BI, and do you think 64-bit can
really help the Microsoft BI platform scale to the levels that UNIX-based
BI platforms scale to today? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Who are some BI vendors you’re working closely with to develop 64-bit
BI computing? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Did you leave out any BI features that you planned to add to SQL Server 2005
because of deadlines or other issues? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Your team puts a lot of long hours into your work on SQL Server BI.
What drives you and your BI developers to invest so much personally in
the product? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
By Paul Sanders
By Alexei Bocharov, Jesper Lind
Mining the Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Third-Party Algorithms (Plug-Ins) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
104590062.002.png
Zgłoś jeśli naruszono regulamin