SQL Server 2014, more than just in-memory Eric Zierdt.

Slides:



Advertisements
Similar presentations
What’s New: Windows Server 2012 R2 Tim Vander Kooi Systems Architect
Advertisements

INTRODUCTION TO BUILDING REPORTS Reporting Services.
What’s New in SQL Server 2014: Database Engine Aaron Bertrand SQL Sentry
Dandy Weyn Sr. Technical Product Mkt.
SQL Server 2005 features for VLDBs. SQL Server 2005 features for VLDBs aka (it’s fixed in the next release)
SharePoint and SQL Server integration Demo: SQL Server Optimizing Configurations SQL Server 2014 for SharePoint 2013 Avoiding ginormous transaction.
Microsoft SQL Server x 46% 900+ For Hosting Service Providers
Protecting your online and on premises assets "Cloud Style" Mike Martin Architect / Microsoft Azure MVP.
SQL Server 2008 for Hosting Key Questions to Address How can SQL Server save your costs? How can SQL Server help you increase customer base? How can.
Virtual techdays INDIA │ august 2010 Building ASP.NET applications using SQL Server Compact Chaitanya Solapurkar │ Partner Technical Consultant,
Hyper-V High-Availability & Mobility: Designing the Infrastructure for Your Private Cloud Symon Perriman Technical Evangelist Microsoft
Esri UC 2014 | Demo Theater | Using ArcGIS for Server in the Microsoft Azure Cloud Nikhil Shampur.
Hyper-V Storage Senthil Rajaram Senior PM Microsoft Corporation.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Jim McLeod MyDBA  SQL Server Performance Tuning Consultant with MyDBA  Microsoft Certified Trainer with SQLskills Australia 
Migrating Business Apps to Windows Azure Marc Müller Principal Consultant, 4tecture GmbH
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
Get More out of SQL Server 2012 in the Microsoft Private Cloud environment Steven Wort, Xin Jin Microsoft Corporation.
Azure Backup New Business Model March 16 th 2015.
MySQL. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn The main subsystems in MySQL architecture The different storage.
SQL Server 2008 R2 for the DBA Patrick LeBlanc. Objectives  New Editions  Datacenter  Parallel Data Warehouse  Multi-server management  Utility Control.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
SQL Server 2014: Overview Phil ssistalk.com.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Martin Cairney Hybrid data platform – making the most of Azure plus your on- prem kit DAT341 B.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation Lalithra.
Microsoft Windows Server 2012 R2. What’s NEW in Windows Server 2012 R2.
Matt Lavery & Joanna Podgoetsky Being a DBA is cool again with SQL 2016 DAT335 A.
Building a Highly Available Failover Cluster Solution with Windows Server 2012 from the Ground UP Rob Hindman Program Manager Microsoft Corporation WSV324.
SQL Server 2016 New Innovations. Microsoft Data Platform Relational Beyond Relational On-premises Cloud Comprehensiv e Connected Choice SQL Server Azure.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
Write DAX Queries using DAX Studio Alex Barbeau
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
SQL Server Encryption Ben Miller Blog:
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
Doing fast! Optimizing Query performance with ColumnStore Indexes in SQL Server 2012 Margarita Naumova | SQL Master Academy.
SQL Server as a Cloud Service April 15th 2016 Warner Chaves Data Platform MVP/SQL Server MCM.
10 Things All BI Administrators Should Know Robert L Davis Database Engineer
Session Name Pelin ATICI SQL Premier Field Engineer.
Memory-Optimized Tables Querying at the speed of light.
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Business Continuity & Disaster Recovery
On-premise database. Files in the cloud.
BEST CLOUD COMPUTING PLATFORM Skype : mukesh.k.bansal.
Amazon Web Services RDS with SQL Server
5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
Thank You! #sqlsatdnipro Denis
14 Features in SQL Server 2014 You Haven’t Considered
- for the SSASMD Developer
Lead SQL BankofAmerica Blog: SQLHarry.com
Windows Azure Migrating SQL Server Workloads
Installation and database instance essentials
Required 9s and data protection: introduction to sql server 2012 alwayson, new high availability solution Santosh Balasubramanian Senior Program Manager.
Business Continuity & Disaster Recovery
Working with Very Large Tables Like a Pro in SQL Server 2014
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
What’s new in SQL Server 2016 Availability Groups
TechEd /23/ :44 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /28/ :51 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Amazon Web Services RDS with SQL Server
Microsoft SQL Server 2014 for Oracle DBAs Module 7
Secure/Encrypt SQL Server Database With TDE
AWS S3 Cloud Backup Licensing per system Starting at $79 per year.
Michelle Haarhues Keeping up with SSMS.
Working with Very Large Tables Like a Pro in SQL Server 2017
Presentation transcript:

