SlideShare a Scribd company logo
Praveen Srivatsa
Director, AsthraSoft Consulting
Microsoft Regional Director, Bangalore
Session Code:
Agenda
 Connecting to mySQL from .NET
 Leveraging SQL Reporting Services with mySQL
 Data
 Harvesting mySQL data into Analysis Services
 with SSIS
Objective
 In this session, we will talk about connecting to
 mySQL from the .NET world.
 We will then see how we can use SQL Reporting
 services with your data in mySQL and look at
 best practices in working with mySQL
 Lastly we will look at how we can use your
 mySQL data with SSIS and get the data into SQL
 Analysis Servcies
Leveraging your investments
In the short term, migrating from mySQL is a lot of
   work. You can preserve your investments in
   mySQL and leverage features of SQL Server
   2008 to get the most out of your current data.
   Lets take a look at how we can
   Use mySQL Data access from .NET
   Build Reporting Solutions on mySQL
   Transfer data for reporting and analysis using
   SSIS mySQL data
ODBC Solution
 Requirements
    Access Multiple DBMSs
       using same source code without recompiling and relinking
       Simultaneously
    Which DBMS features should ODBC expose ?
       Common to all DBMSs
       Any feature that is available in any DBMS
 Solves
    It is a Call Level Interface(CLI)
    Defines Standard SQL Grammar
    Driver Manager -> simultaneous access to multiple
    DBMSs
    Feature Set
ODBC Architecture
                    Application

                                                 ODBC API

              Driver Manager

                                                 ODBC API

     Driver     Driver         Driver   Driver




      Data      Data            Data     Data
     Source    Source          Source   Source
Connector/ODBC with .NET
• ODBC.NET Provider
   – Add-in component to the Microsoft.NET Framework
   – Directly accesses native ODBC drivers

• Setup
   – Microsoft .NET Framework SDK
   – MDAC 2.6 or later (2.7 is recommended)
   – ODBC.NET Provider (Microsoft.Data.Odbcname space)
      • Installed to “C:Program FilesMicrosoft.NETOdbc.Net”
ODBC.NET Architecture
              ODBC.NET Application

                                             ODBC.NET API

               ODBC.NET Provider

                                             ODBC API

     Driver         Driver      Connector/ODBC

                                             MySQL C API


      Data          Data
                                     MySQL
     Source        Source
Developing ODBC.NET Applications
 Main classes
  OdbcCommand                OdbcInfoMessageEventArgs
  OdbcCommandBuilder         OdbcParameter
  OdbcConnection             OdbcParameterCollection
  OdbcDataAdapter            OdbcPermission
  OdbcDataReader             OdbcPermissionAttribute
  OdbcError                  OdbcRowUpdatedEventArgs
  OdbcErrrorCollection       OdbcRowUpdatingEventArgs
  OdbcException              OdbcTransaction

  Enumeration Type           OdbcType

 Ref: ODBC.NET Data Provider Reference Document
Developing ODBC.NET Applications (cont..)

