SlideShare a Scribd company logo
What’s New for Developers in
SQL Server 2008 & 2012
Jigisha Sanghvi
Head - Products
MAIA Intelligence Pvt. Ltd.
jigisha@maia-intelligence.com
Agenda
 SQL Server 2008
 SQL Server 2012 (Denali)
 Demo
New Data Types
 HIERARCHY ID
   Model the traditional employee/manager relationship

 New Date & Time data types
   DATE, TIME, DATETIMEOFFSET, DATETIME2 & functions to deal
   with them
Spatial Data
 PROLIFERATION OF GEOGRAPHICAL DATA
   GPS Systems
   Virtual Earth, Live Search Maps etc

 NEW OPPORTUNITIES FOR SPATIALLY AWARE APPS
   Route planning
   Land assessment
   Territory analysis

 SQL Server 2008
   Storage and retrieval of spatial data using standard SQL syntax
Spatial Data Types
 COMPREHENSIVE SUPPORT
   Flat Earth (Planar) - geometry
   Round Earth (Geodetic) – geography

 CLR SYSTEM TYPES
   Microsoft.SqlServer.Types.Geo[metry | graphy]
   Host of useful spatial methods / properties (OGC)
   Importing of WKT / WKB (OGC) and GML data

 HIGH PERFORMANCE
   Integrated into SQL 2008
   Spatial Index support
Queries
 LINQ was introduced with Visual Studio 2008

 SQL 2008 ships with a LINQ to SQL Provider which
 allows LINQ commands directly against SQL Server

 ADO.NET Entity framework allows developers to
 create database queries using entities
Database Mirroring
 Compressed log steam to minimize network bandwidth

 Automatic page repair for both principal and mirror

 New DMVs (Dynamic Management Views)

 Additional mirroring performance counters
Changing the game with SSIS
 Integration Services (SSIS) provides a scalable
 enterprise data integration platform with ETL and
 integration capabilities, enabling organizations to
 more easily manage data from a wide array of data
 sources
 Moves and transforms data between sources and
 destinations, regardless of format
 Cleanses data and ensures data integrity
 Integrates heterogeneous data sources
SQL Server Integration Services
 New Script Environment for Script Tasks & Components
   VSTA replaces VSA (deprecated)
    – C# language programmability
    – More of the familiar VS environment

 ADO.NET Source and Destination
   OLEDB source/destinations still there 

 Data Profiling Task & Viewer
SQL Server Integration Services
 Data Flow performance
   In 2005, an execution tree (even with branches) is executed on a
   single thread
   In 2008, this is handled differently (i.e. better)

 Lookup Transformation
   Share cached lookup across packages
   More granular control over cache use for matched/non-matched
   data

 Additional changes elsewhere
   MERGE, Change Data Capture, Data Types, etc.
MERGE
 DML statement combining multiple operations into one




 source                   Merge             target
                    match so UPDATE


                   no match so INSERT


                no source match so DELETE
Merge Statement
    Merge statement works as an insert, update, delete statement all
    at once
    Works on two sources of data, the source and the target

Merge Main.dbo.TestTable as Target
Using (Select Col1, col2 from stage.dbo.TestTable) as Source
On Target.TableKey = Source.TableKey
When Matched [and condition]
           Then Update Set Col1 = Source.Col1,
                                  Col2 = Source.Col2
When Matched [and condition]
           Then Delete
When Not Matched
           Then Insert (Col1, Col2) values (Col1, Col2)
Output $action, Inserted.TableKey, Deleted.TableKey
ADO.NET Synchronisation Services
 Synchronisation Framework
   Online/Offline Applications     Server DB

   2-tier, N-tier architectures
 Set of components
   Sync Classes
   Client Database
    – SQL Server Compact Edition
   Server Database
                                    Client DB
    – Any ADO.NET store
 “Service” Based Approach
ADO.NET Synchronisation Services
                                                  Server DB




                   Transport


 Client Sync   Proxy
                  Sync     Service                Server Sync
  Provider        Agent                            Provider




                                                        Sync
                                                      Adapters
                   Sync Table
                                     Sync Group
 Client DB
SSAS
 SQL Server Analysis Services (SSAS) delivers online
 analytical processing (OLAP - commonly referred to
 as “cubes”) and data mining functionality for
 business intelligence applications
 Includes advanced analytical features such as
 complete data mining and KPI frameworks
 Enables organizations to accommodate multiple
 analytic needs within one solution
SSRS
 Reporting Services provides a full range of ready-to-use tools
 and services to help create, deploy, and manage reports for
 organization, as well as programming features that enable
 you to extend and customize your reporting functionality
 Provides a complete reporting platform so that end-users can
 view data using a Web browser or desk top
 Includes report authoring tools for both technical developers
 and business users
 Allows web-based viewing and rendering in popular
 document formats such as XLS and PDF
 Contains robust e-mail subscription capability
Reporting Services

