69
Spark the future.

Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Embed Size (px)

Citation preview

Page 1: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Spark the future.

Page 2: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Victor Isakov

Realizing the Benefits of Upgrading Microsoft SQL Server

DAT342

Page 3: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SpeakerVictor Isakov is a Database Architect / Trainer / Author who provides consulting and training services to various organizations in the public, private and NGO sectors globally. He participates in different capacities at various international events and conferences. Victor specializes in:

• Designing SQL Server infrastructure solutions and upgrade strategies• Architecting OLTP, DSS and DW database solutions• Performance troubleshooting and optimization• Customized on premise training and mentoring

Email [email protected]

Blog www.victorisakov.com

Twitter @victorisakov

LinkedIn www.linkedin.com/in/victorisakov

Website www.BespokeSQL.com.au

Page 4: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

AbstractWith Microsoft planning to release a new version of SQL Server every couple of years your organisation should take a new approach to upgrading your SQL Server solution(s) so as to realise numerous benefits and maximize your return on investment. You should consider an upgrade project as an opportunity to make your SQL Server infrastructure more resilient, agile and optimized.In this session we will concentrate on the refactoring opportunities that you can take advantage of to improve performance, manageability or availability. With useful tips and examples along the way this should prove to be a very practical session that can help you build the case for upgrading SQL Server within your organisation.

Page 5: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Motivation / Rationale• “Business As Usual” Mentality

• Upgrade like-for-like• No innovation• No analysis of new capabilities to see if there is a fit• No re-investigation if current solution is still optimal / relevant

• “Groundhog Day” Databases• Database “stuck” doing the same thing day in, day out

• Organizations not getting value for investment• Licensing Cost: Enterprise Agree / Software Assurance• Storage Cost• No improvement in throughput which would translate to business benefits

• Goal: Change the conversation with business

Page 6: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Agenda• Current State• Upgrade Process• Database Engine Configuration• Manageability• High Availability• Database• Refactoring Opportunities• Future State

Page 7: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Current State

Page 8: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Industry Observations• Microsoft is planning on releasing a new version of SQL

Server every 18-24 months• SQL Azure updated every 4 months

• Industry is still managing SQL Server like they were in the 1990’s• In a lot of cases even more risk averse• Need to be more agile• Less processes for SQL Server infrastructure compared to other IT

infrastructure• Change Management• Release Management• Incident Management

• SQL Server 2005 support ends April 12, 2016

Page 9: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Upgrade Blockers• Vendor

• Software not supported on later SQL Server editions• Learn from “mistakes of past”

• Risk• Database / code will break after• Unknown dependencies• A lot of risk is “perceived risk”

• Lack of Resources• IT Pro / Developers• Domain level knowledge• There are plenty of tools out there than can help analyze your

current state

Page 10: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Caveats• Applying Previous Knowledge / Experience

• Example: Failover Clustering

• Automatically Using New Functionality• Examples: Availability Groups, Failover Clustering: Fileshare

Witness

• “Business As Usual Forever” (BAUF) Mentality• Start engaging the business• Start thinking tactically, strategically

• Processes• Technology by itself rarely delivers• Need to change you processes

Page 11: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Upgrade Process

Page 12: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Opportunity• An upgrade project represents an opportunity to

standardize, optimize, consolidate, etc• Learn from the “mistakes of the past”

• Develop SOE for Windows• Standardization• Disk layout• Windows Core

• Develop SOE for SQL Server• Standardization• Configuration

• Define Tiers

Page 13: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Tiers• Define Tiers for your SQL Server infrastructure

• For most organizations 3 tiers are sufficient• Consider future growth• Consider Azure

• Define Service Levels for Tiers• Important to engage the business for Service Levels:• Importance to business• Performance• Availability

• Map applications to appropriate Tiers• Decouple an application from a SQL Server instance• An application becomes a service that gets delivered to the business• Goal is provide agility at the application level

Page 14: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Tiers (Concept)

DATABASE

TIER 1 TIER 2 TIER 3

A B C A B C A B

• Separate LUNs for Data and Log• Separate LUNs for TEMPDB’s

Data and Log

• Separate LUNs for Data and Log

• 8 vCPUs• 128 GB• AG

• 4 vCPUs

• 64 GB• Cluster

• 4 vCPUs

• 32 GB

• 4 vCPUs

• 32 GB• Cluster

• 4 vCPUs

• 16 GB

