SlideShare ist ein Scribd-Unternehmen logo
1 von 40
1
SQL Server 2008 for relational and
multi-dimentional solution
developers
                           Silvano Coriani
                 silvano.coriani@microsoft.com
                           Developer Evangelist
                                     Microsoft




                      2
Agenda
• SQL Server 2008 support for next generation
  application development
   –   Geospatial data type
   –   Filestream
   –   Date & Time
   –   Large UDT
• Simplify existing application scenario
   – Table Valued Parameters
   – Change Tracking
   – Hierarchy ID
• Going multi-dimensional
   – Developer’s roadbook to SSIS, SSAS and SSRS

                                  3
Relational and Non-Relational Data
• Relational data uses simple data types
   – Each type has a single value
   – Generic operations work well with the types
• Relational storage/query may not be optimal for
   – Hierarchical data
   – Spatial data
   – Sparse, variable, property bags
• Some types
   –   benefit by using a custom library
   –   use extended type system (complex types, inheritance)
   –   use custom storage and non-SQL APIs
   –   use non-relational queries and indexing


                                       4
Spatial Data
• Spatial data provides answers to location-
  based queries
  – Which roads intersect the Microsoft campus?
  – Does my land claim overlap yours?
  – List all of the Italian restaurants within 5
    kilometers
• Spatial data is part of almost every database
  – If your database includes an address

                              5
SQL Server 2008 and Spatial Data
• SQL Server supports two spatial data types
  – GEOMETRY - flat earth model
  – GEOGRAPHY - round earth model
• Both types support all of the instanciable OGC
  types
  – InstanceOf method can distinguish between them
• Supports two dimension data
  – X and Y or Lat and Long members
  – Z member - elevation (user-defined semantics)
  – M member - measure (user-defined semantics)


                               6
Sample Query




 Which roads intersect Microsoft’s main
     SELECT *
     FROM roads
 campus? roads.geom.STIntersects(@ms)=1
     WHERE

                          7
Filestream storage
• Storing large binary objects in databases is
  suboptimal
   – Large objects take buffers in database memory
   – Updating large objects cause database fragmentation
      • In file system however, "update" is delete and insert
      • "Before image" in an update is not deleted immediately
• Storing all related data in a database adds
   – Transactional consistency
   – Integrated, point-in-time backup and restore
   – Single storage and query vehicle

                                     8
SQL Server 2008 Filestream
Implementation
• A filegroup for filestream storage is declared using DDL
   – Filestream storage is tied to a database
• The filegroup is mapped to a directory
   – Must be NTFS file system
   – Caution: Files deleteable from file system if you have
     appropriate permissions
• VARBINARY(MAX) columns can be defined with
  FILESTREAM attribute
   – Table must also have UNIQUEIDENTIFIER column
   – Filestream storage not available for other large types
• Data is stored in the file system


                                    9
Programming with Filestreams
• Filestream columns are available with SQL methods
   – If SQL is used, indistinguishable from varbinary(max)
• Filestream can be accessed and modified using file IO
   – PathName function retrieves a symbolic path name
   – Acquire context with
      • GET_FILESTREAM_TRANSACTION_CONTEXT
   – Use OpenSqlFilestream to get a file handle based on
      •   File Name
      •   Required Access
      •   Access Options
      •   FilestreamTransaction context


                                          10
Filestream behaviors
• File IO methods are available using
   – Win32 APIs (usually with SQL Native Client)
   – .NET Wrapper
• Handle can use
   – ReadFile, WriteFile, TransmitFile, FlushFileBuffers...
   – Handle must be closed before transaction commits
   – FileIO supported with ReadCommitted isolation level
• File is required for handle, so to insert
   – Insert a zero-length value
   – Retrieve path and transaction context
   – Write using streamed IO


                                    11
Demo
 Spatial Data and Filestream




                      12
New SQL Server 2008 Date Types




                  13
Table-valued Parameters (TVP)
• Input parameters of Table type on
  SPs/Functions
• Optimized to scale and perform better for
  large data                       CREATE TYPE myTableType AS TABLE
                                   (id INT, name NVARCHAR(100),qty

• Behaves like BCP in server       INT);

                                   CREATE PROCEDURE myProc (@tvp
• Simple programming model         myTableType READONLY) AS
                                       UPDATE Inventory SET

• Strongly typed
                                              qty += s.qty
                                       FROM Inventory AS i INNER JOIN
                                              @tvp AS tvp

• Reduce client/server round trips GO
                                       ON i.id = tvp.id



• Do not cause a statement to recompile


                             14
Table-valued Parameters (TVP)
TVP Client Stack Support

 • Fully supported in ADO.NET 3
       • New Parameter type:
        SqlDbType.Structured
       • Parameters can be passed in multiple ways
          – DataTable
          – IEnumerable<SqlDataRecord> (fully streamed)
          – DbDataReader



                               15