Dependency on IIS has gone

New Design Surface

New Visualisations

Table + Matrix = Tablix

Delivery via Microsoft Office
Reach All your Users with                                      Pervasive
                                                               Insight
Scalable BI platform
                               Deliver insights throughout your
  Scalable Report Engine       organization
                                  Deliver reports of any size at
                                  enterprise scale
     Scale out Analysis           Scale out through read-only Analysis
                                  Services storage
                                  Enhance analytical capabilities with
                                  more complex computations and
  Subspace Computations           aggregations
                               Deploy and manage your BI
                               infrastructure
  New Cube Design Tools           Streamline development of the
                                  analysis infrastructure with new cube
                                  design tools
 Best Practice Design Alerts      Optimize cube design with real time
                                  best practice alerts
                                  Backup cubes with enhanced
                                  scalability
   Scalable Backup Tools
Extended Events (XEvent)
    High performance eventing system for SQL
          Integrates with Event Tracing for Windows (ETW)
          Possibility of end-to-end tracing

    DDL for managing event sessions on a server
                                  Where to
                                   send it      Data to
                                                  log
                                                            Filters



“When”
 to log
Platform Enhancements
 Transparent Data Encryption (TDE)
   Encrypt my data on disk transparent to applications

 Database Compression (not in CTP5)
   ROW / PAGE Compression

 Integrated Full Text Search (not in CTP5)
   Easier to deploy / manage and better performance

 Declarative Management Framework
   Establish policies for monitoring or compliance
SQL Server 2008
Transparent Data Encryption         SQL Server Change Tracking       Star Join
External Key Management             Synchronized Programming Model   Enterprise Reporting Engine
Data Auditing                       Visual Studio Support            Internet Report
Pluggable CPU                       SQL Server Conflict Detection    Deployment
Transparent Failover for Database   FILESTREAM data type             Block Computations
Mirroring                           Integrated Full Text Search      Scale out Analysis
Declarative Management Framework    Sparse Columns                   BI Platform Management
Server Group Management             Large User Defined Types         Export to Word and Excel
Streamlined Installation            Date/Time Data Type              Author reports in Word and
Enterprise System Management                                         Excel
                                    LOCATION data type
Performance Data Collection                                          Report Builder
                                    SPATIAL data type                Enhancements
System Analysis                     Virtual Earth Integration        TABLIX
Data Compression                    Partitioned Table Parallelism    Rich Formatted Data
Query Optimization Modes            Query Optimizations              Personalized Perspectives
Resource Governor                   Persistent Lookups               … and many more
Entity Data Model                   Change Data Capture
LINQ                                Backup Compression
Visual Entity Designer              MERGE SQL Statement
Entity Aware Adapters               Data Profiling
SQL Server 2012
Codename: Denali
SQL Server Denali (2012)
 Contained Database
 FileTables
 Sequence Objects
 Columnstore Indexes
 AlwaysOn SQL Server Failover Cluster Instance
 Indirect Checkpoints
 Dynamic Management Views
Contained Database
 A contained database includes all database settings and metadata
 required to define the database and has no configuration
 dependencies on the instance of the SQL Server Database Engine
 where the database is installed
 Moving databases from one instance of the SQL Server Database
 Engine to another instance of the Database Engine is simplified by
 introducing contained databases
 Users in a contained database are no longer associated with logins
 on the instance of SQL Server
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
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
FileTables in SQL Server Denali
 The FileTable feature builds on top of the SQL Server
 FILESTREAM technology
 The FileTable feature bring support for the Windows
 file namespace and compatibility with Windows
 applications to the file data stored in SQL Server
 We Can easily store files and documents in special
 tables in SQL Server, but access them from Windows
 applications as if they were stored in the file system,
 without making any changes to the Windows
 applications
Sequence Objects
 A sequence object is a user-defined schema-bound
 object that generates a sequence of numeric values
 according to the specification
 The sequence of numeric values is generated in an
 ascending or descending order at a defined interval
 and may cycle (repeat) as requested
 It operates similar to an identity column, but sequence
 numbers are not restricted to use in a single table
 A sequence is created independently of the tables by
 using the CREATE SEQUENCE statement
Sequence Objects
 Use sequences instead of identity columns in the following
 scenarios:
    The application requires a number before the insert into the table is
    made.
    The application requires sharing a single series of numbers between
    multiple tables or multiple columns within a table
    The application must restart the number series when a specified
    number is reached. For example, after assigning values 1 through 10,
    the application starts assigning values 1 through 10 again
    You need to change the specification of the sequence, such as the
    increment value
Columnstore Indexes
 The Microsoft SQL Server Code-Named “Denali”,
 Community Technology Preview 3 (CTP 3) introduces a
 new data warehouse query acceleration feature based
 on a new type of index called the columnstore
 Columnstore indexes can transform the data
 warehousing experience for users by enabling faster
 performance for common data warehousing queries
 such as filtering, aggregating, grouping, and star-join
 queries
