The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership...
-
Upload
felicia-ellis -
Category
Documents
-
view
222 -
download
0
description
Transcript of The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership...
![Page 1: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/1.jpg)
SQL Server 2012The Grand Tour
Brian Garraty@NULLgarity
![Page 2: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/2.jpg)
Who I am
SQL Server DBA
Virginia Beach Public Schools
MCITP DBA
HRSSUG Leadership Team
Prior Life: C++/VB Developer
![Page 3: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/3.jpg)
Itinerary – Part 1
Functional yet Elegant
The Workshop
Modern Luxuries
Home Security
![Page 4: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/4.jpg)
Itinerary – Part 2
Available Now
Bells & Whistles
Negotiations
The Small Print
![Page 5: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/5.jpg)
My Promise
I will aim to Refrain from any marketing babble Refrain from use of unneeded buzzwords Not use any of the following expressions:▪ Mission Critical Confidence▪ Breakthrough Insight▪ Cloud on Your Terms
![Page 6: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/6.jpg)
Disclaimers
Not yet running 2012 in Production High Level No demos We won’t cover everything Very light on
BI Cloud
![Page 7: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/7.jpg)
Historical Perspective
7.5 (1998) Architecture Improvements Scalability
2000 Rewrite from Sybase OLAP, ETL Clustering XML
![Page 8: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/8.jpg)
Historical Perspective
2005 Manageability (DMVs) Performance (CLR, Partitioning) High Availability (Mirroring)
2008 (continue prior momentum) Manageability (PBM) Performance (Compression)
![Page 9: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/9.jpg)
Historical Perspective
2008 R2 PowerPivot Report Builder 3.0 Master Data Services
Azure (2010) SQL as a Service
![Page 10: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/10.jpg)
Historical Perspective
2012 (My Take) Customer Feedback Driven Showstopper Breakthroughs Azure into the Fold
![Page 11: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/11.jpg)
Functional EleganceYour T-SQL can T-Sizzle...
![Page 12: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/12.jpg)
Logical Functions
CHOOSE ( index, val_1, val_2 [, val_n ] )
IIF ( boolean_expression, true_value,
false_value )
![Page 13: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/13.jpg)
String Functions
CONCAT ( string_value1, string_value2 [,
string_valueN ] )
FORMAT ( value, format [, culture ] )
![Page 14: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/14.jpg)
Conversion Functions PARSE
( string_value AS data_type [ USING culture ] )
TRY_CAST ( expression AS data_type [ ( length ) ] )
TRY_CONVERT ( data_type [ ( length ) ], expression [, style ] )
TRY_PARSE
![Page 15: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/15.jpg)
Date and Time Functions
DateFromParts ( year, month, day )
DateTime2FromParts ( year, month, day, hour, minute,
seconds, fractions, precision )
EOMonth ( start_date [, month_to_add ] )
![Page 16: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/16.jpg)
EXECUTE … WITH RESULTS UNDEFINED – any or none
NONE –abort if results returned
<result_sets_definition> Describes explicit result set(s) A step towards contract or interface Useful in SSIS OLEDB source
![Page 17: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/17.jpg)
EXECUTE … WITH RESULTSEXEC uspGetEmployeeManagers 16WITH RESULT SETS( ([Reporting Level] int NOT NULL, [ID of Employee] int NOT NULL, [Employee First Name] nvarchar(50 ) NOT NULL, [Employee Last Name] nvarchar(50 ) NOT NULL, [Employee ID of Manager] nvarchar(50 ) NOT NULL, [Manager First Name] nvarchar(50 ) NOT NULL, [Manager Last Name] nvarchar(50 ) NOT NULL ));
![Page 18: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/18.jpg)
Sequence Numbers
Similar to IDENTITY
Not tied to table
Controlled by application NEXT VALUE FOR
![Page 19: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/19.jpg)
Sequence Use Cases
Default value for columns
Concatenated value identity
Cross statement ROW_NUMBER()
![Page 20: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/20.jpg)
THROW
Raises exception, invokes CATCH block
If outside TRY…CATCH, ends session with severity 16
Simpler than RAISEERROR
Useful inside CATCH blocks
![Page 21: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/21.jpg)
Metadata Discovery
SET FMTONLY Deprecated
sp_describe_first_result_set @tsql = N'Transact-SQL_batch @params = N'parameters' @browse_information_mode =
<tinyint>
Also via similar DMFs
![Page 22: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/22.jpg)
The WorkshopEverything you need to get ‘er done...
![Page 23: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/23.jpg)
SSMS Changes
“Powered by” Visual Studio 2010
F5 is the new Ctrl-E (aargh!)
Result grid columns rearrangable
Editor windows are draggable
![Page 24: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/24.jpg)
More SSMS Changes
Restore GUI enhancements
Page Restore GUI
Database Engine Tuning Advisor Query Plan Cache Workload Top 1,000 events by default
![Page 25: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/25.jpg)
Most Unsettling SSMS Change No Support for Legacy File
Extensions .PRC .TAB .UDF etc
![Page 26: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/26.jpg)
IntelliSense Improvements Code Snippets
Templates integrated with IntelliSense Customizable
Surround With BEGIN…END IF WHILE
![Page 27: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/27.jpg)
Documentation Changes
Menu reads SQL Server Documentation
Defaults to Online help
Local installs separately
Same viewer as Visual Studio 2010 SP1
![Page 28: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/28.jpg)
LocalDB
Dev-targeted Edition of Express
Runs in User Mode
“SQL Express-Lite”
Fast, zero-config install
Fewer pre-requisites
![Page 29: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/29.jpg)
Automatic LocalDB Instances Public
Created and managed automatically
Usable by any app
Exists if LocalDB exists
![Page 30: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/30.jpg)
Named LocalDB Instances Private
Created, owned, managed by app
Isolated, dedicated
![Page 31: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/31.jpg)
Shared LocalDB Instances Support multiple users
Created by administrator
Either automatic or named
![Page 32: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/32.jpg)
SSIS Changes
“Largest investment in SSIS to date”
![Page 33: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/33.jpg)
SSIS Paradigm Shift 2.0
Project Concept Buildable Deployable Manageable
Best practice acknowledgement
![Page 34: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/34.jpg)
SSIS Projects
Shared Connection Managers
Project scoped variables
Optional
![Page 35: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/35.jpg)
SSIS Parameters
Replace configurations
Project or Package Level
Package-scoped recognized by EPT
![Page 36: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/36.jpg)
SSIS Dev Changes
SQL Server Data Tools is the new BIDS
Undo
Consistency in XML
![Page 37: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/37.jpg)
Modern LuxuriesGranite countertops coated in PowerShell...
![Page 38: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/38.jpg)
Columnstore Index
Turbo button for typical DW queries Columnar (versus row based) data format Speed from
Less data read, only columns Columns are heavily compressed Typical query uses few columns Columns are processed in chunks
Limitations Read only One per table
![Page 39: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/39.jpg)
Extended Events
Wizard-driven Creation
GUI-driven Editor
Customizable Data Viewer
![Page 40: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/40.jpg)
PowerShell
Increasingly used for SQL Management AlwaysOn SSIS
No longer installed by SQL Setup
SQLPS Now Deprecated Stick with SQLPSX & straight up
PowerShell
![Page 41: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/41.jpg)
Home SecurityFor that peaceful, easy feeling...
![Page 42: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/42.jpg)
More Secure by Default
No auto provisioning to sysadmin BUILTIN\Administrators Local System
![Page 43: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/43.jpg)
Managed Service Accounts Created & managed by Domain
Controller Passwords SPNs
Domain\Accountname$ Windows Server 2008 R2 only
![Page 44: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/44.jpg)
Virtual Accounts
Automatically managed local accounts
No Passwords NT SERVICE\<SERVICENAME> Access to network via computer
account <domain_name>\<computer_name>$
Windows Server 2008 R2 only
![Page 45: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/45.jpg)
Contained Databases
Little or no server dependencies
Contained vs. uncontained objects
Useful for Failover SQL Azure Non sysadmin Administration
![Page 46: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/46.jpg)
Audit Improvements
Server level supported in all editions (database level still Enterprise-only)
Recoverable audit log failures
User defined audits
Audit log filters (WHERE clause)
![Page 47: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/47.jpg)
Other Security
User-defined server roles
Default schema for Windows Groups
New encryption algorithm support SHA2_256 SHA2_512
Stronger Server & Database Master Key Encryption (3DES to AES)
![Page 48: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/48.jpg)
Available NowMove in ready!!!
![Page 49: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/49.jpg)
High Availability
AlwaysOn – umbrella term Failover Cluster Instances Availability Groups
Online Operations Indexes with LOBs Adding Columns with Default Values
![Page 50: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/50.jpg)
Failover Cluster Instances Multi-subnet Failover Clusters
Inter-datacenter No single, shared storage Data replication Disaster recovery + HA
![Page 51: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/51.jpg)
FCI Flexible Failover Policy Upgrade from “SELECT @@SERVERNAME”
Windows uses dedicated connection
Health monitored via sp_server_diagnostics
Configurable Health Check Timeout
Configurable Failover Condition Level
![Page 52: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/52.jpg)
FCI Failover Condition Level
0 – No automatic failover or restart 1 – On server down 2 – On server unresp0nsive 3 – On critical server errors 4 – On moderate server errors 5 – On qualified failure conditions,
e.g. SQL Service is down SQL Instance unresponsive etc
![Page 53: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/53.jpg)
FCI Indirect Checkpoints
Checkpoints flush mods to disk
Impact recovery time on unexpected shutdown or failover
Normally target is server configuration
Database specific target
![Page 54: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/54.jpg)
Tempdb on Local Disk
Move tempdb to SSD
People have been doing it for years
Now fully supported
![Page 55: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/55.jpg)
AlwaysOn Availability Groups
Layman’s definition: DB mirroring for groups of databases
Components: Availability Groups Primary Replicas Multiple Secondary Replicas
![Page 56: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/56.jpg)
Availability Group Wins
Secondary replicas Read only access Backup ops Automatic page repair Resource Utilization
Flexible Commit Modes
Flexible Failover Modes
![Page 57: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/57.jpg)
Bells? Whistles?Ding dong. Whoot-hoot.
![Page 58: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/58.jpg)
FileTable
Built on FILESTREAM SQL storing unstructured data on file system
File data exposed via Windows API
Simplified transition from file server
Supports files and directories
Access is non-transactional
![Page 59: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/59.jpg)
Data Quality Services
“Knowledge driven data quality product”
Consists of Knowledge Bases Data Quality Projects
![Page 60: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/60.jpg)
DQS Knowledge Bases
Knowledge of your data
Types Out of the box System Generated User Specified
![Page 61: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/61.jpg)
DQS Data Domains
Building Block of Knowledge Base
Data Field Specific Knowledge
Tracks Valid/Invalid Values Synonym Associations Business Rules Matching Policies
![Page 62: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/62.jpg)
DQS Data Quality Projects Facilitates use of Knowledge Base
Cleansing Projects DQS analyzes data, suggests what to do Human actually decides what to do Done by SSIS
Matching Projects Feeds on Cleansed Data Implements Matching Policy
![Page 63: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/63.jpg)
DQS Under the Hood
Implemented by SQL Server DBs Stand-alone Client SSIS Cleansing Component Master Data Services Data Quality
Components
![Page 64: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/64.jpg)
Let’s NegotiateMotivated Seller!!!
![Page 65: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/65.jpg)
Editions
Enterprise
Business Intelligence
Standard
Developer, Express, & Compact
![Page 66: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/66.jpg)
Retired Editions
Datacenter
Workgroup
Small Business
![Page 67: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/67.jpg)
Licensing Changes
Options Core-based Server+CAL
Enterprise Edition – Core-based only Minimum Four
![Page 68: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/68.jpg)
Licensing Changes
BI Edition – Server + CAL Only
Standard Either Model
HW Purchasing Decisions Impacted
![Page 69: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/69.jpg)
Virtual Licensing
Virtual Machine Level Server + CAL Virtual Core Licensing
Host Server Level Physical Server Cores Unlimited VMs with EE & SA Without SA, limits on VM Moves
![Page 70: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/70.jpg)
When to Upgrade?
High Availability Scenarios
Online Operation Scenario
New Data Quality Project
New Installs (when supported)
Others???
![Page 71: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/71.jpg)
How to Upgrade
In-place Pros – no copying, same name Cons – all at once, error = disaster
recovery
Side-by-side Pros – piecemeal Cons – more work copying, configuring
![Page 72: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/72.jpg)
Upgrade Advisor
Can analyze Data Objects T-SQL Scripts Workload Traces
Reports on Issues
Links to More Info
![Page 73: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/73.jpg)
Upgrade Assistant
Replay 2005/2008/R2 activity on test server
Requires 4 Servers Production Baseline – same version as Production,
isolates activity Test – SQL Server 2012 Report – Saves Comparison Results
![Page 74: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/74.jpg)
Small PrintPlease initial the bottom of each page...
![Page 75: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/75.jpg)
Deprecations of Note
SQL Trace/SQL Profiler in favor of: xEvents
Not ending T-SQL statements with semi-colon
Slipstreaming in favor of: Product Updates
![Page 76: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/76.jpg)
Deprecations of Note
SET FMTONLY See Metadata Discovery Slide
Osql.exe in favor of: sqlcmd.exe
90 Compatibility
![Page 77: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/77.jpg)
Deprecations of Note
SET ROWCOUNT TOP
sysobjects, etc Compatibility views
text, ntext, image varchar(max), nvarchar(max),
varbinary(max)
![Page 78: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/78.jpg)
RIP
8.0 Compatibilty
*= and =*
DTS
32-bit Address Windowing Extensions (AWE)
![Page 79: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/79.jpg)
Resources & Reference (R&R) Data Quality Services Blog
Mike Walsh on User-defined Server Roles
Denny Cherry on Sequence Objects
James Rowland-Jones on EXECUTE WITH RESULT SETS
![Page 80: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/80.jpg)
R&R Page 2
Aaron Bertrand on LocalDB
Aaron Bertrand on Columnstore Index
Jamie Thomson on SSIS
The Baker’s Dozen, 26 New Features in SQL Server Integration Services 2012, Kevin Goff, Code Magazine
![Page 81: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/81.jpg)
R&R Page 3
Ashish Kumar Mehta on Data Type Conversion Functions
MSDN Blog on IntelliSense Improvements
History of SQL Server on YouTube
Pinal Dave on sp_describe_first_result_set
![Page 82: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/82.jpg)
R&R Page 4
Conor Cunningham on Contained DBs
Michael Otey on Licensing
Grant Fritchey on Extended Events
![Page 83: The Grand Tour Brian SQL Server DBA Virginia Beach Public Schools MCITP DBA HRSSUG Leadership Team Prior Life: C++/VB Developer.](https://reader035.fdocuments.in/reader035/viewer/2022062401/5a4d1b107f8b9ab05998f013/html5/thumbnails/83.jpg)
Thanks!NULLgarity.wordpress.com