Hierarchical Data
• Hierarchical data consists of nodes and edges
  – In employee-boss relationship, employee and boss are
    each nodes, the relationship between them is an edge
• Hierarchical data can be modeled in relational as
  – Adjacency model - separate column for edge
     • Most common, column can either be in same or separate
       table
  – Path Enumeration model - column w/hierarchical path
  – Nested Set model - adds "left" and "right" columns to
    represent edges, which must be maintained
    separately
                                  16
SQL Server 2008 and Hierarchical Data
• New Built-In Data Type - HierarchyID
• SQLCLR based system UDT
  – Useable on .NET clients directly as SqlHierarchyId
• An implementation of path enumeration
  model
  – Uses ORDPATH internally for speed




                              17
HierarchyID
• Depth-first indexing
• "Level" property - allows breadth-first indexing
• Methods for common hierarchical operations
   –   GetRoot
   –   GetLevel
   –   IsDescendant
   –   GetDescendant, GetAncestor
   –   Reparent
• Does not enforce tree structure
   – Can enforce tree using constraints

                                 18
Demo
 HierarchyID




               19
Sparse Properties
• Many designs require sparse properties
  – Hardware store has different attributes for each
    product
  – Lab tests have different readings for each test
  – Directory systems have different attributes for
    each item
• These are name-value pairs (property bags)
• Because they don't appear on each tuple
  (row) they are difficult to model

                              20
Modeling Sparse Properties
• Sparse Properties often modeled as separate table
   – Base table has one row per item - common properties
   – Property table has N rows per item - one per property
   – Known as Entity-Attribute-Value
• Can be modeled as sparse tables
   – 256 table limit in SQL Server JOIN
• Can be modeled as sparse columns
   – 1024 column limit in SQL Server tables
• Can be modeled as XML
   – Common properties are elements, sparse are attributes

                                    21
SQL Server 2008 and Sparse Columns
• Sparse Column extends column limit
• Still 1024 column limit for "non-sparse"
  columns
• Over 1024 (10000) for sparse columns
• Column marked as SPARSE in table definition
• Additional column represents all sparse
  column name value pairs as attributes in a
  single XML element
                          22
Change Tracking
• 3 different “flavor” of tracking data changes in SQL
  Server 2008
   – Change Tracking, CDC (used in DW), Auditing (security-
     oriented)
• Keeps track of data modifications in a table
   – Lightweight (No trigger, No schema changes)
      • Overhead similar to a traditional index
   – Synchronous at commit time
   – Gives you access to “net changes” from T0
      • Doesn’t keep track of “historical” changes


                                         23
Why go multi-dimensional?
• Organizations have large volumes of related data stored in a
  variety of data systems, often in different formats
• Data systems may not…
   –   Be optimized for analytical queries
   –   Contain all the data required by design or by time
   –   Manage historical context
   –   Be available or accessible
• Non-technical employees and managers may not have
  sufficient skills, tools, or permissions to query data systems
• Systems may not have universal definitions of an entity
• Analytical queries & reporting can impact operational system
  performance


                                                24
A realistic scenario
•   Data source
    independence
     –   Can survive OLTP
         system changes
     –   Heterogeneous data
         source
•   Single version of the truth
     –   Data Warehouse data
         centralization
     –   Data Mart as specific
         model for analysis
     –   Data Mart is user
         oriented, not Data
         Warehouse
•   Some tools can be used
    also by OLTP solutions
     –   Reporting Services
     –   OLTP queries




                                  25   25
The Microsoft BI Platform
SQL Server 2008




                  Integrate   Store




                  Analyze     Report




                              26
New with Microsoft SQL Server 2008
Integration & Data Warehousing
• Scale and Manage large number of users and
  data
  – Improved Query performance on large tables         Enhanced Partitioning
  – Queries Optimized for data warehousing
    scenarios                                         DW Query Optimizations
  – Increase I/O performance with efficient and
     cost effective data storage                         Data Compression
  – Manage concurrent workloads of ad-hoc
     queries, reporting and analysis                    Resource Governor
• Integrate growing volumes of data
                                                        Persistent Lookups
  – Optimize your ETL performance by identifying
    data in your largest tables
                                                       Change Data Capture
  – Reduce the data load volumes by capturing
    operational changes in data
                                                       MERGE SQL Statement
  – Simplify your insert and update data processing
  – Profile your information to identify dirty data       Data Profiling

                                                27
Enterprise-class Data Integration with
SQL Server Integration Services
              • Scalable Integrations
                 –   Connect to data
                 –   Multi-threaded architecture
                 –   Comprehensive transformations
                 –   Profile your data
                 –   Cleanse your data

              • Data Quality
                 – Cleanse data
                 – Text Mining
                 – Identify dirty data


                          28
