Download presentation
Presentation is loading. Please wait.
Published byErik May Modified over 9 years ago
1
SQL Server ® 2008 ® Native Client
2
Agenda Introduction to SQL Server Native Client Building High-Performance Data Access Solutions Going Beyond Relational Data Migrating Applications to SQL Server 2008
3
SQL Native Client Overview ODBC Driver OLE DB Provider Single native DLL New features only available when using SQL Server 2008 Supports SQL Server 2000 Onwards Provided with SQL Server 2008 Downloadable from MSDN Universally available to developers
4
Choosing a Data Access Technology ADO.NET – System.Data.SqlClient Microsoft.NET Framework SQL Server Native Client ODBC OLE DB Native code for SQL Server 2000 - 2008 Windows Data Access Components (Formerly MDAC) Native code for pre SQL Server 2000 SQL Server 2005 JDBC Driver Java
5
Agenda Introduction to SQL Server Native Client Building High-Performance Data Access Solutions Going Beyond Relational Data Migrating Applications to SQL Server 2008
6
SQL Native Client Performance High performance SQL Server client access SQL Server 2008 release Optimized at the network protocol level for both ODBC and OLE DB Upwards of 10% performance improvement
7
Table-Valued Parameters Encapsulate tabular data in client application Ship to the server in a single command Operate on the data as a table in Transact-SQL Improved programming model Significant performance benefits Cleaner, more maintainable code Better scalability for large data volumes
8
Agenda Introduction to SQL Server Native Client Building High-Performance Data Access Solutions Going Beyond Relational Data Migrating Applications to SQL Server 2008
9
Storage Attribute on VARBINARY(MAX) Unstructured data stored directly in the file system (requires NTFS) Dual Programming Model Transact-SQL (Same as SQL BLOB) Win32 Streaming APIs with Transact-SQL transactional semantics Data Consistency Integrated Manageability Back Up / Restore Administration Size limit is the file system volume size SQL Server Security Stack Store BLOBs in DB + File System Application BLOB FILESTREAM Data
10
Sparse Columns IDTitleFirstNameMiddleInitialLastNamePhone 1KeithHarris555 112233 2MrDavidPelton 3ElizabethAAnderson 4JoshPollock Enable NULL data to consume no physical space Access sparse columns directly or as XML-encoded name-value pairs SPARSESPARSESPARSE
11
User-Defined Types Implemented as CLR types Custom data structures Remove 8 KB size limit Enables more application scenarios SQL Server 2008 Enhancements
12
SELECT StreetName FROM Streets WHERE Streets.StreetGeo.STIntersects(@ms) = 1 Spatial Operations E.g. find streets that intersect the Microsoft campus geography data type Geodetic spatial data geometry data type Planar spatial data Spatial Data Types
13
ORDPATH Data Type Organization hierarchy, file/folder hierarchy, etc Tree-structured data and containment relationships Application manages the tree structure Modeled as (parent, child) pair parent-child relationship, ancestor-descendant relationship relative order of nodes in the tree unlimited insertion of new nodes anywhere in tree without re-id of existing nodes Data type to better represent hierarchical relationships Allows byte-by-byte comparison of whole ORDPATH values Optimizable Operations are very fast. Provides a Huffman-encoded, variable-length, binary representation
14
Agenda Introduction to SQL Server Native Client Building High-Performance Data Access Solutions Going Beyond Relational Data Migrating Applications to SQL Server 2008
15
Migrating from SQL Server 2005 Migrate only as needed SQL Server 2008 Native Client supports previous versions SQL Server 2005 Native Client supports SQL Server 2008 New features are unavailable SQL Server 2000 SQL Server 2005 SQL Server 2008 SQL Server 2005 Native Client SQL Server 2008 Native Client All features supported New features unsupported
16
Date and Time Data Types A date only data type date A time only data type time A time zone-aware data type datetimeoffset A datetime type that supports larger fractional seconds and year range than the datetime data type datetime2
17
Summary High-performance data access Powerful support for relational data and beyond Easy migration from previous releases and other database platforms
18
© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.