AlwaysOn feature
 AlwaysOn Failover Cluster Instance provides instance
 level failover
   Multi-subnet failover clusters
   Flexible failover policy for cluster health detection
 SQL Server AlwaysOn Availability Group
   Deploying AlwaysOn Availability Groups involves creating and
   configuring one or more availability groups
   An availability group is a container that defines a set user
   databases (availability databases) to fail over as a single unit,
   and a set of availability replicas to host copies of each
   availability database
Indirect Checkpoints
 The indirect checkpoints feature provides a database-specific
 alternative to automatic checkpoints, which are configured
 by a server property
 Indirect checkpoints implements a new checkpointing
 algorithm for the Database Engine
 This algorithm provides a more accurate guarantee of
 database recovery time in the event of a crash or a failover
 than is provided by automatic checkpoints
 To ensure that database recovery does not exceed allowable
 downtime for a given database, you can specify the
 maximum allowable downtime for that database
Dynamic Management Views
 sys.dm_exec_query_stats - Added four columns to help
 troubleshoot long running queries. You can use the total_rows,
 min_rows, max_rows and last_rows aggregate row count
 columns to separate queries that are returning a large number
 of rows from problematic queries that may be missing an index
 or have a bad query plan
 sys.dm_os_volume_stats - This dynamic management functions
 returns information about the operating system volume
 (directory) on which the specified databases and files are
 stored. Use this dynamic management function to check the
 attributes of the physical disk drive or return available free
 space information about the directory
Dynamic Management Views
 sys.dm_os_windows_info - This dynamic
 management view returns one row that displays
 Windows operating system version information such
 as the OS version or language ID
 sys.dm_server_memory_dumps,
 sys.dm_server_services, sys.dm_server_registry -
 These dynamic management views return property
 information associated with the SQL Server, Full-
 text, and SQL Server Agent services that are installed
 on the host server
About MAIA Intelligence
BI Software Product Company
First Indian Software Product Company
in Business Intelligence space
 India-based company, founded in 2006 in Mumbai

 Broad Base of 100+ Enterprise & OEM Customers

 High customer success rate

 Trusted by 45000+ users

 25+ global consulting and OEM partners

 Team of 50 Technocrats
MAIA Intelligence Journey
        2006             2007              2008              2009              2010              2011

• First Indian    • NASSCOM         • Microsoft       • Most            • 1KEY Agile BI   • Winner of
  Business          100 IT            Solution          Successful        Suite tested      Microsoft
  Intelligence      Innovator         Directory         Startup           and gets          SMS&P ISV
  (BI) Software   • MAIA in Red     • NICSI Tender    • NIC               ‘Works with       Partner of the
  Product           Herring ATRE,   • Gartner Hype      recommends        Windows           Year Award at
  company -         a Global          Cycle Report      MAIA for TDB      Server 2008’      MPS 2011
  MAIA              technology                        • Gartner BI        compatibility   • 1KEY BI tested
                                    • Red Herring
  Intelligence      Summit                              Market Trend • Winner of            and works
                                      Asia Finalist
  established       hosted by Red                                         Microsoft ISV     with MS SQL
                                      100             • MAIA case
                    Herring                             study by          Innovation        Server 2012
                                    • Most Trusted
                                                        Microsoft         Award at
                                      IT Vendor -
                                                                          Microsoft ISV
                                      CTO             • Windows 7
                                                                          Day 2010
                                                      • Gartner SaaS
                                                                        • Finalist for
                                                        BI Report
                                                                          India’s
                                                      • Red Herring       Business IT
                                                        Asia Winner &     Innovation at
                                                        Global Finalist   UTV’s CXO
                                                                          Award 2010
Our Customers
Our Customers
Our Products
 1KEY Agile BI Suite –Reporting & Analysis
 Software
 1KEY FCM – Financial Consolidation
 Management software
 postXBRL - extensible Business Reporting
 Language Software
1KEY BI
Awards & Affiliations
Microsoft Association
Microsoft SQL Server 2012 Virtual
Launch Event www.maia-intelligence.com/sql-2012-vle.htm
Š 2012 MAIA Intelligence Pvt. Ltd. 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 MAIA Intelligence as of the date of this presentation. Because MAIA Intelligence must respond to changing market
          conditions, it should not be interpreted to be a commitment on the part of MAIA, and MAIA cannot guarantee the accuracy of any information provided after the date of this presentation.
                                 MAIA Intelligence MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related Content

What's hot (19)

PDF
SQL Server 2008 New Features
Dan English
 
PPTX
SSRS for DBA's
Jonathan Bloom
 
PDF
Microsoft SQL server 2017 Level 300 technical deck
George Walters
 
PPTX
Ssrs 2008 R2 webinar
Snigdha Chotani
 
PDF
BI Dashboards with SQL Server
Eduardo Castro
 