•   First, import the ODBC.NET namespace
    Imports Microsoft.Data.Odbc ( VB.net )
       using Microsoft.Data.Odbc (C# )

•   Connect to MySQL server by loading Connector/ODBC
    String myconStr= “DSN=myodbc3-test;…”
    OdbcConnectionmyOdbcCon= new OdbcConnection(myConStr)
    myOdbcCon.open()

•   Complete article on ‘Exploring MySQL in the .NET environment”
    can be found from here:
    http://www.mysql.com/articles/dotnet
mySQL Driver Programming Hints
 •   Direct linking with the driver will drastically increase the
     performance by a factor of ~40-50%

 •   Do not use the debug version of the driver DLL

 •   Turn off all ODBC and Connector/ODBC loggers

 •   Avoid using ODBC API calls that works on prepared results
     instead use it on execute call
Using Reporting Services
Harvesting your mySQL data
  SQL Server Reporting Services can report on
  data from any data source
     For connecting to mySQL, involves a lot of syntax
     changes
     Reports cannot be used across mySQL and SQL
     server easily
     Driver inconsistency leads to bad reporting
     experience
Using Linked Server
Bridging your data from mySQL to SQL Server
  SQL Server allows the definitions of Linked
  Servers
     Uses Data providers to connect to mySQL
     Shows the data as a SQL Server data to the outside
     world
     Allows for SQL syntax, but continues limitations of
     the drivers
     Enables for easy migration from mySQL to SQL
     Server later.
Using RS with Linked Server
Harvesting your mySQL data
  Leverage Linked Servers to connect to mySQL
     Makes connections to mySQL easier
     Can cache and operate on the data inside of SQL
     Server
     Makes migration to SQL Server easier with least
     code change
     Impact of performance less than 5%

  DO NOT USE THE DRIVER DIRECTLY!
Using Analysis Services
Integrating and Analysing mySQL data

  SSAS can connect to mySQL and use it as a store
  for OLTP reporting

     Very unstable
     Move to OLAP not smooth
     Performance issues with the mySQL Driver
Using Analysis Services
Integrating and Analysing mySQL data

  SSIS can connect to mySQL to look up
  information

     It can translate the data to OLTP in SQL or OLAP
     directly
     Excellent performance
     Rich pipeline transformations
mySQL Bi Architecture
  ASP.NET
                                     mySQL
                                      DB
                  ADO.NET Provider
 Reporting
  Services



   SSIS

             SQL Server
                DB
mySQL Bi Architecture
  ASP.NET
                                     mySQL
                                      DB
             SQL Server
 Reporting      DB        Linked Server
  Services




    SSIS
Summary
Harvesting your mySQL data for BI
  The mySQL ODBC.NET Drivers provide for a way
  to link to your mySQL data directly from .NET
  Reporting Services can use the .NET Drivers
  directly but not all features of RS can be
  leveraged with this
  Linked servers provide an excellent bridge and
  migration path from mySQL to SQL Server
  SSIS can connect to and use mySQL data for
  analysis services
Track Resources
ASP.NET with mySQL (http://www.codeproject.com/KB/webforms/MySQLsuite.aspx)



mySQL Ado.NET Provider (http://dev.mysql.com/downloads/connector/net/6.0.html)



mySQL ODBC Driver (http://dev.mysql.com/downloads/connector/odbc/5.1.html)
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
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.

More Related Content

What's hot

weblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseweblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server course
Nancy Thomas
 
Jsf login logout project
Jsf login logout projectJsf login logout project
Jsf login logout project
Gagandeep Singh
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
Murali Krishna Alluri
 
Mule database-connectors
Mule database-connectorsMule database-connectors
Mule database-connectors
Anand kalla
 
Easy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applicationsEasy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applications
Jack-Junjie Cai
 
Anypoint data gateway
Anypoint data gatewayAnypoint data gateway
Anypoint data gateway
Praneethchampion
 
Mule connectors
Mule  connectorsMule  connectors
Mule connectors
charan teja R
 
1. planning an sql server install
1. planning an sql server install1. planning an sql server install
1. planning an sql server install
prageeth Athulathmudali
 
Weblogic deployment
Weblogic deploymentWeblogic deployment
Weblogic deployment
Aditya Bhuyan
 
Overview Of Xaware
Overview Of XawareOverview Of Xaware
Overview Of Xaware
ghessler
 
DOSUG Tech Overview of XAware
DOSUG Tech Overview of XAwareDOSUG Tech Overview of XAware
DOSUG Tech Overview of XAware
Matthew McCullough
 
Sql azure data services OData
Sql azure data services ODataSql azure data services OData
Sql azure data services OData
Eduardo Castro
 
SQL Server Compact
SQL Server CompactSQL Server Compact
SQL Server Compact
Ayberk Demirci
 
SQL Reporting Services
SQL Reporting ServicesSQL Reporting Services
SQL Reporting Servicesneha mittal
 
Servlet programming
Servlet programmingServlet programming
Servlet programming
Mallikarjuna G D
 
Mule Esb Fundamentals
Mule Esb FundamentalsMule Esb Fundamentals
Mule Esb Fundamentals
mdfkhan625
 
Azure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPTAzure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPT
Radhakrishnan Govindan
 
Windows azure
Windows azureWindows azure
Windows azureyuvaraj72
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
Bluegrass Digital
 
Mule anypoint workday-connectors
Mule  anypoint workday-connectorsMule  anypoint workday-connectors
Mule anypoint workday-connectors
charan teja R
 

What's hot (20)

weblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server courseweblogic training | oracle weblogic online training | weblogic server course
weblogic training | oracle weblogic online training | weblogic server course
 
Jsf login logout project
Jsf login logout projectJsf login logout project
Jsf login logout project
 
Windows Azure
Windows AzureWindows Azure
Windows Azure
 
Mule database-connectors
Mule database-connectorsMule database-connectors
Mule database-connectors
 
Easy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applicationsEasy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applications
 
Anypoint data gateway
Anypoint data gatewayAnypoint data gateway
Anypoint data gateway
 
Mule connectors
Mule  connectorsMule  connectors
Mule connectors
 
1. planning an sql server install
1. planning an sql server install1. planning an sql server install
1. planning an sql server install
 
Weblogic deployment
Weblogic deploymentWeblogic deployment
Weblogic deployment
 
Overview Of Xaware
Overview Of XawareOverview Of Xaware
Overview Of Xaware
 
DOSUG Tech Overview of XAware
DOSUG Tech Overview of XAwareDOSUG Tech Overview of XAware
DOSUG Tech Overview of XAware
 
Sql azure data services OData
Sql azure data services ODataSql azure data services OData
Sql azure data services OData
 
SQL Server Compact
SQL Server CompactSQL Server Compact
SQL Server Compact
 
SQL Reporting Services
SQL Reporting ServicesSQL Reporting Services
SQL Reporting Services
 
Servlet programming
Servlet programmingServlet programming
Servlet programming
 
Mule Esb Fundamentals
Mule Esb FundamentalsMule Esb Fundamentals
Mule Esb Fundamentals
 
Azure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPTAzure AD connect- Deep Dive Webinar PPT
Azure AD connect- Deep Dive Webinar PPT
 
Windows azure
Windows azureWindows azure
Windows azure
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
 
Mule anypoint workday-connectors
Mule  anypoint workday-connectorsMule  anypoint workday-connectors
Mule anypoint workday-connectors
 

Viewers also liked

MODELOS
MODELOSMODELOS
MODELOS
Sharon Vargas
 
Competencia Imperfecta
Competencia ImperfectaCompetencia Imperfecta
Competencia Imperfecta
Miguel Altuve
 
Sesión 16 tema 8 la competencia imperfecta
Sesión 16 tema 8 la competencia imperfectaSesión 16 tema 8 la competencia imperfecta
Sesión 16 tema 8 la competencia imperfecta
aalcalar
 
El mercado y tipos
El mercado y tiposEl mercado y tipos
El mercado y tipos
Yumeibis Vargas
 
Competencia imperfecta
Competencia imperfectaCompetencia imperfecta
Competencia imperfecta
Eliecer Cunningham
 
Competencia imperfecta
Competencia imperfectaCompetencia imperfecta
Competencia imperfecta
Felipe Mera
 
Presentacion De Monopolio 2
Presentacion De Monopolio 2Presentacion De Monopolio 2
Presentacion De Monopolio 2
Jacky Molina
 
competencia perfecta e imperfecta
competencia perfecta e imperfectacompetencia perfecta e imperfecta
competencia perfecta e imperfecta
Edwin Alexis SemiNArio Beltran
 
Competencia perfecta e imperfecta.
Competencia perfecta e imperfecta.Competencia perfecta e imperfecta.
Competencia perfecta e imperfecta.Flavio Gómez Profe
 

Viewers also liked (11)

MODELOS
MODELOSMODELOS
MODELOS
 
Monopolio
MonopolioMonopolio
Monopolio
 
Competencia Imperfecta
Competencia ImperfectaCompetencia Imperfecta
Competencia Imperfecta
 
Sesión 16 tema 8 la competencia imperfecta
Sesión 16 tema 8 la competencia imperfectaSesión 16 tema 8 la competencia imperfecta
Sesión 16 tema 8 la competencia imperfecta
 
El mercado y tipos
El mercado y tiposEl mercado y tipos
El mercado y tipos
 
Monopolios
MonopoliosMonopolios
Monopolios
 
Competencia imperfecta
Competencia imperfectaCompetencia imperfecta
Competencia imperfecta
 
Competencia imperfecta
Competencia imperfectaCompetencia imperfecta
Competencia imperfecta
 
Presentacion De Monopolio 2
Presentacion De Monopolio 2Presentacion De Monopolio 2
Presentacion De Monopolio 2
 
competencia perfecta e imperfecta
competencia perfecta e imperfectacompetencia perfecta e imperfecta
competencia perfecta e imperfecta
 
Competencia perfecta e imperfecta.
Competencia perfecta e imperfecta.Competencia perfecta e imperfecta.
Competencia perfecta e imperfecta.
 

Similar to Ms Sql Business Inteligence With My Sql

Database synchronization prashant parit
Database synchronization   prashant paritDatabase synchronization   prashant parit
Database synchronization prashant parit
PrashantP23
 
Java Database Connectivity
Java Database ConnectivityJava Database Connectivity
Java Database Connectivitybackdoor
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1webhostingguy
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1webhostingguy
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1webhostingguy
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1webhostingguy
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1webhostingguy
 
0065 using sequelink
0065 using sequelink0065 using sequelink
0065 using sequelink
Janardhan Reddy
 
SQL Azure the database in the cloud
SQL Azure the database in the cloud SQL Azure the database in the cloud
SQL Azure the database in the cloud
Eduardo Castro
 
JDBC java for learning java for learn.ppt
JDBC java for learning java for learn.pptJDBC java for learning java for learn.ppt
JDBC java for learning java for learn.ppt
kingkolju
 
Jdbc
JdbcJdbc
Building Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using MicrosoftBuilding Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using Microsoftwebhostingguy
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
Mario Beck
 
Airline report
Airline reportAirline report
Airline report
SimranBani
 
Chap3 3 12
Chap3 3 12Chap3 3 12
Chap3 3 12
Hemo Chella
 

Similar to Ms Sql Business Inteligence With My Sql (20)

Database synchronization prashant parit
Database synchronization   prashant paritDatabase synchronization   prashant parit
Database synchronization prashant parit
 
Mobile
MobileMobile
Mobile
 
Java Database Connectivity
Java Database ConnectivityJava Database Connectivity
Java Database Connectivity
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1
 
Introduction to MySQL - Part 1
Introduction to MySQL - Part 1Introduction to MySQL - Part 1
Introduction to MySQL - Part 1
 
0065 using sequelink
0065 using sequelink0065 using sequelink
0065 using sequelink
 
JDBC.ppt
JDBC.pptJDBC.ppt
JDBC.ppt
 
SQL Azure the database in the cloud
SQL Azure the database in the cloud SQL Azure the database in the cloud
SQL Azure the database in the cloud
 
JDBC java for learning java for learn.ppt
JDBC java for learning java for learn.pptJDBC java for learning java for learn.ppt
JDBC java for learning java for learn.ppt
 
dvprimer-architecture
dvprimer-architecturedvprimer-architecture
dvprimer-architecture
 
jdbc
jdbcjdbc
jdbc
 
Jdbc
JdbcJdbc
Jdbc
 
Building Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using MicrosoftBuilding Enterprise Interoperability Applications Using Microsoft
Building Enterprise Interoperability Applications Using Microsoft
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
 
Airline report
Airline reportAirline report
Airline report
 
Jdbc
JdbcJdbc
Jdbc
 
Chap3 3 12
Chap3 3 12Chap3 3 12
Chap3 3 12
 

More from rsnarayanan

Kevin Ms Web Platform
Kevin Ms Web PlatformKevin Ms Web Platform
Kevin Ms Web Platformrsnarayanan
 
Harish Understanding Aspnet
Harish Understanding AspnetHarish Understanding Aspnet
Harish Understanding Aspnetrsnarayanan
 
Harish Aspnet Dynamic Data
Harish Aspnet Dynamic DataHarish Aspnet Dynamic Data
Harish Aspnet Dynamic Datarsnarayanan
 
Harish Aspnet Deployment
Harish Aspnet DeploymentHarish Aspnet Deployment
Harish Aspnet Deploymentrsnarayanan
 
Whats New In Sl3
Whats New In Sl3Whats New In Sl3
Whats New In Sl3rsnarayanan
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...rsnarayanan
 
Advanced Silverlight
Advanced SilverlightAdvanced Silverlight
Advanced Silverlightrsnarayanan
 
Occasionally Connected Systems
Occasionally Connected SystemsOccasionally Connected Systems
Occasionally Connected Systemsrsnarayanan
 
Developing Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And ServicesDeveloping Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And Servicesrsnarayanan
 
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...rsnarayanan
 
J Query The Write Less Do More Javascript Library
J Query   The Write Less Do More Javascript LibraryJ Query   The Write Less Do More Javascript Library
J Query The Write Less Do More Javascript Libraryrsnarayanan
 
Windows 7 For Developers
Windows 7 For DevelopersWindows 7 For Developers
Windows 7 For Developersrsnarayanan
 
What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1rsnarayanan
 
Ux For Developers
Ux For DevelopersUx For Developers
Ux For Developersrsnarayanan
 
A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8rsnarayanan
 
App Arch Guide (Dons)
App Arch Guide (Dons)App Arch Guide (Dons)
App Arch Guide (Dons)rsnarayanan
 

More from rsnarayanan (20)

Walther Aspnet4
Walther Aspnet4Walther Aspnet4
Walther Aspnet4
 
Walther Ajax4
Walther Ajax4Walther Ajax4
Walther Ajax4
 
Kevin Ms Web Platform
Kevin Ms Web PlatformKevin Ms Web Platform
Kevin Ms Web Platform
 
Harish Understanding Aspnet
Harish Understanding AspnetHarish Understanding Aspnet
Harish Understanding Aspnet
 
Walther Mvc
Walther MvcWalther Mvc
Walther Mvc
 
Harish Aspnet Dynamic Data
Harish Aspnet Dynamic DataHarish Aspnet Dynamic Data
Harish Aspnet Dynamic Data
 
Harish Aspnet Deployment
Harish Aspnet DeploymentHarish Aspnet Deployment
Harish Aspnet Deployment
 
Whats New In Sl3
Whats New In Sl3Whats New In Sl3
Whats New In Sl3
 
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
Silverlight And .Net Ria Services – Building Lob And Business Applications Wi...
 
Advanced Silverlight
Advanced SilverlightAdvanced Silverlight
Advanced Silverlight
 
Netcf Gc
Netcf GcNetcf Gc
Netcf Gc
 
Occasionally Connected Systems
Occasionally Connected SystemsOccasionally Connected Systems
Occasionally Connected Systems
 
Developing Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And ServicesDeveloping Php Applications Using Microsoft Software And Services
Developing Php Applications Using Microsoft Software And Services
 
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
Build Mission Critical Applications On The Microsoft Platform Using Eclipse J...
 
J Query The Write Less Do More Javascript Library
J Query   The Write Less Do More Javascript LibraryJ Query   The Write Less Do More Javascript Library
J Query The Write Less Do More Javascript Library
 
Windows 7 For Developers
Windows 7 For DevelopersWindows 7 For Developers
Windows 7 For Developers
 
What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1What Is New In Wpf 3.5 Sp1
What Is New In Wpf 3.5 Sp1
 
Ux For Developers
Ux For DevelopersUx For Developers
Ux For Developers
 
A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8A Lap Around Internet Explorer 8
A Lap Around Internet Explorer 8
 
App Arch Guide (Dons)
App Arch Guide (Dons)App Arch Guide (Dons)
App Arch Guide (Dons)
 

Recently uploaded

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 

Recently uploaded (20)

Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 

Ms Sql Business Inteligence With My Sql

  • 1.
  • 2. Praveen Srivatsa Director, AsthraSoft Consulting Microsoft Regional Director, Bangalore Session Code:
  • 3. Agenda Connecting to mySQL from .NET Leveraging SQL Reporting Services with mySQL Data Harvesting mySQL data into Analysis Services with SSIS
  • 4. Objective In this session, we will talk about connecting to mySQL from the .NET world. We will then see how we can use SQL Reporting services with your data in mySQL and look at best practices in working with mySQL Lastly we will look at how we can use your mySQL data with SSIS and get the data into SQL Analysis Servcies
  • 5. Leveraging your investments In the short term, migrating from mySQL is a lot of work. You can preserve your investments in mySQL and leverage features of SQL Server 2008 to get the most out of your current data. Lets take a look at how we can Use mySQL Data access from .NET Build Reporting Solutions on mySQL Transfer data for reporting and analysis using SSIS mySQL data
  • 6. ODBC Solution Requirements Access Multiple DBMSs using same source code without recompiling and relinking Simultaneously Which DBMS features should ODBC expose ? Common to all DBMSs Any feature that is available in any DBMS Solves It is a Call Level Interface(CLI) Defines Standard SQL Grammar Driver Manager -> simultaneous access to multiple DBMSs Feature Set
  • 7. ODBC Architecture Application ODBC API Driver Manager ODBC API Driver Driver Driver Driver Data Data Data Data Source Source Source Source
  • 8. Connector/ODBC with .NET • ODBC.NET Provider – Add-in component to the Microsoft.NET Framework – Directly accesses native ODBC drivers • Setup – Microsoft .NET Framework SDK – MDAC 2.6 or later (2.7 is recommended) – ODBC.NET Provider (Microsoft.Data.Odbcname space) • Installed to “C:Program FilesMicrosoft.NETOdbc.Net”
  • 9. ODBC.NET Architecture ODBC.NET Application ODBC.NET API ODBC.NET Provider ODBC API Driver Driver Connector/ODBC MySQL C API Data Data MySQL Source Source
  • 10. Developing ODBC.NET Applications Main classes OdbcCommand OdbcInfoMessageEventArgs OdbcCommandBuilder OdbcParameter OdbcConnection OdbcParameterCollection OdbcDataAdapter OdbcPermission OdbcDataReader OdbcPermissionAttribute OdbcError OdbcRowUpdatedEventArgs OdbcErrrorCollection OdbcRowUpdatingEventArgs OdbcException OdbcTransaction Enumeration Type OdbcType Ref: ODBC.NET Data Provider Reference Document
  • 11. Developing ODBC.NET Applications (cont..) • First, import the ODBC.NET namespace Imports Microsoft.Data.Odbc ( VB.net ) using Microsoft.Data.Odbc (C# ) • Connect to MySQL server by loading Connector/ODBC String myconStr= “DSN=myodbc3-test;…” OdbcConnectionmyOdbcCon= new OdbcConnection(myConStr) myOdbcCon.open() • Complete article on ‘Exploring MySQL in the .NET environment” can be found from here: http://www.mysql.com/articles/dotnet
  • 12. mySQL Driver Programming Hints • Direct linking with the driver will drastically increase the performance by a factor of ~40-50% • Do not use the debug version of the driver DLL • Turn off all ODBC and Connector/ODBC loggers • Avoid using ODBC API calls that works on prepared results instead use it on execute call
  • 13. Using Reporting Services Harvesting your mySQL data SQL Server Reporting Services can report on data from any data source For connecting to mySQL, involves a lot of syntax changes Reports cannot be used across mySQL and SQL server easily Driver inconsistency leads to bad reporting experience
  • 14. Using Linked Server Bridging your data from mySQL to SQL Server SQL Server allows the definitions of Linked Servers Uses Data providers to connect to mySQL Shows the data as a SQL Server data to the outside world Allows for SQL syntax, but continues limitations of the drivers Enables for easy migration from mySQL to SQL Server later.
  • 15. Using RS with Linked Server Harvesting your mySQL data Leverage Linked Servers to connect to mySQL Makes connections to mySQL easier Can cache and operate on the data inside of SQL Server Makes migration to SQL Server easier with least code change Impact of performance less than 5% DO NOT USE THE DRIVER DIRECTLY!
  • 16. Using Analysis Services Integrating and Analysing mySQL data SSAS can connect to mySQL and use it as a store for OLTP reporting Very unstable Move to OLAP not smooth Performance issues with the mySQL Driver
  • 17. Using Analysis Services Integrating and Analysing mySQL data SSIS can connect to mySQL to look up information It can translate the data to OLTP in SQL or OLAP directly Excellent performance Rich pipeline transformations
  • 18. mySQL Bi Architecture ASP.NET mySQL DB ADO.NET Provider Reporting Services SSIS SQL Server DB
  • 19. mySQL Bi Architecture ASP.NET mySQL DB SQL Server Reporting DB Linked Server Services SSIS
  • 20. Summary Harvesting your mySQL data for BI The mySQL ODBC.NET Drivers provide for a way to link to your mySQL data directly from .NET Reporting Services can use the .NET Drivers directly but not all features of RS can be leveraged with this Linked servers provide an excellent bridge and migration path from mySQL to SQL Server SSIS can connect to and use mySQL data for analysis services
  • 21.
  • 22.
  • 23. Track Resources ASP.NET with mySQL (http://www.codeproject.com/KB/webforms/MySQLsuite.aspx) mySQL Ado.NET Provider (http://dev.mysql.com/downloads/connector/net/6.0.html) mySQL ODBC Driver (http://dev.mysql.com/downloads/connector/odbc/5.1.html)
  • 24. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. 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.

Editor's Notes

  1. Unlike other providers SQL splits planar and non planar data into two separate types. Geometry and geography.Non planar data is all about projections. If you think about maps of the world they have to use some form of projection to convert the elliptical surface of the earth into a flat map. In other providers they store the data in a planar projection and then perform the projection to workout the geographic calculations.We mentioned earlier that the spatial data is only in 2 dimensions. Whilst you can hold two other values Z and M for points they are not used in any of the spatial methods .