Multidimensional_Model_Programming.pdf
(
4750 KB
)
Pobierz
Multidimensional Model
Programming
SQL Server 2012 Books Online
Summary
: Analysis Services provides several APIs that you can use to program against
an Analysis Services instance and the multidimensional databases that it makes
available. This section describes the approaches available to developers who want to
create custom applications using Analysis Services multidimensional solutions. You can
use this information to choose the programming interface that best meets the
requirements of a particular project. Analysis Services development projects can be
based on managed or non-managed code that runs on a Windows platform, or other
platforms that support HTTP access.
Category:
Reference
Applies to
: SQL Server 2012
Source
: SQL Server 2012 Books Online
(
link to source content
)
E-book publication date
: January 2013
Copyright © 2012 by Microsoft Corporation
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means
without the written permission of the publisher.
Microsoft and the trademarks listed at
http://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspx
are trademarks of the
Microsoft group of companies. All other marks are property of their respective owners.
The example companies, organizations, products, domain names, email addresses, logos, people, places, and events
depicted herein are fictitious. No association with any real company, organization, product, domain name, email address,
logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided without any
express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or distributors
will be held liable for any damages caused or alleged to be caused either directly or indirectly by this book.
Contents
Multidimensional Model Programming.................................................................................................. 4
Understanding Microsoft OLAP Architecture ....................................................................................... 4
Logical Architecture .................................................................................................................................... 5
Logical Architecture Overview ............................................................................................................ 6
Server Objects .........................................................................................................................................13
Database Objects ...............................................................................................................................13
Security Roles ......................................................................................................................................15
Dimension Objects ................................................................................................................................19
Dimensions...........................................................................................................................................20
Attributes and Attribute Hierarchies...........................................................................................26
Attribute Relationships ....................................................................................................................27
User Hierarchies..................................................................................................................................29
Write-Enabled Dimensions.............................................................................................................35
Dimension Translations ...................................................................................................................36
Database Dimension Properties...................................................................................................37
Proactive Caching (Dimensions)...................................................................................................41
Cube Objects ...........................................................................................................................................41
Cube Properties ..................................................................................................................................42
Dimension Relationships.................................................................................................................44
Calculations ..........................................................................................................................................49
Partitions ...............................................................................................................................................50
Perspectives .........................................................................................................................................59
Cube Translations ..............................................................................................................................61
Cube Cells .............................................................................................................................................62
Cube Storage.......................................................................................................................................65
Aggregations and Aggregation Designs ......................................................................................66
Physical Architecture ................................................................................................................................68
OLAP Engine Server Components ...................................................................................................68
Server Process .........................................................................................................................................71
Object Naming........................................................................................................................................71
Maximum Capacity Specifications...................................................................................................74
Data Types in Analysis Services ........................................................................................................78
Local Cubes ..............................................................................................................................................81
Clients.........................................................................................................................................................83
International Considerations .................................................................................................................88
Languages and Collations ..................................................................................................................90
Translations ..............................................................................................................................................96
Currency Conversions ..........................................................................................................................98
Client Applications ............................................................................................................................. 104
Developing with ADOMD.NET............................................................................................................... 105
ADOMD.NET Client Programming ................................................................................................... 106
ADOMD.NET Client Functionality ................................................................................................. 109
Migrating From ADO MD To ADOMD.NET............................................................................... 111
Establishing Connections in ADOMD.NET................................................................................. 119
Establishing Secure Connections in ADOMD.NET.............................................................. 120
Working with Connections and Sessions in ADOMD.NET .............................................. 127
Performing Transactions in ADOMD.NET.............................................................................. 130
Retrieving Metadata from an Analytical Data Source........................................................... 131
Working with the ADOMD.NET Object Model .................................................................... 136
Working with Schema Rowsets in ADOMD.NET ................................................................. 137
Executing Commands Against an Analytical Data Source .................................................. 139
Retrieving Data from an Analytical Data Source..................................................................... 140
Retrieving Data Using the CellSet............................................................................................. 141
Retrieving Data Using the AdomdDataReader.................................................................... 143
Retrieving Data Using the XmlReader..................................................................................... 147
ADOMD.NET Server Programming .................................................................................................. 148
ADOMD.NET Server Functionality ................................................................................................ 149
ADOMD.NET Server Object Architecture................................................................................... 150
User Defined Functions and Stored Procedures ..................................................................... 154
Redistributing ADOMD.NET ............................................................................................................... 156
Developing with Analysis Management Objects (AMO) ............................................................. 157
AMO Concepts and Object Model................................................................................................... 157
Introducing AMO Classes .................................................................................................................... 165
AMO Fundamental Classes ............................................................................................................. 167
AMO OLAP Classes............................................................................................................................. 169
AMO Data Mining Classes............................................................................................................... 174
AMO Security Classes........................................................................................................................ 178
AMO Other Classes and Methods................................................................................................ 180
Programming Administrative Tasks with AMO ........................................................................... 185
Programming AMO Fundamental Objects................................................................................ 186
Programming AMO OLAP Basic Objects ................................................................................... 202
Programming AMO OLAP Advanced Objects.......................................................................... 218
Programming AMO Data Mining Objects ................................................................................. 232
Programming AMO Security Objects.......................................................................................... 235
Programming AMO Complementary Classes and Methods .............................................. 240
Developing with Analysis Services Scripting Language (ASSL) ................................................. 247
ASSL Objects and Object Characteristics....................................................................................... 247
ASSL XML Conventions ........................................................................................................................ 249
XMLA Concepts ....................................................................................................................................... 253
Developing with XMLA in Analysis Services ............................................................................. 254
Managing Connections and Sessions (XMLA) ......................................................................... 257
Handling Errors and Warnings (XMLA)....................................................................................... 260
Defining and Identifying Objects (XMLA).................................................................................. 264
Managing Transactions (XMLA) .................................................................................................... 265
Canceling Commands (XMLA) ....................................................................................................... 266
Plik z chomika:
wiklef8
Inne pliki z tego folderu:
802.11_wireless_networks_the_definitive_guide_second_edition.pdf
(9934 KB)
beginning_sharepoint_designer_2010.pdf
(18859 KB)
Claims-based Identity Second Edition device.pdf
(19784 KB)
5TSSSISU_SQL_Server_2012.pdf
(659 KB)
AGM_Application_Virtualization_(App-V)_5.0.pdf
(1605 KB)
Inne foldery tego chomika:
book
books 1
Complete IT Books Pack
Exams
Kursy
Zgłoś jeśli
naruszono regulamin