SQL SERVER 2008 R2 CTP

30
SQL SERVER 2008 R2 What’ s New Ashish Gilhotra : [email protected] Govind S Yadav : [email protected]

description

SQL SERVER 2008 R2 CTP

Transcript of SQL SERVER 2008 R2 CTP

Page 1: SQL SERVER 2008 R2 CTP

SQL SERVER 2008 R2What’ s New

Ashish Gilhotra : [email protected]

Govind S Yadav : [email protected]

Page 2: SQL SERVER 2008 R2 CTP

Who We Are?

Ashish Gilhotra- Database Professional - .Net Developer

Govind S Yadav- Database Professional

- Team Lead

Page 3: SQL SERVER 2008 R2 CTP

Agenda

Overview of SQL Server 2008

Major Enhancements from SQL Server 2008 to SQL Server 2008 R2

Page 4: SQL SERVER 2008 R2 CTP

SQL Server 2008 Overview

SQL Server 2008 is a very powerful tool of Microsoft. SQL Server 2008 comes up with many enhancements in Security, Availability, Performance, Management, Storage, Programmability, BI( Business Intelligence ) and SSRS (Reporting Services) .

Page 5: SQL SERVER 2008 R2 CTP

Security/Auditing

Transparent Data Encryption

External Key Management

Data Auditing

Availability/Reliability

Hot Pluggable CPU support

Enhanced Database Mirroring

  Performance

Data Compression

Backup Compression

Performance Data Collection

Improved Plan Guide Support

Resource Governor

Management

Policy based Management

Microsoft System Center Integration

Extended Events

Data Storage

Data Compression

FILESTREAM

Integrated Full Text Indexing

Sparse Columns

New Index Types

Development Enhancements

Improved Datatypes

HiarchyID

Entity Data Model

LinQ

Change Data Capture

Table Valued Parameters

Large UDTS

MERGE Statements

XML Enhancements

Service Broker Enhancements

Spatial Data

Data Warehousing/ETL

Partition Table Parallelism

Star Join Support

Persistent Lookups

Improved Thread Scheduling

MERGE Statement

Change Data Capture

Scale-out Analysis Services

Subspace Computations

Cube Design Enhancements

Data Mining Add-ins for Excel

Reporting

IIS Agnostic RS

Sharepoint Integration

Rich Text Support

Report Designer

Word/Excel Designing

Page 6: SQL SERVER 2008 R2 CTP

What’s R2 CTP Building on the momentum of SQL Server 2008, “R2” improves IT

efficiency by reducing the time and cost of developing and managing applications; empowers end users to make better decisions through Self-Service Business Intelligence and enables organizations to scale with confidence by providing high levels of reliability, security and scalability for business critical applications.

This public preview offers the opportunity to experience early, pre-release feature capabilities including: - Application and Multi-server Management - SMP scale up with support for up to 256 logical processors.- Report Builder 3.0 with support for geospatial visualization

This CTP provides the first opportunity to explore some of the features of SQL Server 2008 R2 and see how it all comes together to enhance performance and scalability, enable self-service BI and improve IT and developer efficiency.

Page 7: SQL SERVER 2008 R2 CTP

Scalability & Performance Enhancements

SQL Server 2008 R2 comes up with two new feature in scalability and performance enhancements:

Support for More Than 64 CPUs- The number of CPU cores that a server can use for database operations been increased from 64 to 512.

Unicode Compression-Unicode data that is stored in nvarchar(n) and nchar(n) columns is now compressed by using an implementation of the standard Compression Scheme for Unicode(SCSU) algorithm.

Contd…

Page 8: SQL SERVER 2008 R2 CTP

How Unicode Compression affects Data Storage

You can implement it simply when creating table: with(Data_Compression=ROW)

or after creating table: Alter Table [Name] REBUILD WITH(Data_Compression=ROW)

demo..

Locale Compression Percent

English 50%

German 50%

Hindi 50%

Turkish 48%

Vietnamese 39%

Japanese 15%

Page 9: SQL SERVER 2008 R2 CTP

Manageability Enhancements

SQL Server 2008 R2 introduces the SQL Server Utility for managing multiple instances of the SQL Server Database Engine. It also introduces a unit of management called a data-tier application that provides an application-based view for managing the data-tier objects in the SQL Server Utility or stand-alone instances of the Database Engine.

Page 10: SQL SERVER 2008 R2 CTP

Here are some features enhancements in manageability :

SQL Server utility

Data-Tier Application

SQL Server PowerShell Provider

Page 11: SQL SERVER 2008 R2 CTP

SQL Server Utility Creating a SQL Server UCP: Install a

single instance of SQL Server 2008 R2 database engine and then promote it to be the UCP.

Enroll Instances in UCP Setting Central Policies Using the Utility Explorer to display a