PPTX
SQLUG event: An evening in the cloud: the old, the new and the big
Mike Martin
 
PPT
SQL Reporting Services
neha mittal
 
PPTX
Sql Azure Pass
sqlserver.co.il
 
PPTX
Autoservicio de inteligencia de negocios
Eduardo Castro
 
PDF
BI Dashboards with SQL Server 2008 R2
Eduardo Castro
 
PPTX
Building applications using sql azure
pedrojcj
 
PPT
BI 2008 Simple
llangit
 
PPTX
SQL Azure the database in the cloud
Eduardo Castro
 
PPT
It ready dw_day3_rev00
Siwawong Wuttipongprasert
 
PPTX
Introducing SQL Server Data Services
goodfriday
 
PPTX
Migrating on premises workload to azure sql database
PARIKSHIT SAVJANI
 
PDF
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
Javier Villegas
 
PDF
Customer migration to azure sql database from on-premises SQL, for a SaaS app...
George Walters
 
PPTX
SQL Server 2008 Overview
David Chou
 
SQL Server 2008 New Features
Dan English
 
SSRS for DBA's
Jonathan Bloom
 
Microsoft SQL server 2017 Level 300 technical deck
George Walters
 
Ssrs 2008 R2 webinar
Snigdha Chotani
 
BI Dashboards with SQL Server
Eduardo Castro
 
SQLUG event: An evening in the cloud: the old, the new and the big
Mike Martin
 
SQL Reporting Services
neha mittal
 
Sql Azure Pass
sqlserver.co.il
 
Autoservicio de inteligencia de negocios
Eduardo Castro
 
BI Dashboards with SQL Server 2008 R2
Eduardo Castro
 
Building applications using sql azure
pedrojcj
 
BI 2008 Simple
llangit
 
SQL Azure the database in the cloud
Eduardo Castro
 
It ready dw_day3_rev00
Siwawong Wuttipongprasert
 
Introducing SQL Server Data Services
goodfriday
 
Migrating on premises workload to azure sql database
PARIKSHIT SAVJANI
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
Javier Villegas
 
Customer migration to azure sql database from on-premises SQL, for a SaaS app...
George Walters
 
SQL Server 2008 Overview
David Chou
 

Viewers also liked (20)

PPTX
SQL Server 2012 and SharePoint 2010: Reporting Nirvana
Randy Williams
 
PPTX
SSRS integration with share point
Jacob Chang
 
PPTX
VisĂŁo geral do Analysis Services
Felipe Ferreira
 
DOCX
Articulo
Yhasmani Torrez Lascano
 
PPTX
As continuity editing
Miss Eardley
 
DOC
Interdicto de recobrar
Cynthia Garcia Valenzuela
 
PPTX
Used to intermediate
ramiro cebreiros alvarez
 
PPTX
BUSQUEDA AVANZA CON GOOGLE
frankevin259
 
PPTX
沖縄水産高校 だれでもみんなふくしんちゅ
Tatsuhiko Uehara
 
PDF
Boletim informativo de MarĂ­lia - Novembro de 2009
Governo do Estado de SĂŁo Paulo
 
DOC
Geogebra
guest4648ef84
 
PDF
Portafolio Plano de Conjunto
Andrea Quevedo
 
DOCX
Notulen presentatie Mike van Rijswijk door Julia Venner
Dag van het MKB
 
DOCX
Actividades i mĂłdulo ecampus
Yhasmani Torrez Lascano
 
PPT
2011 blog 1
HsiuKuan
 
PPT
Frans kochen presentatie marktwerking in de ggz-casus internettherapie
Dag van het MKB
 
PDF
Afiche johnsons pantone
miguelhijar
 
PDF
HIGO 第二高校Bチーム
higodottaku
 
PPT
Taller eCampus
Yhasmani Torrez Lascano
 
PPTX
Contabilidad
DianiiiGGG
 
SQL Server 2012 and SharePoint 2010: Reporting Nirvana
Randy Williams
 
SSRS integration with share point
Jacob Chang
 
VisĂŁo geral do Analysis Services
Felipe Ferreira
 
As continuity editing
Miss Eardley
 
Interdicto de recobrar
Cynthia Garcia Valenzuela
 
Used to intermediate
ramiro cebreiros alvarez
 
BUSQUEDA AVANZA CON GOOGLE
frankevin259
 
沖縄水産高校 だれでもみんなふくしんちゅ
Tatsuhiko Uehara
 
Boletim informativo de MarĂ­lia - Novembro de 2009
Governo do Estado de SĂŁo Paulo
 
Geogebra
guest4648ef84
 
Portafolio Plano de Conjunto
Andrea Quevedo
 
Notulen presentatie Mike van Rijswijk door Julia Venner
Dag van het MKB
 
Actividades i mĂłdulo ecampus
Yhasmani Torrez Lascano
 
2011 blog 1
HsiuKuan
 