Rich Connectivity
                                  • Extensive Connectivity
                                     –   Standards based support
   Unstructured data
                                     –   XML, Flat Files and Excel
                                     –   Binary Files
 Legacy data: Binary files           –   BizTalk, MS Message Queues
                                     –   Oracle, DB2 and SQL Server
  Application database
                                     –   Partner Ecosystem

  OLTP                            • Change Data Capture
                                     – Transparently capture changes
                         Change
                         Tables      – Real time integration
 DW

                                                 29
Rich Connectivity
 Data Providers
                                                     ODBC
SQL Server                     SAP
                          NetWeaver BI                                SQL Server
                                                               Report Server Models

             SQL Server
   Integration Services              Teradata
                                                               XML
                                                                            OLE DB

  DB2
                          MySAP                   SQL Server
                                         Data Mining Models
                                                                          Oracle
             SQL Server
    Analysis Services
                                     Hyperion Essbase

                                             30
Analysis Services 2008
Drive Pervasive Insights
                      • Design Scalable Solutions
                           – Productivity enhancing designers
                           – Scalable Infrastructure
                           – Superior Performance

                      • Extend Usability
                           – Unified meta data model
                           – Central KPI manageability
                           – Predictive Analysis

                      • Deliver Actionable Insight
                           – Optimized Office interoperability
                           – Rich partner extensibility
                           – Open, embeddable architecture
                                     31
New with Microsoft SQL Server 2008
Analysis Services
                             Innovative Cube Designer

                            Best Practice Design Alerts

                            Enhanced Dimension Design

                           Enhanced Aggregation Design



                           New Subspace Computations

                            MOLAP Enabled Write-Back

                           Enhanced Back-Up Scalability



                              New Resource Monitor

                                  Execution Plan


                      32
Reporting Services 2008
Deliver Enterprise Reports

                             •   Author Impactful Reports
                                 –   Powerful Designers
                                 –   Flexible Report Layout
                                 –   Rich Visualizations

                             •   Manage Enterprise Workload
                                 –   Enterprise Scale Platform
                                 –   Central Deployment
                                 –   Strong Manageability

                             •   Deliver Personalized Reports
                                 –   Interactive Reports
                                 –   Rendering in the Format Users Want
                                 –   Delivery to Location Users Want
                                            33
New with Microsoft SQL Server 2008
Reporting Services
                                New Report Designer

                             Enhanced Data Visualization

                             New Flexible Report Layout



                               Scalable Report Engine

                             Single Service Architecture



                                New Word Rendering

                              Improved Excel Rendering

                           New End User Design Experience

                               SharePoint Integration

                      34
The complete flow
      OLTP                                                                          Client     Portal
                                  Analytical Applications
                                  (MBS, third-party)



                                                                                 Office/SharePoint/PPS
                                                                 Query and
         CRM                             DW,                     Reporting
ERP                                      ODS
                    Integration                                  Analytical             Devices
                    Services                    Data Analysis    Components
      LOB            (ETL)                      (OLAP, DM)
                             Analytic Platform

                .NET Framework (IIS, ASP, Net, CLR) and SQL Server
                (Relational, Multidimensional, XML)
      BI Development and Management Tools                   SQL Server Management Tools

                                                       35
Languages, APIs, And SDKs
• MDX + DMX
• ADO MD.NET
    – AdoMdClient and AdoMdServer
•   XML/A
•   AMO
•   RDL
•   Report Server Web Service, RS URL Access,
    and RS Extensions
                            36
Develop Custom Client Applications
• Using ADO MD.NET, AMO, and XMLA in your
  own applications
• Front-ending RS and ProClarity
• Integrating with AdoMdServer and
  server-side assemblies
• Using Data Mining Model Viewer controls
• Visualization with WPF and Silverlight


                        37
Summary
• Microsoft SQL Server and his services are the basement
  for a complete solution, from data access to analysis, from
  data consolidation to performance management
• Together with other Microsoft technologies can be used
  by Developers and IT Professionals to build powerful and
  flexible reporting and analysis solutions for the end users
• Several class libraries and protocols helps solution
  developers to integrate these components in line of
  business applications in a easy and natural way
   – .NET Framework languages and technologies are the glue that
     connect these building blocks together



                                     38
Don’t forget the evalutations!!
• Fill the evaluations and you’ll get
  – Windows Home Server (1st day)
  – Windows 7 Beta (2nd day)




                          39
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Hyper-V, RemoteApp, Windows logo, Windows Start button, Windows Server Windows, Windows Vista and other product names are or may be registered
trademarks and/or trademarks in the U.S. and/or other countries. All other trademarks are property of their respective owners. The information herein is for informational purposes only and represents the current view of
 Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot
     guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.




                                                                                                                          40

Weitere ähnliche Inhalte

Was ist angesagt?

NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL DatabasesBADR
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databasesAshwani Kumar
 