dashboard, for all enrolled instances.

Page 12: SQL SERVER 2008 R2 CTP
Page 13: SQL SERVER 2008 R2 CTP

Data-Tier Application

A DAC defines all of the Database Engine schema and instance objects, such as tables, views, and logins, required to support the application. The DAC operates as a single unit of management through the development, deployment, and management lifecycle of the associated application. The DAC also contains policies that define the deployment prerequisites for the DAC.

Page 14: SQL SERVER 2008 R2 CTP

Create a DAC package :- You can create a DAC package by simply expand database tree go to database then tasks and click on “Extract Data Tier Application”.

Deploy a DAC Package :- Again in SSMS expand Management tab then go to Data-Tier Applications right click on it and choose “Deploy Data-Tier application”.

Page 15: SQL SERVER 2008 R2 CTP
Page 16: SQL SERVER 2008 R2 CTP

SQL Server PowerShell Provider

SQL Server 2008 R2 introduces new SQLSERVER:\Utility and SQLSERVER:\DAC folders to support the SQL Server Utility and data-tier applications in PowerShell scripts.

Page 17: SQL SERVER 2008 R2 CTP

What’s New In Reporting Services

Report Builder 3.0 Map & Spatial Data Visualization ATOM Data Feeds Report Manager RDL Expression Language Enhancements

Page 18: SQL SERVER 2008 R2 CTP

Report Builder 3.0

It provides a better preview experience.

Dataset results are cached when connected to a report server, which speeds up making layout changes and previewing the new report.

Page 19: SQL SERVER 2008 R2 CTP
Page 20: SQL SERVER 2008 R2 CTP

Maps & Spatial Data Visualization

Report designer provides a Map Wizard & Map Layer Wizard to add maps & map layers to your report.

Maps can integrate ESRI shape files, as well as directly integrate with Bing Maps.

DEMO

Page 21: SQL SERVER 2008 R2 CTP
Page 22: SQL SERVER 2008 R2 CTP

Atom Data Feeds

Reports are now also available in the ATOM standard complaint format that can be consumed by GEMINI and other tools.

You can export a production report as a data feed or you can create a report whose primary purpose is provide data, in the form of data feeds, to applications.

Page 23: SQL SERVER 2008 R2 CTP

Report Manager

Report Manager has been updated in this release to provide a better user experience, and an improved look and feel.

Allowing more room for Report Viewer when rendering reports.

An updated Report Viewer toolbar, which includes some updates to the toolbar controls, as well as the ability to export report data to an Atom service document and data feeds.

Page 24: SQL SERVER 2008 R2 CTP

RDL Expression Language Enhancements

Enhancements in RDL

Direct Geo Spatial Data Three Lookup Functions

- Lookup Function- LookupSet Function- Multilookup Function

Contd..

Page 25: SQL SERVER 2008 R2 CTP

Lookup Function - This is a much awaited function developers looking for. This gives you the opportunity to join 2 datasets . Here the syntax for Lookup Functions

=Lookup(Source_exp, destination_exp, result_exp, Dataset)

Ex : We have two datasets “A” and “B” Then we have to get Name field from dataset “B” where id filed of dataset “A” matches storeid filed of dataset “B”. So here we can achieve it..

=Lookup(Fields!ID.Value, Fields!StoreId.Value, Fields!Name.Value, “B")

Page 26: SQL SERVER 2008 R2 CTP

Multiple lookup Functions :- Returns the set of first-match values for the specified set of names from a dataset that contains name/value pairs.- Same as lookup Function but use in this type of scenarios :

Ex: If we have a comma separated column “custlist” in a dataset and on other dataset we have “custid” with “custname” and we want “custname” on basis of custid then we do some thing like this

=Join(MultiLookup(Split(Fields!custlist.Value,","), Fields!custid.Value,Fields!custname.Value,“DsNm")), ", ")

Page 27: SQL SERVER 2008 R2 CTP

Lookup Set Function- It returns a set of matching values for the specified name from a dataset that contain name/value pair.

Lookup(source_expression, destination_expression, result_expression, dataset)

Page 28: SQL SERVER 2008 R2 CTP

Questions &

Answers

Page 29: SQL SERVER 2008 R2 CTP

Resources

What’s new section fot SQL Server 2008 R2http://technet.microsoft.com/hi-in/library/bb500435%28en-us,SQL.105%29.aspx

For latest SQL News you can go tohttp://blogs.technet.com/dataplatforminsider/default.aspx

To download SQL Server 2008 R2 visithttp://technet.microsoft.com/en-us/evalcenter/ee315247.aspx

Page 30: SQL SERVER 2008 R2 CTP

Thanks

For more Technology updates , keep visiting :

http://beyondrelational.com/blogs/ashish/