Frans kochen presentatie marktwerking in de ggz-casus internettherapie
Dag van het MKB
 
Afiche johnsons pantone
miguelhijar
 
HIGO 第二高校Bチーム
higodottaku
 
Taller eCampus
Yhasmani Torrez Lascano
 
Contabilidad
DianiiiGGG
 
Ad

Similar to Microsoft SQL Server 2012 (20)

PDF
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
PPTX
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
Andrew Brust
 
PDF
SQL Server 2008 Migration
Mark Ginnebaugh
 
PDF
An overview of microsoft data mining technology
Mark Tabladillo
 
PPT
SQL Server 2008 for Developers
llangit
 
PPT
SQL Server 2008 for .NET Developers
llangit
 
PPT
Tech Days09 Sqldev
llangit
 
PDF
An overview of Microsoft data mining technology
Mark Tabladillo
 
PDF
Session 2: SQL Server 2012 with Christian Malbeuf
CTE Solutions Inc.
 
PDF
Secrets of Enterprise Data Mining
Mark Tabladillo
 
PPT
SQL Server 2008 Positioning
ukdpe
 
PDF
SQL Server Integration Services – Enterprise Manageability
Dan English
 
PDF
Microsoft SQL Server Distributing Data with R2 Bertucci
Mark Ginnebaugh
 
PDF
Microsoft India – SQL Server 2008 R2 Datasheet
Microsoft Private Cloud
 
PDF
Sql Server2008
Microsoft Iceland
 
PPTX
Sql server 2008 business intelligence tdm deck
Klaudiia Jacome
 
PPTX
Introducing SQL Server Data Services
goodfriday
 
PDF
Self service BI with sql server 2008 R2 and microsoft power pivot short
Eduardo Castro
 
PDF
SQL Server 2008 Fast Track Data Warehouse
Mark Ginnebaugh
 
PDF
Sql 2008 For Developers
Mithun T. Dhar
 
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
SQL Server Workshop for Developers - Visual Studio Live! NY 2012
Andrew Brust
 
SQL Server 2008 Migration
Mark Ginnebaugh
 
An overview of microsoft data mining technology
Mark Tabladillo
 
SQL Server 2008 for Developers
llangit
 
SQL Server 2008 for .NET Developers
llangit
 
Tech Days09 Sqldev
llangit
 
An overview of Microsoft data mining technology
Mark Tabladillo
 
Session 2: SQL Server 2012 with Christian Malbeuf
CTE Solutions Inc.
 
Secrets of Enterprise Data Mining
Mark Tabladillo
 
SQL Server 2008 Positioning
ukdpe
 
SQL Server Integration Services – Enterprise Manageability
Dan English
 
Microsoft SQL Server Distributing Data with R2 Bertucci
Mark Ginnebaugh
 
Microsoft India – SQL Server 2008 R2 Datasheet
Microsoft Private Cloud
 
Sql Server2008
Microsoft Iceland
 
Sql server 2008 business intelligence tdm deck
Klaudiia Jacome
 
Introducing SQL Server Data Services
goodfriday
 
Self service BI with sql server 2008 R2 and microsoft power pivot short
Eduardo Castro
 
SQL Server 2008 Fast Track Data Warehouse
Mark Ginnebaugh
 
Sql 2008 For Developers
Mithun T. Dhar
 
Ad

More from Dhiren Gala (20)

PDF
Big Data for Retail
Dhiren Gala
 
PDF
MAIA Intelligence profiled on DQ Channel Tree
Dhiren Gala
 
PPTX
XBRL on SaaS Platform
Dhiren Gala
 
PDF
Barriers to Business Intelligence (BI)
Dhiren Gala
 
PPTX
Compliance to Compete
Dhiren Gala
 
PPTX
XBRL Overview
Dhiren Gala
 
PDF
An Introduction To XBRL
Dhiren Gala
 
PPTX
XBRL Presentation
Dhiren Gala
 
PDF
Financial Consolidation Management
Dhiren Gala
 
PPTX
Experiments with Social Media & Networking
Dhiren Gala
 
PDF
Best Deployment: Raymond opts for 1KEY FCM - Financial Consolidation
Dhiren Gala
 
PPTX
KPI Dashboard for Port Terminals
Dhiren Gala
 
PDF
Business Intelligence in Logistics
Dhiren Gala
 
PDF
Business Intelligence in Pharma
Dhiren Gala
 
PPTX
Marketing Analytics with Business Intelligence
Dhiren Gala
 
PDF
BI at work for Port Operations
Dhiren Gala
 
PDF
Confluent - Monthly magazine by Symbiosis Centre for IT - September 2010
Dhiren Gala
 
PDF
India's first Business Intelligence (BI)
Dhiren Gala
 
PDF
Business Intelligence (BI) for Manufacturing
Dhiren Gala
 
PDF
Shifting Trends - BI for Logistics Industry
Dhiren Gala
 
Big Data for Retail
Dhiren Gala
 