SQL Server 2014, more than just in-memory Eric Zierdt

Before we start…  Thank you Sponsors! o Please visit the sponsors during the vendor break from 2:45 – 3:15 and enter their end-of-day raffles  Event After Party o Dave and Buster’s in Southdale Center. 3 rd floor by Macy’s starting at 6:15  Want More Free Training? o PassMN meets the 3 rd Tuesday of every month /10/2015SQL Server 2014, more than just in-memory2 |

Agenda  About Me  About this deck  SSRS Enhancements  SSIS Enhancements  SSAS Enhancements  Enhanced Windows Server 2012 Integration  Enhancements to Backups  Updateable Columnstore Indexes  Buffer Pool Extension  Inline specification of Clustered and non-Clustered indexes  Partition Indexing  Online Index Rebuild on specific PartitionID  Incremental Statistics  Connect Any Database Permission  Select All User Securables Permission  Resource governor IO  SQL Server Data Files in Windows Azure  In-Memory OLTP Engine 10/10/2015SQL Server 2014, more than just in-memory3 |

About Me  Eric Zierdt  Senior SQL DBA – Boston Scientific  I’ve worked with SQL Server since 2000  Blog: EricEmployed.blogspot.com   /10/2015SQL Server 2014, more than just in-memory4 |

About these slides  These slides are available for download at the SQLSaturday MN Schedule  Go to:  Find my session, click Download. 10/10/2015SQL Server 2014, more than just in-memory5 |

About these slides  These slides were made as part of a research project, and intended to help others research SQL 2014 topics as well.  This is meant to be high level not a deep dive  Demo code is included in the Slide Notes  Each slide/topic will contain a link at the bottom to where I got the information from and can be used by you to gain more information 10/10/2015SQL Server 2014, more than just in-memory6 |

SSRS Enhancements

 No major changes to the SSRS Engine except for added support for the Google Chrome browser /10/2015SQL Server 2014, more than just in-memory8 |

SSIS Enhancements

 SQL Server 2014 Integration Services is unchanged from the previous release /10/2015SQL Server 2014, more than just in-memory10 |

SSAS Enhancements

 With exception to added functionality supporting Power View Reports against Multidimensional Models, SQL Server 2014 Analysis Services is unchanged from the previous release /10/2015SQL Server 2014, more than just in-memory12 |

Enhanced Windows Server 2012 Integration

 SQL Server 2014 provides improved integration with Windows Server 2012 R2 and Windows Server SQL Server 2014 will have the ability to scale up to 640 logical processors and 4TB of memory in a physical environment. It can scale up to 64 virtual processors and 1TB of memory when running on a virtual machine (VM). 1  SQL Server 2014 supports the OSs' new Storage Spaces feature. With Storage Spaces, you can create pools of tiered storage to improve application availability and performance. 1  SQL Server 2014 can take advantage of the OSs' Server Message Block (SMB) 3.0 enhancements to achieve high-performance database storage on Windows Server 2012 R2 and Windows Server 2012 file shares. Many enhancements were made to SMB 3.0, with the most notable being SMB Transparent Failover and SMB Direct. The new SMB Transparent Failover feature provides highly reliable SMB storage that's fully supported for applications like SQL Server and Hyper-V. With the new SMB Direct feature, you can leverage the NIC's Remote Direct Memory Access (RDMA) feature to provide access speeds for SMB file shares nearing the access speed for local resources /10/2015SQL Server 2014, more than just in-memory14 |

Enhancements to Backups

 Backup to URL/SQL Azure  Backs up only to Azure BLOB storage /10/2015SQL Server 2014, more than just in-memory16 |

Enhancements to Backups  Backup to URL/SQL Azure /10/2015SQL Server 2014, more than just in-memory17 |

Enhancements to Backups  Encrypted backup  Multiple encryption algorithms up to AES 256 bit are supported giving you a variety of algorithms to choose from 1  Without a certificate or key the backup file cannot be restored.  Adding backup encryption to a TDE encrypted database, gives additional protection for your data.  Available in Standard, BI and Enterprise Editions /10/2015SQL Server 2014, more than just in-memory18 |