• 2 vCPUs

• 8 GB

• 2 vCPUs

• 8 GB

• 1 vCPU• 4 GB

LOB App X

SharePoint X

BizTalk X

VMware ESX

X

GIS X X

Page 15: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Environments• Developer (DEV)

• Can use SQL Server Developer Edition to reduce licensing costs

• User, Acceptance & Testing (UAT)• Can use SQL Server Developer Edition to reduce licensing costs

• Production (PROD)

• Consider using cloud for UAT (and DEV) environments

Page 16: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SQL Server Features

Page 17: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SQL Server Time Lines• Microsoft is more aggressively releasing new

version of SQL Server going forward

SQL Server Version RTM Date Delta

SQL Server 2016 US Summer 2016* < 24 months

SQL Server 2014 April 2014 25 months

SQL Server 2012 March 2012 23 months

SQL Server 2008 R2 April 2010 20 months

SQL Server 2008 August 2008 33 months

SQL Server 2005 November 2005 120 months

SQL Server 2000 November 2000 24 months

SQL Server 7.0 November 1998 -

Page 18: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SQL Server 2008 (R2)• Compression

• Page compression• Row compression

• Backup Compression• Added to SQL Server Standard Edition in SQL Server 2008 R2

• Extended Events• FILESTREAM• New DATE and TIME Data Types

Page 19: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SQL Server 2012• Availability Groups

• “Evolution of Database Mirroring”• Secondary replicas can be readable• Can have multiple readable secondary replicas• Can run DBCC / backup operations off secondary replicas

• Columnstore Indexes• Read-only• Nonclustered

Page 20: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SQL Server 2014• Clustered Columnstore Indexes• Buffer Pool Extensions

• Available in all SQL Server SKUs

• Availability Group Enhancements• 8 replicas• Improved availability with the readable secondaries when the primary

replica being “offline”

• In-Memory OLTP Tables• Memory-optimized database engine integrated into the SQL Server

engine• In-Memory OLTP is optimized for OLTP

• Delayed Durability

Page 21: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database Engine Configuration

Page 22: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Maximum Memory Support• SQL Server 2014 Standard Edition Supports 128GB

• Earlier versions of SQL Server were limited with the amount of RAM supported

• SQL Server 2012: 64GB• SQL Server 2008R2: 64GB• SQL Server 2008: Operating system maximum• SQL Server 2005: Operating system maximum

• Take Advantage of Window Server Core• Much smaller memory footprint• Additional benefits• Reduced “surface area”• Less patching required*• Ability to achieve higher virtualization densities• Supported since SQL Server 2012

Page 23: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Buffer Pool Extension (BPE)

• Benefits• Increased random I/O throughput• Reduced I/O latency• Increased transaction throughput• Improved read performance with a

larger hybrid buffer pool• A caching architecture that can take

advantage of present and future low-cost memory drives

• Extend SQL Server’s Buffer Pool to Flash Storage• Designed for OLTP workloads• Only clean pages are written to BPE file• No need for RAID• Offload I/O path from SAN, SMB shares, etc

Page 24: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database Engine Configuration• optimize for ad hoc workloads

• Improves efficiency of the plan cache for workloads that contain many single use ad hoc batches

• When a batch is compiled for the first time the Database Engine only stores a small compiled plan stub in the plan cache, instead of the full compiled plan

• Helps to relieve memory pressure by not allowing the plan cache to become filled with compiled plans that are not reused

• backup compression default• Determines whether the server instance creates compressed backups by default

• blocked process threshold• Specifies the threshold (in seconds) at which blocked process reports are

generated• Uses the Deadlock Monitor background thread• The blocked process report is done on a best effort basis• There is no guarantee of any real-time or even close to real-time reporting

Page 25: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Deadlock Management• Contention is often overlooked as root cause for

performance problems• 1204 and 1222 Trace Flags are so “old school”• Investigate how to use Extended Events instead

• Store in database repository• Email developers through database engine whenever a

deadlock occurs• Great way of getting deadlocks solved

Page 26: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Trace Flags• Investigate trace flags and assess whether they

are appropriate for your SQL Server SOEsTRACE FLAG

DESCRIPTION Source

1117 Ensures equal autogrowth of all files in file group Fast Track DW 2.0 Architecture

1118 [tempdb] system database optimization(Use uniform extents only)

BOL

1204 / 1222 Deadlock detection BOL