MAIA Intelligence profiled on DQ Channel Tree
Dhiren Gala
 
XBRL on SaaS Platform
Dhiren Gala
 
Barriers to Business Intelligence (BI)
Dhiren Gala
 
Compliance to Compete
Dhiren Gala
 
XBRL Overview
Dhiren Gala
 
An Introduction To XBRL
Dhiren Gala
 
XBRL Presentation
Dhiren Gala
 
Financial Consolidation Management
Dhiren Gala
 
Experiments with Social Media & Networking
Dhiren Gala
 
Best Deployment: Raymond opts for 1KEY FCM - Financial Consolidation
Dhiren Gala
 
KPI Dashboard for Port Terminals
Dhiren Gala
 
Business Intelligence in Logistics
Dhiren Gala
 
Business Intelligence in Pharma
Dhiren Gala
 
Marketing Analytics with Business Intelligence
Dhiren Gala
 
BI at work for Port Operations
Dhiren Gala
 
Confluent - Monthly magazine by Symbiosis Centre for IT - September 2010
Dhiren Gala
 
India's first Business Intelligence (BI)
Dhiren Gala
 
Business Intelligence (BI) for Manufacturing
Dhiren Gala
 
Shifting Trends - BI for Logistics Industry
Dhiren Gala
 

Recently uploaded (20)

PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
July Patch Tuesday
Ivanti
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
Designing Production-Ready AI Agents
Kunal Rai
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
July Patch Tuesday
Ivanti
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Biography of Daniel Podor.pdf
Daniel Podor
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Designing Production-Ready AI Agents
Kunal Rai
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 