Cloud Deployments with Apache Hadoop and Apache HBase
Cloud Deployments with Apache Hadoop and Apache HBaseCloud Deployments with Apache Hadoop and Apache HBase
Cloud Deployments with Apache Hadoop and Apache HBaseDATAVERSITY
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introductionPooyan Mehrparvar
 
9. Document Oriented Databases
9. Document Oriented Databases9. Document Oriented Databases
9. Document Oriented DatabasesFabio Fumarola
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sqlAnuja Gunale
 
MariaDB CONNECT Storage Engine
MariaDB CONNECT Storage EngineMariaDB CONNECT Storage Engine
MariaDB CONNECT Storage EngineSerge Frezefond
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-PresentationShubham Tomar
 
MySQL: Know more about open Source Database
MySQL: Know more about open Source DatabaseMySQL: Know more about open Source Database
MySQL: Know more about open Source DatabaseMahesh Salaria
 
From Raw Data to Analytics with No ETL
From Raw Data to Analytics with No ETLFrom Raw Data to Analytics with No ETL
From Raw Data to Analytics with No ETLCloudera, Inc.
 

Was ist angesagt? (20)

NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
 
Cassandra Learning
Cassandra LearningCassandra Learning
Cassandra Learning
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
 
Cloud Deployments with Apache Hadoop and Apache HBase
Cloud Deployments with Apache Hadoop and Apache HBaseCloud Deployments with Apache Hadoop and Apache HBase
Cloud Deployments with Apache Hadoop and Apache HBase
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
 
9. Document Oriented Databases
9. Document Oriented Databases9. Document Oriented Databases
9. Document Oriented Databases
 
L17 Data Source Layer
L17 Data Source LayerL17 Data Source Layer
L17 Data Source Layer
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
 
Apache Hadoop Hive
Apache Hadoop HiveApache Hadoop Hive
Apache Hadoop Hive
 
Sas keyword
Sas keywordSas keyword
Sas keyword
 
2018 05 08_biological_databases_no_sql
2018 05 08_biological_databases_no_sql2018 05 08_biological_databases_no_sql
2018 05 08_biological_databases_no_sql
 
No SQL
No SQLNo SQL
No SQL
 
MariaDB CONNECT Storage Engine
MariaDB CONNECT Storage EngineMariaDB CONNECT Storage Engine
MariaDB CONNECT Storage Engine
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
Apache storm
Apache stormApache storm
Apache storm
 
Key-Value NoSQL Database
Key-Value NoSQL DatabaseKey-Value NoSQL Database
Key-Value NoSQL Database
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
MySQL: Know more about open Source Database
MySQL: Know more about open Source DatabaseMySQL: Know more about open Source Database
MySQL: Know more about open Source Database
 
Selecting best NoSQL
Selecting best NoSQL Selecting best NoSQL
Selecting best NoSQL
 
From Raw Data to Analytics with No ETL
From Raw Data to Analytics with No ETLFrom Raw Data to Analytics with No ETL
From Raw Data to Analytics with No ETL
 

Andere mochten auch

Andere mochten auch (14)

Spectral_classification_of_WorldView2_multiangle_sequence.pptx
Spectral_classification_of_WorldView2_multiangle_sequence.pptxSpectral_classification_of_WorldView2_multiangle_sequence.pptx
Spectral_classification_of_WorldView2_multiangle_sequence.pptx
 
Dia Da Paz 2009
Dia Da Paz 2009Dia Da Paz 2009
Dia Da Paz 2009
 
Carral
CarralCarral
Carral
 
Viaxe a Madrid
Viaxe a MadridViaxe a Madrid
Viaxe a Madrid
 
Windows Server2008 R2 Overview (1)
Windows Server2008 R2 Overview (1)Windows Server2008 R2 Overview (1)
Windows Server2008 R2 Overview (1)
 
Windows Azure introduction
Windows Azure introductionWindows Azure introduction
Windows Azure introduction
 
Windows Small & Essential Business Server
Windows Small & Essential Business ServerWindows Small & Essential Business Server
Windows Small & Essential Business Server
 
Virginia's Hampton Roads: Strategic position in the vision for High-Speed Ra...
Virginia's Hampton Roads:  Strategic position in the vision for High-Speed Ra...Virginia's Hampton Roads:  Strategic position in the vision for High-Speed Ra...
Virginia's Hampton Roads: Strategic position in the vision for High-Speed Ra...
 
Transportation Alternatives in Hampton Roads (Dec08)
Transportation Alternatives in Hampton Roads (Dec08)Transportation Alternatives in Hampton Roads (Dec08)
Transportation Alternatives in Hampton Roads (Dec08)
 
La catedral de santiago
La catedral de santiagoLa catedral de santiago
La catedral de santiago
 
Crm Solution Areas X Rm And Vertical Solutions
Crm Solution Areas X Rm And Vertical SolutionsCrm Solution Areas X Rm And Vertical Solutions
Crm Solution Areas X Rm And Vertical Solutions
 