Enhancements to Backups  Encrypted backup code: /*STEP 1: Create a Master Key*/ USE master; CREATE MASTER KEY ENCRYPTION BY PASSWORD = '23987$KL95234nl0Bef'; /*STEP 2: Create a Certificate*/ Use master CREATE CERTIFICATE DB_BackupEncryptCert WITH SUBJECT = 'DB Backup Encryption Certificate'; /*STEP 3: Backup the Certificate*/ BACKUP CERTIFICATE DB_BackupEncryptCert TO FILE = 'C:\Database Files\Backup\BackupCert.cert' WITH PRIVATE KEY ( FILE = 'C:\Database Files\Backup\BackupCert.privatekey', ENCRYPTION BY PASSWORD = 'MyCertPassword-2014' ); GO /*STEP 4: Backup the DB*/ BACKUP DATABASE [AdventureWorks2014] TO DISK = N'C:\Database Files\Backup\AdventureWorks2014_encrypt.bak' WITH ENCRYPTION ( ALGORITHM = AES_256, SERVER CERTIFICATE = DB_BackupEncryptCert ), STATS = 10 GO I’ll Demo this later /10/2015SQL Server 2014, more than just in-memory19 |

Enhancements to Backups  Encrypted backup GUI: /10/2015SQL Server 2014, more than just in-memory20 |

Enhancements to Backups  Encrypted backup GUI: 1

Enhancements to Restores

 Restore from URL/SQL Azure 1

Enhancements to Restores  Restore from URL/SQL Azure /10/2015SQL Server 2014, more than just in-memory24 |

Enhancements to Restores  Restore from URL/SQL Azure Image found on 10/10/2015SQL Server 2014, more than just in-memory25 |

Enhancements to Restores  Restore from URL/SQL Azure using TSQL USE master GO CREATE CREDENTIAL [My_Credential] WITH IDENTITY ='raresql',SECRET = '/ByNUTZqJ6EcJR/VQcNmNj+zSu++iCfbcxlyWye6Ok9uY3L5nw3XkndmAnDjiKn' GO USE [master] RESTORE DATABASE [AdventureWorks2012] FROM URL = N' WITH CREDENTIAL = N'My_Credential', FILE = 1, NOUNLOAD, STATS = /10/2015SQL Server 2014, more than just in-memory26 |

Enhancements to Restores  Restore an encrypted backup using TSQL Demo 10/10/2015SQL Server 2014, more than just in-memory27 |

Updateable Columnstore Indexes

 Introduced in SQL Server 2012  Limited to non-updateable non-clustered indexes, making it most useful on read-only tables  Microsoft claims that Columnstore indexes can provide upto a 10x performance gain 1  SQL Server 2014 eliminates the restriction on read-only index/table, allowing them to be updated. 1  Note a Columnstore index must use all the columns in a table and it can’t be combined with other indexes 1  SQL Server 2014 allows for a Clustered Columnstore index /10/2015SQL Server 2014, more than just in-memory29 |

Buffer Pool Extension

 Buffer pool extension provides the seamless integration of a nonvolatile random access memory (that is, solid- state drive) extension to the Database Engine buffer pool to significantly improve I/O throughput. 1  Available in Enterprise, Business Intelligence and Standard Editions 2  Reduces the need to add more DRAM /10/2015SQL Server 2014, more than just in-memory31 |

Buffer Pool Extension

/10/2015SQL Server 2014, more than just in-memory33 |

Buffer Pool Extension DEMO 10/10/2015SQL Server 2014, more than just in-memory34 |

Inline specification of Clustered and non-Clustered indexes

 Ability to move create index statements into the create table statement. CREATE TABLE [dbo].[t4] ( [c1] [INT] NULL, [c2] [INT] NULL, [c3] [INT] NULL ) ON [PRIMARY] GO CREATE CLUSTERED INDEX [ix_1] ON [dbo].[t4] ([c1] ASC,[c2] ASC) GO CREATE NONCLUSTERED INDEX [ix_2] ON [dbo].[t4] ([c3] ASC) GO CREATE NONCLUSTERED INDEX [ix_3] ON [dbo].[t4] ( [c2] ASC,[c3] ASC) GO 10/10/2015SQL Server 2014, more than just in-memory36 |