3023 CHECKSUM option is automatically enabled for the BACKUP command

KB2656988

3226 Prevents successful backup operations from being logged to ERRORLOG

BOL

4199 Query Optimizer fixes BOL

Page 27: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Manageability

Page 28: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Backup Compression• Released in SQL Server 2008• Supported in Standard Edition since SQL Server

2008 R2• Controlled at Different Levels

• Server Level• BACKUP statement

Page 29: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Trace Flag 3023 (Backup CHECKSUMs)• Trace flag 3023 automatically enables the CHECKSUM option

for the BACKUP command• Validation of page checksum if the database has the PAGE_VERIFY option set

to CHECKSUM and the database page was last written by using checksum protection

• Generation of a backup checksum over the backup streams that are written to the backup file

• Documented: KB2656988

• Use to make sure that all backups use the backup CHECKSUM• You do not have to rewrite all the existing backup scripts• You use utilities such as log shipping or maintenance plans• These utilities and the associated stored procedures do not provide a CHECKSUM option

• SQL Server 2014: ‘backup checksum default’

Page 30: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

High Availability

Page 31: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

High Availability Technology• Availability Groups seem to be the “high

availability de jour”• Make sure you understand the use case for

Failover Clustering versus Availability Groups• It very much depends on your application

• Very highly recommended to implement a Proof-of-Concept

Page 32: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Failover Clustering• Be careful with applying previous knowledge and

experience• Failover Clustering has substantially changed in

Windows Server 2012 / R2• Quorum types• Fileshare Witness• Dynamic Quorum• Network configuration• NIC Teaming• SMB 3 Support

• Make sure you re-evaluate Windows Server 2012 / R2

Page 33: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Failover Clustering: Configuration• “Classic” configuration

• 2 separate networks• 1 dedicated to cluster traffic• 1 dedicated to cluster and client traffic• IPv6 disabled

• (Fileshare Witness)

Page 34: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Availability Groups• Multiple replicas with their own

storage• 2 replicas in failover pair• Asynchronous / synchronous• Replicas can be utilized:• Read-only workloads• Backups• Database consistency checks

• Caveats• Databases must use FULL recovery model• Can affect application behaviour /

performance• Job management more complex

Page 35: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Availability Group Overhead• CRM database solution

• 2TB OLTP database• 6TB document store database

• Existing solution• SQL Server 2008 R2• Failover Cluster + disk-based SAN

• New solution• SQL Server 2014• Availability Groups with local PCIeSSDs

• Key batch processes• End-of-Day• End-of-Week

Page 36: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Availability Group Overhead

No AG AG (FO) AG (FO + Sync) FCI0

20

40

60

80

100

120

140

160

29

70 68

8074

84 81

138

40

7281

102

Daily Overnight Rebuild

Min Max Average

No AG AG (FO) AG (FO + Sync) FCI0

100

200

300

400

500

600

700

212

436475

500

248

468513

634

227

452494

522

Weekend Overnight Rebuild

Min Max Average

Page 37: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Delayed Durability• Introduced in SQL Server 2014• Allows client applications to continue without

waiting for acknowledgement of COMMIT from transaction log

• Not hardening logs effectively before commit• Potentially very useful for Availability Groups• BE AWARE OF IMPLICATIONS!

Page 38: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database(s)

Page 39: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database File Layout• Databases are only getting larger

• Impacts recoverability• Impacts disaster recovery• Difficult to manage

• Take advantage of file groups• Improved backup / restore capabilities• Improved storage / capacity / performance management• SELECT * FROM sys.dm_io_virtual_file_stats

Page 40: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database File Layout Example

Page 41: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

sys.dm_io_virtual_file_stats

File Name Number of Reads

Number of Bytes Read

I/O Stall Read

I/O Stall Queued Read (ms)

Number of Writes

Number of Bytes Written

I/O Stall Write (ms)

I/O Stall Queued Write (ms)

I/O Stall Size on Disk (bytes)

System 21,167,0163,307,566,972,9

2813,926,11

9 036,838,93

6430,417,707,0

0826,817,93

0 040,744,04

990,855,440,38

4

Log 35,307 63,196,548,096 88,158 053,295,31

9597,217,190,4

0028,414,50

7 028,502,66

5104,857,600,0

00

Indexes 18,295,8351,224,097,431,5

5211,704,40

6 026,995,16

0252,918,013,9

5218,969,15

0 030,673,55

648,003,153,92