Windows Server2008 R2 Overview
Windows Server2008 R2 OverviewWindows Server2008 R2 Overview
Windows Server2008 R2 Overview
 
Urban Land Use
Urban Land UseUrban Land Use
Urban Land Use
 
Plastic roads
Plastic roadsPlastic roads
Plastic roads
 

Ähnlich wie Sql Server2008

Enterprise geodatabase sql access and administration
Enterprise geodatabase sql access and administrationEnterprise geodatabase sql access and administration
Enterprise geodatabase sql access and administrationbrentpierce
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehousesDhani Ahmad
 
PostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQLPostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQLAlexei Krasner
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)Marco Gralike
 
ElasticSearch as (only) datastore
ElasticSearch as (only) datastoreElasticSearch as (only) datastore
ElasticSearch as (only) datastoreTomas Sirny
 
SKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSING
SKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSINGSKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSING
SKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSINGSkillwise Group
 
SQL, NoSQL, Distributed SQL: Choose your DataStore carefully
SQL, NoSQL, Distributed SQL: Choose your DataStore carefullySQL, NoSQL, Distributed SQL: Choose your DataStore carefully
SQL, NoSQL, Distributed SQL: Choose your DataStore carefullyMd Kamaruzzaman
 
FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...
FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...
FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...Ashnikbiz
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxRahul Borate
 
VTU 6th Sem Elective CSE - Module 4 cloud computing
VTU 6th Sem Elective CSE - Module 4  cloud computingVTU 6th Sem Elective CSE - Module 4  cloud computing
VTU 6th Sem Elective CSE - Module 4 cloud computingSachin Gowda
 
module4-cloudcomputing-180131071200.pdf
module4-cloudcomputing-180131071200.pdfmodule4-cloudcomputing-180131071200.pdf
module4-cloudcomputing-180131071200.pdfSumanthReddy540432
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...Qian Lin
 

Ähnlich wie Sql Server2008 (20)

Nosql data models
Nosql data modelsNosql data models
Nosql data models
 
Enterprise geodatabase sql access and administration
Enterprise geodatabase sql access and administrationEnterprise geodatabase sql access and administration
Enterprise geodatabase sql access and administration
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehouses
 
Oracle OpenWo2014 review part 03 three_paa_s_database
Oracle OpenWo2014 review part 03 three_paa_s_databaseOracle OpenWo2014 review part 03 three_paa_s_database
Oracle OpenWo2014 review part 03 three_paa_s_database
 
PostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQLPostgreSQL as an Alternative to MSSQL
PostgreSQL as an Alternative to MSSQL
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)
 
An AMIS overview of database 12c
An AMIS overview of database 12cAn AMIS overview of database 12c
An AMIS overview of database 12c
 
Revision
RevisionRevision
Revision
 
Dbms
DbmsDbms
Dbms
 
ElasticSearch as (only) datastore
ElasticSearch as (only) datastoreElasticSearch as (only) datastore
ElasticSearch as (only) datastore
 
Cheetah:Data Warehouse on Top of MapReduce
Cheetah:Data Warehouse on Top of MapReduceCheetah:Data Warehouse on Top of MapReduce
Cheetah:Data Warehouse on Top of MapReduce
 
SKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSING
SKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSINGSKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSING
SKILLWISE-SSIS DESIGN PATTERN FOR DATA WAREHOUSING
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
SQL, NoSQL, Distributed SQL: Choose your DataStore carefully
SQL, NoSQL, Distributed SQL: Choose your DataStore carefullySQL, NoSQL, Distributed SQL: Choose your DataStore carefully
SQL, NoSQL, Distributed SQL: Choose your DataStore carefully
 
Master.pptx
Master.pptxMaster.pptx
Master.pptx
 
FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...
FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...
FOSSASIA 2015 - 10 Features your developers are missing when stuck with Propr...
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
VTU 6th Sem Elective CSE - Module 4 cloud computing
VTU 6th Sem Elective CSE - Module 4  cloud computingVTU 6th Sem Elective CSE - Module 4  cloud computing
VTU 6th Sem Elective CSE - Module 4 cloud computing
 
module4-cloudcomputing-180131071200.pdf
module4-cloudcomputing-180131071200.pdfmodule4-cloudcomputing-180131071200.pdf
module4-cloudcomputing-180131071200.pdf
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
 

Mehr von Microsoft Iceland

Virtualization: Hyper-V, VMM, App-V and MED-V.
Virtualization: Hyper-V, VMM, App-V and MED-V.Virtualization: Hyper-V, VMM, App-V and MED-V.
Virtualization: Hyper-V, VMM, App-V and MED-V.Microsoft Iceland
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Microsoft Iceland
 