Inline specification of Clustered and non-Clustered indexes  Ability to move create index statements into the create table statement. 1  Currently, inline indexes do not support the options UNIQUE, INCLUDE and WHERE. 2 CREATE TABLE [dbo].[t4] ( [c1] [INT] NULL, [c2] [INT] NULL, [c3] [INT] NULL, INDEX ix_1 CLUSTERED (c1,c2), INDEX ix_2 NONCLUSTERED (c3), INDEX ix_3 NONCLUSTERED (c2,c3) ) ON [PRIMARY] 1 1 BOL Itzik Ben-Gan /10/2015SQL Server 2014, more than just in-memory37 |

Partition Indexing Changes

 Prior to 2014 (2005+) you can rebuild specific partitioned indexes, but only in offline mode.  Starting in 2014, you can now rebuild partitioned indexes in ONLINE mode.  Requires partitions, which are an Enterprise only feature  ALTER INDEX ON REBUILD Partition = WITH (ONLINE = ON);  DEMO /10/2015SQL Server 2014, more than just in-memory39 |

Incremental Statistics

 Prior to 2014 (2005+) you can update statistics on an entire table or entire index 1  Starting in 2014, you can now update a specific partition  Requires partitions, which are an Enterprise only feature 1  UPDATE STATISTICS WITH INCREMENTAL=ON 1  UPDATE STATISTICS WITH RESAMPLE ON PARTITIONS(2) 1  Using RESAMPLE can result in a full-table scan. For example, statistics for indexes use a full-table scan for their sample rate. When none of the sample options (SAMPLE, FULLSCAN, RESAMPLE) are specified, the query optimizer samples the data and computes the sample size by default. 2  DEMO /10/2015SQL Server 2014, more than just in-memory41 |

Connect Any Database Permission

 New server level permission 1  Allows connection to all databases 1  Does not give any database level permissions (only allows connect) 2  Useful in auditing with SELECT ALL USER SECURABLES 2  DEMO /10/2015SQL Server 2014, more than just in-memory43 |

Select All User Securables

 New server level permission 1  Allows read access to all user databases 1  Does not give database level connection  Useful in auditing with CONNECT ANY DATABASE  DEMO /10/2015SQL Server 2014, more than just in-memory45 |

Resource governor IO

 Additional resource which can be controlled via Resource Governor 1  Still an Enterprise only feature  Ability to use settings MIN_IOPS_PER_VOLUME and MAX_IOPS_PER_VOLUME 1 USE master; GO CREATE RESOURCE POOL WITH ( MAX_IOPS_PER_VOLUME = 30, MIN_IOPS_PER_VOLUME = 1 ); GO /10/2015SQL Server 2014, more than just in-memory47 |

Resource governor IO  You can configure Maximum Outstanding IOPS per volume which is set at the instance Level and is not Resource Pool Specific  Limits maximum outstanding I/O operations per disk volume  Value: 0 – 100, value is number of queued I/O’s, not a percent.  Designed to tune IO resource governance to the IO characteristics of a disk volume. ALTER RESOURCE GOVERNOR … WITH ( MAX_OUTSTANDING_IO_PER_VOLUME = value) /10/2015SQL Server 2014, more than just in-memory48 |

SQL Server Data Files in Windows Azure

 SQL Server Data Files in Windows Azure enables native support for SQL Server database files stored as Windows Azure Blobs. 1  Works in all editions 1  This feature allows you to create a database in SQL Server running in on-premises or in a virtual machine in Windows Azure with a dedicated storage location for your data in Windows Azure Blob Storage /10/2015SQL Server 2014, more than just in-memory50 |

 Benefits  Easy and fast migration Simplifies the migration process by moving one database at a time between machines in on-premises as well as between on-premises and cloud environments without any application changes  Cost and limitless storage Limitless off-site storage in Windows Azure while leveraging on-premises compute resources  High availability and disaster recovery benefits If a virtual machine in Windows Azure or an instance of SQL Server crashes, you can re-create your databases in a new machine by just re- establishing links to Windows Azure Blobs  Security You can have a fully encrypted database with decryption only occurring on compute instance but not in a storage instance. In other words, using this new enhancement, you can encrypt all data in public cloud using Transparent Data Encryption (TDE) certificates, which are physically separated from the data /10/2015SQL Server 2014, more than just in-memory51 | SQL Server Data Files in Windows Azure

Last Slide in Deck Please  Remember to fill out your online evaluations for the event and any sessions you have attended. They will be online until 10/17/  Presenter: Eric Zierdt  Session Title: SQL Server 2014, more than just in-memory  Questions?   10/10/2015SQL Server 2014, more than just in-memory52 |