0Deprecated 4,674 9,367,928,832 30,768 0 269 6,307,840 158 0 30,926 403,701,760Audit 84 5,005,312 87 0 16 131,072 5 0 92 104,857,600Temp 84 5,005,312 75 0 16 131,072 5 0 80 104,857,600

AccountMedia 1,830,9632,371,033,858,0

4838,852,55

6 0 9,865 129,916,928 4,109 038,856,66

581,893,785,60

0

AccountRebuildLog 594,016 403,912,130,560 1,244,190 0 46,657 634,077,184 33,863 01,278,05313,258,981,37

6

Entry 9,375,1443,432,744,927,2

3214,745,79

0 0 67,365 2,995,478,528 54,579 014,800,36

9106,430,464,0

00

Entry_Indexes 2,473,552 562,829,582,336 3,615,644 0 4,645,61442,354,139,13

6 3,916,374 07,532,01824,851,251,20

0

TransactionAudit 259,983 543,635,234,816 1,276,844 0 35,225 558,620,672 12,388 01,289,23231,876,710,40

0TransactionAudit_Indexes 5,898,013 733,996,007,424 4,606,510 0 5,890,031

52,926,455,808 4,223,188 08,829,698

39,321,600,000

Data 137 17,883,136 49 0 24 524,288 21 0 70 104,857,600

Page 42: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database Compression• Available since SQL Server 2008

• Effectively fit more data in the Buffer Pool• Query performance improvement• Reduced backup size and duration

• Row Compression• Page Compression• Can impact DML

• Measure CPU overhead

Page 43: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database Compression OLTP Example• Page compression was

implemented when SQL Server 2005 was upgraded to SQL Server 2008• Selectively enabled on tables

with appropriate benefit• Still have a 40% storage saving

over the last • Query performance improved• Database backups improved• Size• Duration

Page 44: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Database Compression DW Example• Large DSS / OLAP tables• Report queries reduced from 2+ hours to <30

minutes• No application change required

Page 45: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Columnstore Indexes• Available since SQL Server 2012

• Nonclustered Columnstore indexes were read-only

• Clustered Columnstore available in SQL Server 2014

• In-Memory Columnstore• Stores data in columnar format for massive

compression• Both memory and disk• Built-in to core RDBMS engine

• 10-100x faster• Work on existing hardware

• Easy upgrade• Easy deployment

C1

C3

C5

C4

C2

C6

Columnstoreindex

representation

Page 46: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Clustered Columnstore Indexes• Introduced SQL Server 2014• Updatable, clustered Columnstore now supported

• No need for separate base table• No need for other indexes

• New COLUMNSTORE_ARCHIVE compression• Better compression at higher CPU cost: 80-90% compression

• Far fewer data type restrictions than SQL Server 2012• More operators support batch mode processing

• Need to refactor your Transact-SQL code back potentially

• Use case: Real-time analytics involving large scans and aggregations

Page 47: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Clustered Columnstore Batch Processing• Biggest advancement in query processing in years! • Data moves in batch through query plan operators• Highly efficient algorithms, better parallelism• SQL Server 2014

• Support for all flavours of JOINs• OUTER JOIN• Semi-join: IN, NOT IN• UNION ALL• Scalar aggregates• Mixed mode plans• Improvements in bitmaps, spill support, …

Page 48: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

DSS/OLAP Example• No application change required• Substantial improvement in query performance• Notice there is no index usage for columnstore

indexes• No nonclustered indexes

Page 49: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Creative Thinking: Auditing• Business Requirements

• Compliance reasons• “Necessary evil”

• Workloads• Predominantly INSERT activity• Hardly ever queried / Never queried

• Technology• Clustered Columnstore• Partitioning

• Opportunity• Minimal risk• Minimal refactoring

Page 50: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Creative Thinking: Auditing Example• Heap:

• Baseline

• Page Compression:• 38.5%

• Clustered Columnstore:• CCI: 13.4%• ACCI: 10.4%

Page 51: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Creative Thinking: Auditing Example• No such thing as “free

lunch”• As expected we pay a

performance penalty with point queries

Page 52: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Refactoring Opportunities

Page 53: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Technical Debt• Start paying your “technical debt”• Data types deprecated in SQL Server• Better data types• Better programming patterns• Need to develop strategy to mitigate future risk

• Release Management• Change Management

• “Cloud readiness”

