View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
SQL SERVER 2008 R2What’ s New Ashish Gilhotra : email@example.com Govind S Yadav : firstname.lastname@example.org
Who We Are? Ashish Gilhotra- Database Professional - .Net Developer Govind S Yadav- Database Professional - Team Lead
Agenda Overview of SQL Server 2008 Major Enhancements from SQL Server 2008 to SQL Server 2008 R2
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) .
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
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.
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…
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..
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.
Here are some features enhancements in manageability : SQL Server utility Data-Tier Application SQL Server PowerShell Provider
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.
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.
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”.
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
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.
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.
RDL Expression Language Enhancements Enhancements in RDL Direct Geo Spatial Data Three Lookup Functions- Lookup Function- LookupSet Function- Multilookup Function Contd..
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")
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")), ", ")
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)
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
Thanks For more Technology updates , keep visiting :http://beyondrelational.com/blogs/ashish/