Scannata for Dynamics AX and OCR recognition
Scannata for Dynamics AX and OCR recognitionScannata for Dynamics AX and OCR recognition
Scannata for Dynamics AX and OCR recognitionMicrosoft Iceland
 
AX 2009 Demo Supply Chain Mgmt
AX 2009 Demo Supply Chain MgmtAX 2009 Demo Supply Chain Mgmt
AX 2009 Demo Supply Chain MgmtMicrosoft Iceland
 
Application Lifecycle Management & VSTS
Application Lifecycle Management & VSTSApplication Lifecycle Management & VSTS
Application Lifecycle Management & VSTSMicrosoft Iceland
 
What The Cloud Is My Cio Thinking 2009
What The Cloud Is My Cio Thinking 2009What The Cloud Is My Cio Thinking 2009
What The Cloud Is My Cio Thinking 2009Microsoft Iceland
 

Mehr von Microsoft Iceland (9)

Virtualization: Hyper-V, VMM, App-V and MED-V.
Virtualization: Hyper-V, VMM, App-V and MED-V.Virtualization: Hyper-V, VMM, App-V and MED-V.
Virtualization: Hyper-V, VMM, App-V and MED-V.
 
Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2Building Rich Internet Apps with Silverlight 2
Building Rich Internet Apps with Silverlight 2
 
Scannata for Dynamics AX and OCR recognition
Scannata for Dynamics AX and OCR recognitionScannata for Dynamics AX and OCR recognition
Scannata for Dynamics AX and OCR recognition
 
Nav Strategy Bestof 2008
Nav Strategy Bestof 2008Nav Strategy Bestof 2008
Nav Strategy Bestof 2008
 
Intro To Live Framework
Intro To Live FrameworkIntro To Live Framework
Intro To Live Framework
 
AX 2009 Demo Supply Chain Mgmt
AX 2009 Demo Supply Chain MgmtAX 2009 Demo Supply Chain Mgmt
AX 2009 Demo Supply Chain Mgmt
 
Application Lifecycle Management & VSTS
Application Lifecycle Management & VSTSApplication Lifecycle Management & VSTS
Application Lifecycle Management & VSTS
 
What The Cloud Is My Cio Thinking 2009
What The Cloud Is My Cio Thinking 2009What The Cloud Is My Cio Thinking 2009
What The Cloud Is My Cio Thinking 2009
 
Keynote Day 1 2009
Keynote Day 1 2009Keynote Day 1 2009
Keynote Day 1 2009
 