Page 54: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Deprecated Data Types• TEXT / IMAGE data types are deprecated• Variety of options

• VARBINARY(MAX)• FILESTREAM• FILETABLE

• Considerations• Performance• Storage Cost• Windows Deduplication• Buffer Pool / WIN32 path• Don’t forget impact on backup strategy• 20 minutes versus 3 hours

Page 55: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

“Better” DATE/TIME Data Types • Consider NOT using DATETIME data type

• DATE• TIME• DATETIME2

Page 56: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

“Better” Programming Patterns• Safer Programming

• TRY / CATCH• TRY_PARSE• TRY_COVERT

• Review TRANSACTIONs• BEGIN TRAN / COMMIT TRAN• SET XACT_ABORT

• Contained Databases• Azure SQL Database version V12

Page 57: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Future State

Page 58: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Goals• Database is a “service” that meets business SLAs

• Engage the business ASAP in the Upgrade Project

• Decouple database(s) from SQL Server instances• Agility between Tiers at database level• Ability to upgrade at database level

• Documentation• Release Management• Change Management

• Cloud Readiness

Page 59: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SQL Server 2016• Database is a “service” that meets business SLAs

• Engage the business ASAP in the Upgrade Project

• Decouple database(s) from SQL Server instances• Agility between Tiers at database level• Ability to upgrade at database level

• Documentation• Release Management• Change Management

• Cloud Readiness

Page 60: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

SQL Server 2016• Always Encrypted• Availability Group Enhancements• Columnstore Enhancements• In-Memory OLTP Enhancements• JSON Support• Live Query Statistics• Polybase• Query Store• Real-Time Operational Analytics• R-Services• Reporting Services• Row-Level Security• Stretch Database• Temporal Tables• Lots more…

Page 61: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Complete your session evaluation on My Ignite for your chance to win one of many daily prizes.

Page 62: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Continue your Ignite learning pathVisit Microsoft Virtual Academy for free online training visit https://www.microsoftvirtualacademy.com

Visit Channel 9 to access a wide range of Microsoft training and event recordings https://channel9.msdn.com/

Head to the TechNet Eval Centre to download trials of the latest

Microsoft products http://Microsoft.com/en-us/evalcenter/

Page 63: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

Mission critical and cloud performance Cloud-ready Self-service BI Performance

and productivity Mission critical

Modern DB platform

The evolution of the Microsoft data platform

SQL Server 2000

SQL Server2005

SQL Server 2008

SQL Server 2008 R2

SQL Server 2012

XML ● KPIs

Management studio ● Mirroring

Compression ● Policy-based mgmt. ● Programmability

PowerPivot (In-Memory) ● SharePoint integration ● Master data services

AlwaysOn ● In-Memory ColumnStore ● Data quality services ● Power View ● Cloud

SQL Server 2014In-memory across workloads ● Performance & scale ● Hybrid cloud optimized ● HDInsight service ● Cloud BI

Page 64: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

The Evolution of SQL ServerIncreased performance and functionality – release over release

64¹Total Economic Impact™ Of Microsoft SQL Server, July 2014

A new standard for mission critical databases & end-to-end business intelligence with cloud-ready technologies & solutions.

“SQL Server 2012 delivers an ROI of up to 189% with a 1 year payback period“

Forrester TEI Study 2012

SQL Server 2012

Solid offering for departmental IT & enhanced enterprise data platform.

“Microsoft has made considerable strides in automating SQL Servers management tasks & improving performance tuning & uptime”

eWeek 2005

SQL Server 2005 Comprehensive data platform solution with massive strides in mission critical & business intelligence capabilities

“Upgrading to Microsoft’s SQL Server 2008 delivered an anticipated ROI of between 162% & 181%.”

Forrester TEI Study 2008

SQL Server 2008 Comprehensive, integrated data management & business intelligence with award-winning analytics.

PowerPivot: Named one of eWeek’s Top 10 Technologies of 2010

eWeek

SQL Server 2008 R2

Build mission-critical apps using high-performance, in-memory technology across OLTP, data warehousing, BI and analytics workloads without having to buy expensive add-ons or high-end appliances.

Up to 30x faster transactions

100x query performance gains

Enhanced high availability with up to 8 readable secondaries

Enhanced security and scalability

Hybrid backup and disaster recovery

According to Forrester, the payback period for SQL Server 2014 is only 9.5 months.

Forrester TEI Study 2014

SQL Server 2014