Microsoft SQL Server 2012

  • 1. What’s New for Developers in SQL Server 2008 & 2012 Jigisha Sanghvi Head - Products MAIA Intelligence Pvt. Ltd. [email protected]
  • 2. Agenda SQL Server 2008 SQL Server 2012 (Denali) Demo
  • 3. New Data Types HIERARCHY ID Model the traditional employee/manager relationship New Date & Time data types DATE, TIME, DATETIMEOFFSET, DATETIME2 & functions to deal with them
  • 4. Spatial Data PROLIFERATION OF GEOGRAPHICAL DATA GPS Systems Virtual Earth, Live Search Maps etc NEW OPPORTUNITIES FOR SPATIALLY AWARE APPS Route planning Land assessment Territory analysis SQL Server 2008 Storage and retrieval of spatial data using standard SQL syntax
  • 5. Spatial Data Types COMPREHENSIVE SUPPORT Flat Earth (Planar) - geometry Round Earth (Geodetic) – geography CLR SYSTEM TYPES Microsoft.SqlServer.Types.Geo[metry | graphy] Host of useful spatial methods / properties (OGC) Importing of WKT / WKB (OGC) and GML data HIGH PERFORMANCE Integrated into SQL 2008 Spatial Index support
  • 6. Queries LINQ was introduced with Visual Studio 2008 SQL 2008 ships with a LINQ to SQL Provider which allows LINQ commands directly against SQL Server ADO.NET Entity framework allows developers to create database queries using entities
  • 7. Database Mirroring Compressed log steam to minimize network bandwidth Automatic page repair for both principal and mirror New DMVs (Dynamic Management Views) Additional mirroring performance counters
  • 8. Changing the game with SSIS Integration Services (SSIS) provides a scalable enterprise data integration platform with ETL and integration capabilities, enabling organizations to more easily manage data from a wide array of data sources Moves and transforms data between sources and destinations, regardless of format Cleanses data and ensures data integrity Integrates heterogeneous data sources
  • 9. SQL Server Integration Services New Script Environment for Script Tasks & Components VSTA replaces VSA (deprecated) – C# language programmability – More of the familiar VS environment ADO.NET Source and Destination OLEDB source/destinations still there  Data Profiling Task & Viewer
  • 10. SQL Server Integration Services Data Flow performance In 2005, an execution tree (even with branches) is executed on a single thread In 2008, this is handled differently (i.e. better) Lookup Transformation Share cached lookup across packages More granular control over cache use for matched/non-matched data Additional changes elsewhere MERGE, Change Data Capture, Data Types, etc.
  • 11. MERGE DML statement combining multiple operations into one source Merge target match so UPDATE no match so INSERT no source match so DELETE
  • 12. Merge Statement Merge statement works as an insert, update, delete statement all at once Works on two sources of data, the source and the target Merge Main.dbo.TestTable as Target Using (Select Col1, col2 from stage.dbo.TestTable) as Source On Target.TableKey = Source.TableKey When Matched [and condition] Then Update Set Col1 = Source.Col1, Col2 = Source.Col2 When Matched [and condition] Then Delete When Not Matched Then Insert (Col1, Col2) values (Col1, Col2) Output $action, Inserted.TableKey, Deleted.TableKey
  • 13. ADO.NET Synchronisation Services Synchronisation Framework Online/Offline Applications Server DB 2-tier, N-tier architectures Set of components Sync Classes Client Database – SQL Server Compact Edition Server Database Client DB – Any ADO.NET store “Service” Based Approach
  • 14. ADO.NET Synchronisation Services Server DB Transport Client Sync Proxy Sync Service Server Sync Provider Agent Provider Sync Adapters Sync Table Sync Group Client DB
  • 15. SSAS SQL Server Analysis Services (SSAS) delivers online analytical processing (OLAP - commonly referred to as “cubes”) and data mining functionality for business intelligence applications Includes advanced analytical features such as complete data mining and KPI frameworks Enables organizations to accommodate multiple analytic needs within one solution
  • 16. SSRS Reporting Services provides a full range of ready-to-use tools and services to help create, deploy, and manage reports for organization, as well as programming features that enable you to extend and customize your reporting functionality Provides a complete reporting platform so that end-users can view data using a Web browser or desk top Includes report authoring tools for both technical developers and business users Allows web-based viewing and rendering in popular document formats such as XLS and PDF Contains robust e-mail subscription capability
  • 17. Reporting Services Dependency on IIS has gone New Design Surface New Visualisations Table + Matrix = Tablix Delivery via Microsoft Office
  • 18. Reach All your Users with Pervasive Insight Scalable BI platform Deliver insights throughout your Scalable Report Engine organization Deliver reports of any size at enterprise scale Scale out Analysis Scale out through read-only Analysis Services storage Enhance analytical capabilities with more complex computations and Subspace Computations aggregations Deploy and manage your BI infrastructure New Cube Design Tools Streamline development of the analysis infrastructure with new cube design tools Best Practice Design Alerts Optimize cube design with real time best practice alerts Backup cubes with enhanced scalability Scalable Backup Tools
  • 19. Extended Events (XEvent) High performance eventing system for SQL Integrates with Event Tracing for Windows (ETW) Possibility of end-to-end tracing DDL for managing event sessions on a server Where to send it Data to log Filters “When” to log
  • 20. Platform Enhancements Transparent Data Encryption (TDE) Encrypt my data on disk transparent to applications Database Compression (not in CTP5) ROW / PAGE Compression Integrated Full Text Search (not in CTP5) Easier to deploy / manage and better performance Declarative Management Framework Establish policies for monitoring or compliance
  • 21. SQL Server 2008 Transparent Data Encryption SQL Server Change Tracking Star Join External Key Management Synchronized Programming Model Enterprise Reporting Engine Data Auditing Visual Studio Support Internet Report Pluggable CPU SQL Server Conflict Detection Deployment Transparent Failover for Database FILESTREAM data type Block Computations Mirroring Integrated Full Text Search Scale out Analysis Declarative Management Framework Sparse Columns BI Platform Management Server Group Management Large User Defined Types Export to Word and Excel Streamlined Installation Date/Time Data Type Author reports in Word and Enterprise System Management Excel LOCATION data type Performance Data Collection Report Builder SPATIAL data type Enhancements System Analysis Virtual Earth Integration TABLIX Data Compression Partitioned Table Parallelism Rich Formatted Data Query Optimization Modes Query Optimizations Personalized Perspectives Resource Governor Persistent Lookups … and many more Entity Data Model Change Data Capture LINQ Backup Compression Visual Entity Designer MERGE SQL Statement Entity Aware Adapters Data Profiling
  • 23. SQL Server Denali (2012) Contained Database FileTables Sequence Objects Columnstore Indexes AlwaysOn SQL Server Failover Cluster Instance Indirect Checkpoints Dynamic Management Views
  • 24. Contained Database A contained database includes all database settings and metadata required to define the database and has no configuration dependencies on the instance of the SQL Server Database Engine where the database is installed Moving databases from one instance of the SQL Server Database Engine to another instance of the Database Engine is simplified by introducing contained databases Users in a contained database are no longer associated with logins on the instance of SQL Server
  • 25. 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
  • 26. 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
  • 27. FileTables in SQL Server Denali The FileTable feature builds on top of the SQL Server FILESTREAM technology The FileTable feature bring support for the Windows file namespace and compatibility with Windows applications to the file data stored in SQL Server We Can easily store files and documents in special tables in SQL Server, but access them from Windows applications as if they were stored in the file system, without making any changes to the Windows applications
  • 28. Sequence Objects A sequence object is a user-defined schema-bound object that generates a sequence of numeric values according to the specification The sequence of numeric values is generated in an ascending or descending order at a defined interval and may cycle (repeat) as requested It operates similar to an identity column, but sequence numbers are not restricted to use in a single table A sequence is created independently of the tables by using the CREATE SEQUENCE statement
  • 29. Sequence Objects Use sequences instead of identity columns in the following scenarios: The application requires a number before the insert into the table is made. The application requires sharing a single series of numbers between multiple tables or multiple columns within a table The application must restart the number series when a specified number is reached. For example, after assigning values 1 through 10, the application starts assigning values 1 through 10 again You need to change the specification of the sequence, such as the increment value
  • 30. Columnstore Indexes The Microsoft SQL Server Code-Named “Denali”, Community Technology Preview 3 (CTP 3) introduces a new data warehouse query acceleration feature based on a new type of index called the columnstore Columnstore indexes can transform the data warehousing experience for users by enabling faster performance for common data warehousing queries such as filtering, aggregating, grouping, and star-join queries
  • 31. AlwaysOn feature AlwaysOn Failover Cluster Instance provides instance level failover Multi-subnet failover clusters Flexible failover policy for cluster health detection SQL Server AlwaysOn Availability Group Deploying AlwaysOn Availability Groups involves creating and configuring one or more availability groups An availability group is a container that defines a set user databases (availability databases) to fail over as a single unit, and a set of availability replicas to host copies of each availability database
  • 32. Indirect Checkpoints The indirect checkpoints feature provides a database-specific alternative to automatic checkpoints, which are configured by a server property Indirect checkpoints implements a new checkpointing algorithm for the Database Engine This algorithm provides a more accurate guarantee of database recovery time in the event of a crash or a failover than is provided by automatic checkpoints To ensure that database recovery does not exceed allowable downtime for a given database, you can specify the maximum allowable downtime for that database
  • 33. Dynamic Management Views sys.dm_exec_query_stats - Added four columns to help troubleshoot long running queries. You can use the total_rows, min_rows, max_rows and last_rows aggregate row count columns to separate queries that are returning a large number of rows from problematic queries that may be missing an index or have a bad query plan sys.dm_os_volume_stats - This dynamic management functions returns information about the operating system volume (directory) on which the specified databases and files are stored. Use this dynamic management function to check the attributes of the physical disk drive or return available free space information about the directory
  • 34. Dynamic Management Views sys.dm_os_windows_info - This dynamic management view returns one row that displays Windows operating system version information such as the OS version or language ID sys.dm_server_memory_dumps, sys.dm_server_services, sys.dm_server_registry - These dynamic management views return property information associated with the SQL Server, Full- text, and SQL Server Agent services that are installed on the host server
  • 35. About MAIA Intelligence BI Software Product Company
  • 36. First Indian Software Product Company in Business Intelligence space India-based company, founded in 2006 in Mumbai Broad Base of 100+ Enterprise & OEM Customers High customer success rate Trusted by 45000+ users 25+ global consulting and OEM partners Team of 50 Technocrats
  • 37. MAIA Intelligence Journey 2006 2007 2008 2009 2010 2011 • First Indian • NASSCOM • Microsoft • Most • 1KEY Agile BI • Winner of Business 100 IT Solution Successful Suite tested Microsoft Intelligence Innovator Directory Startup and gets SMS&P ISV (BI) Software • MAIA in Red • NICSI Tender • NIC ‘Works with Partner of the Product Herring ATRE, • Gartner Hype recommends Windows Year Award at company - a Global Cycle Report MAIA for TDB Server 2008’ MPS 2011 MAIA technology • Gartner BI compatibility • 1KEY BI tested • Red Herring Intelligence Summit Market Trend • Winner of and works Asia Finalist established hosted by Red Microsoft ISV with MS SQL 100 • MAIA case Herring study by Innovation Server 2012 • Most Trusted Microsoft Award at IT Vendor - Microsoft ISV CTO • Windows 7 Day 2010 • Gartner SaaS • Finalist for BI Report India’s • Red Herring Business IT Asia Winner & Innovation at Global Finalist UTV’s CXO Award 2010
  • 40. Our Products 1KEY Agile BI Suite –Reporting & Analysis Software 1KEY FCM – Financial Consolidation Management software postXBRL - extensible Business Reporting Language Software
  • 44. Microsoft SQL Server 2012 Virtual Launch Event www.maia-intelligence.com/sql-2012-vle.htm
  • 45. Š 2012 MAIA Intelligence Pvt. Ltd. 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 MAIA Intelligence as of the date of this presentation. Because MAIA Intelligence must respond to changing market conditions, it should not be interpreted to be a commitment on the part of MAIA, and MAIA cannot guarantee the accuracy of any information provided after the date of this presentation. MAIA Intelligence MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Editor's Notes

  • #37: MAIA Intelligence is a whole new kind of software company.Our 1KEY BI tool uniquely solves critical business problems for large and small companies alike.It’s generating significant results for business users worldwide.The proof is that 1KEY BI users are the most successful and satisfied in the industry.That’s why 1KEY has been adopted at more than 100 corporate companies.A lot of people ask us ”Why does 1KEY BI have so much market traction and growth?”It’s because it takes a totally different approach to BI.Think about Google.They simplified the process of searching information for hundreds of millions of consumers.Like Google, 1KEY has simplified accessing and analyzing business information.