Kürzlich hochgeladen

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Kürzlich hochgeladen (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Sql Server2008

  • 1. 1
  • 2. SQL Server 2008 for relational and multi-dimentional solution developers Silvano Coriani silvano.coriani@microsoft.com Developer Evangelist Microsoft 2
  • 3. Agenda • SQL Server 2008 support for next generation application development – Geospatial data type – Filestream – Date & Time – Large UDT • Simplify existing application scenario – Table Valued Parameters – Change Tracking – Hierarchy ID • Going multi-dimensional – Developer’s roadbook to SSIS, SSAS and SSRS 3
  • 4. Relational and Non-Relational Data • Relational data uses simple data types – Each type has a single value – Generic operations work well with the types • Relational storage/query may not be optimal for – Hierarchical data – Spatial data – Sparse, variable, property bags • Some types – benefit by using a custom library – use extended type system (complex types, inheritance) – use custom storage and non-SQL APIs – use non-relational queries and indexing 4
  • 5. Spatial Data • Spatial data provides answers to location- based queries – Which roads intersect the Microsoft campus? – Does my land claim overlap yours? – List all of the Italian restaurants within 5 kilometers • Spatial data is part of almost every database – If your database includes an address 5
  • 6. SQL Server 2008 and Spatial Data • SQL Server supports two spatial data types – GEOMETRY - flat earth model – GEOGRAPHY - round earth model • Both types support all of the instanciable OGC types – InstanceOf method can distinguish between them • Supports two dimension data – X and Y or Lat and Long members – Z member - elevation (user-defined semantics) – M member - measure (user-defined semantics) 6
  • 7. Sample Query Which roads intersect Microsoft’s main SELECT * FROM roads campus? roads.geom.STIntersects(@ms)=1 WHERE 7
  • 8. Filestream storage • Storing large binary objects in databases is suboptimal – Large objects take buffers in database memory – Updating large objects cause database fragmentation • In file system however, "update" is delete and insert • "Before image" in an update is not deleted immediately • Storing all related data in a database adds – Transactional consistency – Integrated, point-in-time backup and restore – Single storage and query vehicle 8
  • 9. SQL Server 2008 Filestream Implementation • A filegroup for filestream storage is declared using DDL – Filestream storage is tied to a database • The filegroup is mapped to a directory – Must be NTFS file system – Caution: Files deleteable from file system if you have appropriate permissions • VARBINARY(MAX) columns can be defined with FILESTREAM attribute – Table must also have UNIQUEIDENTIFIER column – Filestream storage not available for other large types • Data is stored in the file system 9
  • 10. Programming with Filestreams • Filestream columns are available with SQL methods – If SQL is used, indistinguishable from varbinary(max) • Filestream can be accessed and modified using file IO – PathName function retrieves a symbolic path name – Acquire context with • GET_FILESTREAM_TRANSACTION_CONTEXT – Use OpenSqlFilestream to get a file handle based on • File Name • Required Access • Access Options • FilestreamTransaction context 10
  • 11. Filestream behaviors • File IO methods are available using – Win32 APIs (usually with SQL Native Client) – .NET Wrapper • Handle can use – ReadFile, WriteFile, TransmitFile, FlushFileBuffers... – Handle must be closed before transaction commits – FileIO supported with ReadCommitted isolation level • File is required for handle, so to insert – Insert a zero-length value – Retrieve path and transaction context – Write using streamed IO 11
  • 12. Demo Spatial Data and Filestream 12
  • 13. New SQL Server 2008 Date Types 13
  • 14. Table-valued Parameters (TVP) • Input parameters of Table type on SPs/Functions • Optimized to scale and perform better for large data CREATE TYPE myTableType AS TABLE (id INT, name NVARCHAR(100),qty • Behaves like BCP in server INT); CREATE PROCEDURE myProc (@tvp • Simple programming model myTableType READONLY) AS UPDATE Inventory SET • Strongly typed qty += s.qty FROM Inventory AS i INNER JOIN @tvp AS tvp • Reduce client/server round trips GO ON i.id = tvp.id • Do not cause a statement to recompile 14
  • 15. Table-valued Parameters (TVP) TVP Client Stack Support • Fully supported in ADO.NET 3 • New Parameter type: SqlDbType.Structured • Parameters can be passed in multiple ways – DataTable – IEnumerable<SqlDataRecord> (fully streamed) – DbDataReader 15
  • 16. Hierarchical Data • Hierarchical data consists of nodes and edges – In employee-boss relationship, employee and boss are each nodes, the relationship between them is an edge • Hierarchical data can be modeled in relational as – Adjacency model - separate column for edge • Most common, column can either be in same or separate table – Path Enumeration model - column w/hierarchical path – Nested Set model - adds "left" and "right" columns to represent edges, which must be maintained separately 16
  • 17. SQL Server 2008 and Hierarchical Data • New Built-In Data Type - HierarchyID • SQLCLR based system UDT – Useable on .NET clients directly as SqlHierarchyId • An implementation of path enumeration model – Uses ORDPATH internally for speed 17
  • 18. HierarchyID • Depth-first indexing • "Level" property - allows breadth-first indexing • Methods for common hierarchical operations – GetRoot – GetLevel – IsDescendant – GetDescendant, GetAncestor – Reparent • Does not enforce tree structure – Can enforce tree using constraints 18
  • 20. Sparse Properties • Many designs require sparse properties – Hardware store has different attributes for each product – Lab tests have different readings for each test – Directory systems have different attributes for each item • These are name-value pairs (property bags) • Because they don't appear on each tuple (row) they are difficult to model 20
  • 21. Modeling Sparse Properties • Sparse Properties often modeled as separate table – Base table has one row per item - common properties – Property table has N rows per item - one per property – Known as Entity-Attribute-Value • Can be modeled as sparse tables – 256 table limit in SQL Server JOIN • Can be modeled as sparse columns – 1024 column limit in SQL Server tables • Can be modeled as XML – Common properties are elements, sparse are attributes 21
  • 22. SQL Server 2008 and Sparse Columns • Sparse Column extends column limit • Still 1024 column limit for "non-sparse" columns • Over 1024 (10000) for sparse columns • Column marked as SPARSE in table definition • Additional column represents all sparse column name value pairs as attributes in a single XML element 22
  • 23. Change Tracking • 3 different “flavor” of tracking data changes in SQL Server 2008 – Change Tracking, CDC (used in DW), Auditing (security- oriented) • Keeps track of data modifications in a table – Lightweight (No trigger, No schema changes) • Overhead similar to a traditional index – Synchronous at commit time – Gives you access to “net changes” from T0 • Doesn’t keep track of “historical” changes 23
  • 24. Why go multi-dimensional? • Organizations have large volumes of related data stored in a variety of data systems, often in different formats • Data systems may not… – Be optimized for analytical queries – Contain all the data required by design or by time – Manage historical context – Be available or accessible • Non-technical employees and managers may not have sufficient skills, tools, or permissions to query data systems • Systems may not have universal definitions of an entity • Analytical queries & reporting can impact operational system performance 24
  • 25. A realistic scenario • Data source independence – Can survive OLTP system changes – Heterogeneous data source • Single version of the truth – Data Warehouse data centralization – Data Mart as specific model for analysis – Data Mart is user oriented, not Data Warehouse • Some tools can be used also by OLTP solutions – Reporting Services – OLTP queries 25 25
  • 26. The Microsoft BI Platform SQL Server 2008 Integrate Store Analyze Report 26
  • 27. New with Microsoft SQL Server 2008 Integration & Data Warehousing • Scale and Manage large number of users and data – Improved Query performance on large tables Enhanced Partitioning – Queries Optimized for data warehousing scenarios DW Query Optimizations – Increase I/O performance with efficient and cost effective data storage Data Compression – Manage concurrent workloads of ad-hoc queries, reporting and analysis Resource Governor • Integrate growing volumes of data Persistent Lookups – Optimize your ETL performance by identifying data in your largest tables Change Data Capture – Reduce the data load volumes by capturing operational changes in data MERGE SQL Statement – Simplify your insert and update data processing – Profile your information to identify dirty data Data Profiling 27
  • 28. Enterprise-class Data Integration with SQL Server Integration Services • Scalable Integrations – Connect to data – Multi-threaded architecture – Comprehensive transformations – Profile your data – Cleanse your data • Data Quality – Cleanse data – Text Mining – Identify dirty data 28
  • 29. Rich Connectivity • Extensive Connectivity – Standards based support Unstructured data – XML, Flat Files and Excel – Binary Files Legacy data: Binary files – BizTalk, MS Message Queues – Oracle, DB2 and SQL Server Application database – Partner Ecosystem OLTP • Change Data Capture – Transparently capture changes Change Tables – Real time integration DW 29
  • 30. Rich Connectivity Data Providers ODBC SQL Server SAP NetWeaver BI SQL Server Report Server Models SQL Server Integration Services Teradata XML OLE DB DB2 MySAP SQL Server Data Mining Models Oracle SQL Server Analysis Services Hyperion Essbase 30
  • 31. Analysis Services 2008 Drive Pervasive Insights • Design Scalable Solutions – Productivity enhancing designers – Scalable Infrastructure – Superior Performance • Extend Usability – Unified meta data model – Central KPI manageability – Predictive Analysis • Deliver Actionable Insight – Optimized Office interoperability – Rich partner extensibility – Open, embeddable architecture 31
  • 32. New with Microsoft SQL Server 2008 Analysis Services Innovative Cube Designer Best Practice Design Alerts Enhanced Dimension Design Enhanced Aggregation Design New Subspace Computations MOLAP Enabled Write-Back Enhanced Back-Up Scalability New Resource Monitor Execution Plan 32
  • 33. Reporting Services 2008 Deliver Enterprise Reports • Author Impactful Reports – Powerful Designers – Flexible Report Layout – Rich Visualizations • Manage Enterprise Workload – Enterprise Scale Platform – Central Deployment – Strong Manageability • Deliver Personalized Reports – Interactive Reports – Rendering in the Format Users Want – Delivery to Location Users Want 33
  • 34. New with Microsoft SQL Server 2008 Reporting Services New Report Designer Enhanced Data Visualization New Flexible Report Layout Scalable Report Engine Single Service Architecture New Word Rendering Improved Excel Rendering New End User Design Experience SharePoint Integration 34
  • 35. The complete flow OLTP Client Portal Analytical Applications (MBS, third-party) Office/SharePoint/PPS Query and CRM DW, Reporting ERP ODS Integration Analytical Devices Services Data Analysis Components LOB (ETL) (OLAP, DM) Analytic Platform .NET Framework (IIS, ASP, Net, CLR) and SQL Server (Relational, Multidimensional, XML) BI Development and Management Tools SQL Server Management Tools 35
  • 36. Languages, APIs, And SDKs • MDX + DMX • ADO MD.NET – AdoMdClient and AdoMdServer • XML/A • AMO • RDL • Report Server Web Service, RS URL Access, and RS Extensions 36
  • 37. Develop Custom Client Applications • Using ADO MD.NET, AMO, and XMLA in your own applications • Front-ending RS and ProClarity • Integrating with AdoMdServer and server-side assemblies • Using Data Mining Model Viewer controls • Visualization with WPF and Silverlight 37
  • 38. Summary • Microsoft SQL Server and his services are the basement for a complete solution, from data access to analysis, from data consolidation to performance management • Together with other Microsoft technologies can be used by Developers and IT Professionals to build powerful and flexible reporting and analysis solutions for the end users • Several class libraries and protocols helps solution developers to integrate these components in line of business applications in a easy and natural way – .NET Framework languages and technologies are the glue that connect these building blocks together 38
  • 39. Don’t forget the evalutations!! • Fill the evaluations and you’ll get – Windows Home Server (1st day) – Windows 7 Beta (2nd day) 39
  • 40. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Hyper-V, RemoteApp, Windows logo, Windows Start button, Windows Server Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. All other trademarks are property of their respective owners. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. 40