20142005

Page 65: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

What’s New in SQL Server 2014 since SQL Server 2012

65

PERFORMANCE AND SCALEIn-Memory OLTPEnhanced In-Memory ColumnStore for DWBuffer Pool Extension to SSDsEnhanced Query ProcessingResource Governor adds IO governanceSysPrep at cluster levelPredictable performance with tiering of compute, network, and storage with Windows Server 2012 R2

HIGH AVAILABILITYEnhanced AlwaysOn, with 8 secondaries and Replica WizardDelayed Durability Clustered Shared Volume support, VHDX support (Windows Server 2012 R2)Manage on-premises and cloud apps (System Center 2012 R2)

SECURITYEnhanced separation of dutyCC certification at High Assurance Level for 2014Backup encryption support

PROGRAMMABILITYQuery optimization enhancements

HYBRID CLOUD SOLUTIONSSimplified backup to Windows AzureSupport for backup of previous versions of SQL Server to Windows AzureCloud back-up encryption supportSimplified cloud Disaster Recovery with AlwaysOn replicas in Windows Azure VMs

EASY ON-RAMP TO THE CLOUDNew Windows Azure Deployment UI for SQL ServerLarger SQL Server VMs and memory sizes now available in Windows Azure

EASY ACCESS TO DATA, BIG AND SMALLPower QueryWindows Azure HDInsight ServiceAnalytics Platform System (PDW V2)

POWERFUL INSIGHTS WITH FAMILIAR TOOLSPower BI in Office 365Power Map for ExcelMobile interfaces for Power BI

Page 66: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

What’s New in SQL Server 2014 since SQL Server 2008 R2

66

PERFORMANCE AND SCALEIn-Memory OLTPEnhanced In-Memory ColumnStore for DWSupport for 640 logical proc. andSupport to 15,000 partitionsResource Governor IO governanceBuffer Pool Extension to SSDsQuery optimization enhancementsSysPrep at cluster levelPredictable performance with tiering of compute, network, and storage with Windows Server 2012 R2

HIGH AVAILABILITYSQL Server AlwaysOnDelayed Durability Recovery Advisor Windows Server Core Live MigrationOnline Operations enhancementsClustered Shared Volume support, VHDX support(Windows Server 2012 R2)Manage on-premises and cloud apps(System Center 2012 R2)

SECURITYUser-Defined Server Roles Default Schema for GroupsSQL Server Audit SQL Server Fine-grained AuditingEnhanced separation of dutyCC certification at High Assurance LevelBackup encryption support

PROGRAMMABILITYSQL Server Data Tools Local DB runtime (Express)Data-tier Application Component project templateData-Tier Application Framework (DAC Fx)Query optimization enhancementsInteroperability support (ADO.NET, ODBC, JDBC, PDO, ADO APIs and .NET C/C++, Java, Linux, and PHP platforms)

T-SQL enhancementsEnhanced support for ANSI SQL standardsTransact-SQL Static Code Analysis tools Transact-SQL code snippetsIntellisense

Unstructured and complex data supportFileTable built on FILESTREAMRemote Blob Storage with SharePoint 2010Statistical Semantic SearchSpatial features, including Full Globe and arcsLarge user-defined data types

MANAGEABILITYDistributed ReplayContained Database AuthenticationSystem Center Management Pack for SQL Server 2012Windows PowerShell 2.0 supportMulti-server Management with SQL Server Utility Control Point Data-Tier Application Component

HYBRID CLOUD SOLUTIONSSimplified backup to Windows AzureSupport for backup of previous versions of SQL Server to Windows AzureCloud back-up encryption supportSimplified cloud Disaster Recovery with AlwaysOn replicas in Windows Azure VMs

EASY ON-RAMP TO THE CLOUDNew Windows Azure Deployment UI for SQL ServerLarger SQL Server VMs and memory sizes now available in Windows AzureDAC enhancements: Import/export with Windows Azure SQL Database

COMPLETE AND CONSISTENT FROM ON-PREM TO CLOUDSQL Server Data Tools License Mobility (with SA)Resource Governor enhancementsSnapshot backups to Windows Azure via SQL Server Management Studio

ACCESS ANY DATAPower QueryWindows Azure HDInsight ServiceAnalytics Platform System (PDW V2)Mash up data from different sources, such as Oracle & Hadoop

INSIGHTS WITH FAMILIAR TOOLSPower BI in Office 365Power Map for ExcelMobile interfaces for Power BI

COMPLETE BI SOLUTIONSQL Server BI EditionHA for StreamInsight,complex event processingBI Semantic ModelSQL Server Data Tools support for BI Change Data Capture for Oracle

Analysis servicesImport PowerPivot models into Analysis Services Enhancements on productivity, performance

Reporting servicesPower View Configurable reporting alertsReporting as SharePoint Shared ServiceReport Builder 3.0

Data quality servicesBuild organizational knowledge base Connect to 3rd party data cleansing providers

Master data servicesMaster Data Hub Master Data Services Add-in for Microsoft Excel

Integration servicesGraphical tools in SSIS Extensible object model SSIS as a Server Broader data integration with more sources; DB vendors, cloud, HadoopPipeline improvements

Page 67: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

What’s New in SQL Server 2014 since SQL Server 2008

67

PERFORMANCE AND SCALEIn-Memory OLTPEnhanced In-Memory ColumnStore for DWSupport for 640 logical proc. and 4 TB memorySupport to 15,000 partitionsResource Governor IO governanceBuffer Pool Extension to SSDsQuery optimization enhancementsSysPrep at cluster levelPredictable performance with tiering of compute, network, and storage with Windows Server 2012 R2Data Compression with USC-2 Unicode supportBackup Compression

HIGH AVAILABILITYSQL Server AlwaysOnDelayed Durability Recovery Advisor Windows Server Core Live MigrationOnline Operations enhancementsClustered Shared Volume support, VHDX support(Windows Server 2012 R2)Manage on-premises and cloud apps(System Center 2012 R2)

SECURITYUser-Defined Server Roles Default Schema for GroupsSQL Server Audit SQL Server Fine-grained AuditingEnhanced separation of dutyCC certification at High Assurance LevelBackup encryption support

PROGRAMMABILITYSQL Server Data Tools Local DB runtime (Express)Data-tier Application Component project templateData-Tier Application Framework (DAC Fx)Query optimization enhancementsInteroperability support (ADO.NET, ODBC, JDBC, PDO, ADO APIs and .NET C/C++, Java, Linux, and PHP platforms)

T-SQL enhancementsEnhanced support for ANSI SQL standardsTransact-SQL Static Code Analysis tools Transact-SQL code snippetsIntellisense

Unstructured and complex data supportFileTable built on FILESTREAMRemote Blob Storage with SharePoint 2010Statistical Semantic SearchSpatial features, including Full Globe and arcsLarge user-defined data types

MANAGEABILITYDistributed ReplayContained Database AuthenticationSystem Center Management Pack for SQL Server 2012Windows PowerShell 2.0 supportData-Tier Application Component

HYBRID CLOUD SOLUTIONSBackup to Windows AzureCloud Disaster RecoveryExtend on-premises apps to the cloud

EASY ON-RAMP TO THE CLOUDNew Windows Azure Deployment UI for SQL ServerLarger SQL Server VMs and memory sizes now available in Windows AzureDAC enhancements: Import/export with Windows Azure SQL Database

COMPLETE AND CONSISTENT FROM ON-PREM TO CLOUDSQL Server Data Tools License Mobility (with SA)Resource Governor enhancementsSnapshot backups to Windows Azure via SQL Server Management Studio

ACCESS ANY DATAPower QueryWindows Azure HDInsight ServiceAnalytics Platform System (PDW V2)Mash up data from different sources, such as Oracle and Hadoop

INSIGHTS WITH FAMILIAR TOOLSPower BI in Office 365Power Map for ExcelMobile interfaces for Power BI

COMPLETE BI SOLUTIONSQL Server BI EditionStreamInsight, complex event processingBI Semantic ModelSQL Server Data Tools support for BI Change Data Capture for Oracle

Analysis servicesImport PowerPivot models into Analysis Services Enhancements on productivity, performance

Reporting servicesPower View Configurable reporting alertsReporting as SharePoint Shared ServiceReport Builder 3.0

Data quality servicesBuild organizational knowledge base Connect to 3rd party data cleansing providers

Master data servicesMaster Data Hub Master Data Services Add-in for Microsoft Excel

Integration servicesGraphical tools in SSIS Extensible object model SSIS as a Server Broader data integration with more sources; DB vendors, cloud, HadoopPipeline improvements

Page 68: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

What’s New in SQL Server 2014 since SQL Server 2005

68

PERFORMANCE AND SCALEIn-Memory OLTPEnhanced In-Memory ColumnStore for DWSupport for 640 logical proc. and 4 TB memorySupport to 15,000 partitionsResource Governor IO governanceBuffer Pool Extension to SSDsQuery optimization enhancementsSysPrep at cluster levelPredictable performance with tiering of compute, network, and storage with Windows Server 2012 R2Data Compression with USC-2 Unicode supportBackup Compression

HIGH AVAILABILITYSQL Server AlwaysOnDatabase MirroringFailover ClusteringDatabase SnapshotsDelayed Durability Recovery Advisor Windows Server Core Live MigrationOnline OperationsClustered Shared Volume support, VHDX support(Windows Server 2012 R2)Manage on-premises and cloud apps (System Center 2012 R2)

SECURITYUser-Defined Server Roles Default Schema for GroupsSQL Server Audit Transparent Data Encryption Extensible Key Management Standards-based EncryptionSQL Server Fine-grained AuditingEnhanced separation of dutyCC certification at High Assurance LevelBackup encryption support

PROGRAMMABILITYSQL Server Data Tools Local DB runtime (Express)Data-tier Application Component project templateData-Tier Application Framework (DAC Fx)Query optimization enhancementsInteroperability support (ADO.NET, ODBC, JDBC, PDO, ADO APIs and .NET C/C++, Java, Linux, and PHP platforms)

T-SQL enhancementsEnhanced support for ANSI SQL standardsTransact-SQL Static Code Analysis tools Transact-SQL code snippetsIntellisense

Data supportFILESTREAM data typeFileTable built on FILESTREAMRemote Blob Storage with SharePoint 2010Spatial data supportFull Text Search for unstructured filesStatistical Semantic SearchLarge user-defined data types

Programmability supportSupport for LINQ and ADO.NET Entity FrameworkCLR Integration and ADO.NET Object Services

MANAGEABILITYDistributed ReplayContained Database AuthenticationSystem Center Management Pack for SQL Server 2012Windows PowerShell 2.0 supportData-Tier Application ComponentPolicy-Based Management SQL Server Performance Data CollectorQuery enhancementsSMTP mail for secure DB email w/o Outlook

HYBRID CLOUD SOLUTIONSBackup to Windows AzureCloud Disaster RecoveryExtend on-premises apps to the cloud

EASY ON-RAMP TO THE CLOUDNew Windows Azure Deployment UI for SQL ServerLarger SQL Server VMs and memory sizes now available in Windows AzureDAC enhancements: Import/export with Windows Azure SQL Database

COMPLETE AND CONSISTENT FROM ON-PREM TO CLOUDSQL Server Data Tools License Mobility (with SA)Resource Governor enhancementsSnapshot backups to Windows Azure via SQL Server Management Studio

ACCESS ANY DATAPower QueryWindows Azure HDInsight ServiceAnalytics Platform System(PDW V2)Mash up data from different sources, such as Oracle & Hadoop

INSIGHTS WITHFAMILIAR TOOLSPower BI in Office 365Power Map for ExcelMobile interfaces for Power BI

COMPLETE BI SOLUTIONSQL Server BI EditionStreamInsight BI Semantic ModelSQL Server Data Tools BI Development StudioMicrosoft Visual Studio-based report dev toolsChange Data Capture for Oracle

Analysis servicesImport PowerPivot models into Analysis ServicesEnhancements on productivity, performanceCube design tools, block computations, and write-back to MOLAP

Reporting servicesPower View Configurable reporting alertsReporting as SharePoint Shared ServiceReport Builder 3.0

Report DesignerReport Manager

Data quality servicesBuild organizational knowledge base Connect to 3rd party data cleansing providers

Master data servicesMaster Data Hub Master Data Services Add-in for Microsoft Excel

Integration servicesGraphical tools in SSIS Extensible object model SSIS as a Server Broader data integration with more sources; DB vendors, cloud, HadoopPipeline improvementsPersistent lookupsHigh-performance connectorsData profiling tool

Author
Compare to final datasheet
Page 69: Victor Isakov Realizing the Benefits of Upgrading Microsoft SQL Server DAT34 2

© 2015 Microsoft Corporation. All rights reserved.Microsoft, Windows and other product names are or may be registered

trademarks and/or trademarks in the U.S. and/or other countries.MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,

AS TO THE INFORMATION IN THIS PRESENTATION.