SlideShare a Scribd company logo
1 of 77
Download to read offline
Cardinality Estimates in SQL Server 2014
Thomas LaRock
Head Geek
Solarwinds
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Why Are You Here?
» You are thinking about migrating/upgrading to SQL 2014 at
some point
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Why Are You Here?
» You are thinking about migrating/upgrading to SQL 2014 at
some point
» You’ve been told to migrate to SQL 2014
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Why Are You Here?
» You are thinking about migrating/upgrading to SQL 2014 at
some point
» You’ve been told to migrate to SQL 2014
» You want to understand more about specific changes to
cardinality estimates
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
A Little About Me…
@sqlrockstar
sqlrockstar@
thomaslarock.com
linkedin.com/in/sqlrockstar
solarwinds.com/products
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
A Little About Solarwinds…
@headgeeks
lab.solarwinds.com
confio.com/events
» Why cardinality matters
» What’s new in SQL 2014
» See the new CE in action
» Questions
Agenda
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Cardinality: Why It Matters
How most people see SQL Server
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
How most people see SQL Server
QUERY
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
How most people see SQL Server
QUERY DATA
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What’s inside the box?
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Connection Is Made to
SQL Server
Connection
• Session ID
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Connection Is Made to
SQL Server
Connection
• Session ID
Request
• Query sent
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Request Is Sent To SQL
Server
Parse
Syntax
check;
reserved
keywords,
column and
table names
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Request Is Sent To SQL
Server
Parse
Syntax
check;
reserved
keywords,
column and
table names
Bind
Name
reservation,
type
derivation,
aggregates,
grouping
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Request Is Sent To SQL
Server
Parse
Syntax
check;
reserved
keywords,
column and
table names
Bind
Name
reservation,
type
derivation,
aggregates,
grouping
Optimize
Find “good
enough”
plan
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Request Is Sent To SQL
Server
Parse
Syntax
check;
reserved
keywords,
column and
table names
Bind
Name
reservation,
type
derivation,
aggregates,
grouping
Optimize
Find “good
enough”
plan
Execute
Storage
Engine
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Request Is Sent To SQL
Server
Parse
Syntax
check;
reserved
keywords,
column and
table names
Bind
Name
reservation,
type
derivation,
aggregates,
grouping
Optimize
Find “good
enough”
plan
Execute
Storage
Engine
Logical Engine
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Request Is Sent To SQL
Server
Parse
Syntax
check;
reserved
keywords,
column and
table names
Bind
Name
reservation,
type
derivation,
aggregates,
grouping
Optimize
Find “good
enough”
plan
Execute
Storage
Engine
Logical Engine
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Connection Is Made to
SQL Server
Connection
• Session ID
Request
• Query sent
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What Happens When a Connection Is Made to
SQL Server
Connection
• Session ID
Request
• Query sent
Optimize
• Optimization
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Primary goal: To find plan with “least cost”
What Happens During Query Optimization in
SQL Server
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Primary goal: To find plan with “least cost”
» Will stop when “good enough” plan is found
What Happens During Query Optimization in
SQL Server
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Primary goal: To find plan with “least cost”
» Will stop when “good enough” plan is found
» Uses statistics(!) to estimate rows needed for
operators in the execution plan
What Happens During Query Optimization in
SQL Server
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Primary goal: To find plan with “least cost”
» Will stop when “good enough” plan is found
» Uses statistics(!) to estimate rows needed for
operators in the execution plan
» The cost is an abstraction, no correlation to
performance (ie., CPU ticks)
What Happens During Query Optimization in
SQL Server
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Primary goal: To find plan with “least cost”
» Will stop when “good enough” plan is found
» Uses statistics(!) to estimate rows needed for
operators in the execution plan
» The cost is an abstraction, no correlation to
performance (ie., CPU ticks)
What Happens During Query Optimization in
SQL Server
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Query Optimization Model
» Contents are a mystery
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Query Optimization Model
» Contents are a mystery
(except to Conor and his
team)
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Query Optimization Model
» Contents are a mystery
(except to Conor and his
team)
» You don’t need the details
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Query Optimization Model
» Contents are a mystery
(except to Conor and his
team)
» You don’t need the details
(no, you don’t)
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Query Optimization Model
» Contents are a mystery
(except to Conor and his
team)
» You don’t need the details
(no, you don’t)
» You need the bigger picture
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. Does plan already exist? In not, continue to next
step.
The bigger picture
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. Does plan already exist? In not, continue to next
step.
2. Is this a trivial plan? If not, continue.
The bigger picture
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. Does plan already exist? In not, continue to next
step.
2. Is this a trivial plan? If not, continue.
3. Apply simplification.
The bigger picture
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. Does plan already exist? In not, continue to next
step.
2. Is this a trivial plan? If not, continue.
3. Apply simplification.
4. Is this plan cheap enough? If not, continue.
The bigger picture
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. Does plan already exist? In not, continue to next
step.
2. Is this a trivial plan? If not, continue.
3. Apply simplification.
4. Is this plan cheap enough? If not, continue.
5. Start cost-based optimization
The bigger picture
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
1. Does plan already exist? In not, continue to next
step.
2. Is this a trivial plan? If not, continue.
3. Apply simplification.
4. Is this plan cheap enough? If not, continue.
5. Start cost-based optimization
The bigger picture
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Explore basic rules
Cost-based optimization
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Explore basic rules
» Does plan have a cost less than 0.2?
Cost-based optimization
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Explore basic rules
» Does plan have a cost less than 0.2?
 Explore more rules, alternate join ordering. If the best plan is less than
1.0, use that plan. If not, but MAXDOP is > 0 and this is an SMP system
and the min cost > cost for parallelism, then use a parallel plan.
Compare the cost of parallel plan to best serial plan and pass the
cheaper of the plans along.
Cost-based optimization
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Explore basic rules
» Does plan have a cost less than 0.2?
 Explore more rules, alternate join ordering. If the best plan is less than
1.0, use that plan. If not, but MAXDOP is > 0 and this is an SMP system
and the min cost > cost for parallelism, then use a parallel plan.
Compare the cost of parallel plan to best serial plan and pass the
cheaper of the plans along.
» Opt for the cheapest plan after a limited number of
explorations
Cost-based optimization
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Why This Matters
» Query optimizer contains
the Cardinality Estimator
(CE)
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Why This Matters
» Query optimizer contains
the Cardinality Estimator
(CE)
» The CE is dependent upon
statistics being current and
accurate
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Why This Matters
» Query optimizer contains
the Cardinality Estimator
(CE)
» The CE is dependent upon
statistics being current and
accurate
» If stats are missing,
incorrect, or invalid then
you are likely to get a sub-
optimal plan
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What’s inside the box?
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
The CE is the DNA for your queries!
» DNA is what makes you
you
» DNA not easily seen or
understood
» CE is similar to DNA
» Tiny but BIG role
» Neither DNA nor CE are
trivial pieces of code
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What’s New In SQL Server 2014
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» There have been slight enhancements over the years
 Hotfixes, patches, trace flags
The CE has been unchanged since 7.0!
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» There have been slight enhancements over the years
 Hotfixes, patches, trace flags
» Goal for SQL2014 was not to avoid regression
The CE has been unchanged since 7.0!
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» There have been slight enhancements over the years
 Hotfixes, patches, trace flags
» Goal for SQL2014 was not to avoid regression
» It is a new CE
 Will work better for most queries
 May not work well for some
 Testing is vital!
The CE has been unchanged since 7.0!
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Legacy CE assumptions
Uniformity Independence
Containment Inclusion
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Legacy CE assumptions
Uniformity Independence
Containment Inclusion
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Legacy CE assumptions
Uniformity Independence
Containment Inclusion
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Legacy CE assumptions
Uniformity Independence
Containment Inclusion
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
See the New CE in Action
DEMO
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Likely common scenarios
ASC/DESC Key Estimates
Multiple Column Dependency
Join Estimates
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Likely common scenarios
ASC/DESC Key Estimates
Multiple Column Dependency
Join Estimates
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Likely common scenarios
ASC/DESC Key Estimates
Multiple Column Dependency
Join Estimates
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
If there are no
changes to
estimates or
the query
execution
plan…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
…but you are
seeing
degraded
performance
If there are no
changes to
estimates or
the query
execution
plan…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
…it’s not
related to the
new CE, but
general
performance
tuning may be
required
…but you are
seeing
degraded
performance
If there are no
changes to
estimates or
the query
execution
plan…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
No changes to
estimates but
the query
execution
plan
changed…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
…and you are
seeing
degraded
performance
No changes to
estimates but
the query
execution
plan
changed…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
…unlikely to
be related to
the new CE,
but tuning
may be
required
…and you are
seeing
degraded
performance
No changes to
estimates but
the query
execution
plan
changed…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
If there are
changes to
the estimates
regardless of
the query
execution
plan shape…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
…and you are
seeing
degraded
performance
If there are
changes to
the estimates
regardless of
the query
execution
plan shape…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
New CE Changes That Require Action
…action may
be necessary
if degradation
exceeds
workload
performance
SLAs
…and you are
seeing
degraded
performance
If there are
changes to
the estimates
regardless of
the query
execution
plan shape…
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Tips & Tricks
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Tips and Tricks
Auto Create/Update stats
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Tips and Tricks
Auto Create/Update stats
Database compatibility mode
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Tips and Tricks
Auto Create/Update stats
Database compatibility mode
Query trace flags
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Tips and Tricks
Auto Create/Update stats
Database compatibility mode
Query trace flags
XML showplan, xEvents
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» Why cardinality matters
» What’s new in SQL 2014
» See the new CE in action
» Questions
Agenda
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Thank You!
The SOLARWINDS and SOLARWINDS & Design marks are the exclusive
property of SolarWinds Worldwide, LLC, are registered with the U.S.
Patent and Trademark Office, and may be registered or pending
registration in other countries. All other SolarWinds trademarks, service
marks, and logos may be common law marks, registered or pending
registration in the United States or in other countries. All other
trademarks mentioned herein are used for identification purposes only
and may be or are trademarks or registered trademarks of their respective
companies.
Questions?
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
» http://tinyurl.com/joe-sack-cardinality
» http://tinyurl.com/sql-2014-new-CE
» http://tinyurl.com/sql-2014-new-CE-p2
» http://tinyurl.com/CE-deep-dive-PWhite
» http://tinyurl.com/MSDN-CE-2014
Additional info
© 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.

More Related Content

What's hot

Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guideJohan Louwers
 
Oracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new featuresOracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new featuresMaarten Smeets
 
Enabling: Optimized Integrations at Amway with Oracle SOA Suite
Enabling: Optimized Integrations at Amway with Oracle SOA SuiteEnabling: Optimized Integrations at Amway with Oracle SOA Suite
Enabling: Optimized Integrations at Amway with Oracle SOA SuiteRevelation Technologies
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech UpdatesRyusuke Kajiyama
 
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...Eric Shupps
 
TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"Ryusuke Kajiyama
 
Driving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet ModulesDriving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet ModulesSimon Haslam
 
INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11Senturus
 
Cisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAPCisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAPDirk Oppenkowski
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCRyusuke Kajiyama
 
Discover.hdp2.2.ambari.final[1]
Discover.hdp2.2.ambari.final[1]Discover.hdp2.2.ambari.final[1]
Discover.hdp2.2.ambari.final[1]Hortonworks
 
MySQL Performance Tuning 101 (Bahasa)
MySQL Performance Tuning 101 (Bahasa)MySQL Performance Tuning 101 (Bahasa)
MySQL Performance Tuning 101 (Bahasa)OracleMySQL
 
Foundation for optimized data center & private cloud
Foundation for optimized data center & private cloudFoundation for optimized data center & private cloud
Foundation for optimized data center & private cloudJS Park
 
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...Mark Swarbrick
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...vasuballa
 
Exadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cExadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cAlfredo Krieg
 

What's hot (20)

Fn project quick installation guide
Fn project quick installation guideFn project quick installation guide
Fn project quick installation guide
 
Oracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new featuresOracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new features
 
Enabling: Optimized Integrations at Amway with Oracle SOA Suite
Enabling: Optimized Integrations at Amway with Oracle SOA SuiteEnabling: Optimized Integrations at Amway with Oracle SOA Suite
Enabling: Optimized Integrations at Amway with Oracle SOA Suite
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
SharePoint 24x7x365 Architecting for High Availability, Fault Tolerance and D...
 
AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016AWR, ASH with EM13 at HotSos 2016
AWR, ASH with EM13 at HotSos 2016
 
TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"
 
Enterprise manager 13c
Enterprise manager 13cEnterprise manager 13c
Enterprise manager 13c
 
Driving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet ModulesDriving DevOps for Oracle with the orawls Puppet Modules
Driving DevOps for Oracle with the orawls Puppet Modules
 
NoSQL and MySQL
NoSQL and MySQLNoSQL and MySQL
NoSQL and MySQL
 
INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11INSTALLING COGNOS ANALYTICS 11
INSTALLING COGNOS ANALYTICS 11
 
Cisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAPCisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAP
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
 
Discover.hdp2.2.ambari.final[1]
Discover.hdp2.2.ambari.final[1]Discover.hdp2.2.ambari.final[1]
Discover.hdp2.2.ambari.final[1]
 
MySQL Performance Tuning 101 (Bahasa)
MySQL Performance Tuning 101 (Bahasa)MySQL Performance Tuning 101 (Bahasa)
MySQL Performance Tuning 101 (Bahasa)
 
Foundation for optimized data center & private cloud
Foundation for optimized data center & private cloudFoundation for optimized data center & private cloud
Foundation for optimized data center & private cloud
 
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
MySQL Webinar Series 3/4 - MySQl Monitoring With Enterprise Monitor + Query A...
 
Em13c features- HotSos 2016
Em13c features- HotSos 2016Em13c features- HotSos 2016
Em13c features- HotSos 2016
 
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
OOW16 - Deploying Oracle E-Business Suite for On-Premises Cloud and Oracle Cl...
 
Exadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cExadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13c
 

Viewers also liked

SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)BT Akademi
 
The 5 Hidden Performance Gems of SQL Server 2014
The 5 Hidden Performance Gems of SQL Server 2014The 5 Hidden Performance Gems of SQL Server 2014
The 5 Hidden Performance Gems of SQL Server 2014Boris Hristov
 
Sql Server 2014 In Memory
Sql Server 2014 In MemorySql Server 2014 In Memory
Sql Server 2014 In MemoryRavi Okade
 
Top 5 TSQL Improvements in SQL Server 2014
Top 5 TSQL Improvements in SQL Server 2014Top 5 TSQL Improvements in SQL Server 2014
Top 5 TSQL Improvements in SQL Server 2014Boris Hristov
 
SQL Server 2014 New Features
SQL Server 2014 New FeaturesSQL Server 2014 New Features
SQL Server 2014 New FeaturesOnomi
 
Why new hardware may not make SQL Server faster
Why new hardware may not make SQL Server fasterWhy new hardware may not make SQL Server faster
Why new hardware may not make SQL Server fasterSolarWinds
 
Easy way to do rolling upgrades for SQL Server
Easy way to do rolling upgrades for SQL ServerEasy way to do rolling upgrades for SQL Server
Easy way to do rolling upgrades for SQL ServerSolarWinds
 
The have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesThe have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesSolarWinds
 
SolarWinds Federal Webinar: Technical Update & Demo of New Features
SolarWinds Federal Webinar: Technical Update & Demo of New FeaturesSolarWinds Federal Webinar: Technical Update & Demo of New Features
SolarWinds Federal Webinar: Technical Update & Demo of New FeaturesSolarWinds
 
Survey: IT is Everywhere (End Users’ Perspective, UK)
Survey: IT is Everywhere (End Users’ Perspective, UK)Survey: IT is Everywhere (End Users’ Perspective, UK)
Survey: IT is Everywhere (End Users’ Perspective, UK)SolarWinds
 
The Fiction behind IT Security Confidence
The Fiction behind IT Security ConfidenceThe Fiction behind IT Security Confidence
The Fiction behind IT Security ConfidenceSolarWinds
 
How to fix IO problems for faster SQL Server performance
How to fix IO problems for faster SQL Server performanceHow to fix IO problems for faster SQL Server performance
How to fix IO problems for faster SQL Server performanceSolarWinds
 
Advanced tips for making Oracle databases faster
Advanced tips for making Oracle databases fasterAdvanced tips for making Oracle databases faster
Advanced tips for making Oracle databases fasterSolarWinds
 
Columnstore indexes in sql server 2014
Columnstore indexes in sql server 2014Columnstore indexes in sql server 2014
Columnstore indexes in sql server 2014Antonios Chatzipavlis
 
Ending the Tyranny of Expensive Security Tools
Ending the Tyranny of Expensive Security ToolsEnding the Tyranny of Expensive Security Tools
Ending the Tyranny of Expensive Security ToolsSolarWinds
 
Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)
Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)
Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)SolarWinds
 
Get High-Octane Virtual Datacenter Performance
Get High-Octane Virtual Datacenter PerformanceGet High-Octane Virtual Datacenter Performance
Get High-Octane Virtual Datacenter PerformanceSolarWinds
 
SAM Webinar - Keep Your Web Apps Running Lean & Mean
SAM Webinar - Keep Your Web Apps Running Lean & Mean SAM Webinar - Keep Your Web Apps Running Lean & Mean
SAM Webinar - Keep Your Web Apps Running Lean & Mean SolarWinds
 
Air Force Webinar: Using a SIEM to Improve Your IT Security
Air Force Webinar: Using a SIEM to Improve Your IT Security Air Force Webinar: Using a SIEM to Improve Your IT Security
Air Force Webinar: Using a SIEM to Improve Your IT Security SolarWinds
 
SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...
SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...
SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...SolarWinds
 

Viewers also liked (20)

SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
 
The 5 Hidden Performance Gems of SQL Server 2014
The 5 Hidden Performance Gems of SQL Server 2014The 5 Hidden Performance Gems of SQL Server 2014
The 5 Hidden Performance Gems of SQL Server 2014
 
Sql Server 2014 In Memory
Sql Server 2014 In MemorySql Server 2014 In Memory
Sql Server 2014 In Memory
 
Top 5 TSQL Improvements in SQL Server 2014
Top 5 TSQL Improvements in SQL Server 2014Top 5 TSQL Improvements in SQL Server 2014
Top 5 TSQL Improvements in SQL Server 2014
 
SQL Server 2014 New Features
SQL Server 2014 New FeaturesSQL Server 2014 New Features
SQL Server 2014 New Features
 
Why new hardware may not make SQL Server faster
Why new hardware may not make SQL Server fasterWhy new hardware may not make SQL Server faster
Why new hardware may not make SQL Server faster
 
Easy way to do rolling upgrades for SQL Server
Easy way to do rolling upgrades for SQL ServerEasy way to do rolling upgrades for SQL Server
Easy way to do rolling upgrades for SQL Server
 
The have no fear guide to virtualizing databases
The have no fear guide to virtualizing databasesThe have no fear guide to virtualizing databases
The have no fear guide to virtualizing databases
 
SolarWinds Federal Webinar: Technical Update & Demo of New Features
SolarWinds Federal Webinar: Technical Update & Demo of New FeaturesSolarWinds Federal Webinar: Technical Update & Demo of New Features
SolarWinds Federal Webinar: Technical Update & Demo of New Features
 
Survey: IT is Everywhere (End Users’ Perspective, UK)
Survey: IT is Everywhere (End Users’ Perspective, UK)Survey: IT is Everywhere (End Users’ Perspective, UK)
Survey: IT is Everywhere (End Users’ Perspective, UK)
 
The Fiction behind IT Security Confidence
The Fiction behind IT Security ConfidenceThe Fiction behind IT Security Confidence
The Fiction behind IT Security Confidence
 
How to fix IO problems for faster SQL Server performance
How to fix IO problems for faster SQL Server performanceHow to fix IO problems for faster SQL Server performance
How to fix IO problems for faster SQL Server performance
 
Advanced tips for making Oracle databases faster
Advanced tips for making Oracle databases fasterAdvanced tips for making Oracle databases faster
Advanced tips for making Oracle databases faster
 
Columnstore indexes in sql server 2014
Columnstore indexes in sql server 2014Columnstore indexes in sql server 2014
Columnstore indexes in sql server 2014
 
Ending the Tyranny of Expensive Security Tools
Ending the Tyranny of Expensive Security ToolsEnding the Tyranny of Expensive Security Tools
Ending the Tyranny of Expensive Security Tools
 
Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)
Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)
Survey: IT is Everywhere (End Users’ Perspective, Hong Kong)
 
Get High-Octane Virtual Datacenter Performance
Get High-Octane Virtual Datacenter PerformanceGet High-Octane Virtual Datacenter Performance
Get High-Octane Virtual Datacenter Performance
 
SAM Webinar - Keep Your Web Apps Running Lean & Mean
SAM Webinar - Keep Your Web Apps Running Lean & Mean SAM Webinar - Keep Your Web Apps Running Lean & Mean
SAM Webinar - Keep Your Web Apps Running Lean & Mean
 
Air Force Webinar: Using a SIEM to Improve Your IT Security
Air Force Webinar: Using a SIEM to Improve Your IT Security Air Force Webinar: Using a SIEM to Improve Your IT Security
Air Force Webinar: Using a SIEM to Improve Your IT Security
 
SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...
SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...
SolarWinds Federal User Group 2016 - SolarWinds Network Management Products U...
 

Similar to Why SQL Server 2014 Cardinality Estimator is *the* killer feature

Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLMark Swarbrick
 
Rediscover Software Development Edward Hieatt Web Summit 2014
Rediscover Software Development Edward Hieatt Web Summit 2014Rediscover Software Development Edward Hieatt Web Summit 2014
Rediscover Software Development Edward Hieatt Web Summit 2014VMware Tanzu
 
JustEnoughDevOpsForDataScientists
JustEnoughDevOpsForDataScientistsJustEnoughDevOpsForDataScientists
JustEnoughDevOpsForDataScientistsAnya Bida
 
CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...
CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...
CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...William Hendrickson
 
Is Your S&OP Lost in Translation?
Is Your S&OP Lost in Translation?Is Your S&OP Lost in Translation?
Is Your S&OP Lost in Translation?Steelwedge
 
Performance, capacity planning, and efficiency in a virtualized world
Performance, capacity planning, and efficiency in a virtualized worldPerformance, capacity planning, and efficiency in a virtualized world
Performance, capacity planning, and efficiency in a virtualized worldScalar Decisions
 
A Holistic View of Complex Systems and Organizational Change
A Holistic View of Complex Systems and Organizational ChangeA Holistic View of Complex Systems and Organizational Change
A Holistic View of Complex Systems and Organizational ChangeTechWell
 
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a ServiceOracle Korea
 
Building Your Cloud Strategy AWS Summit SG 2017
Building Your Cloud Strategy AWS Summit SG 2017Building Your Cloud Strategy AWS Summit SG 2017
Building Your Cloud Strategy AWS Summit SG 2017Amazon Web Services
 
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...JMP software from SAS
 
Oracle Cloud: Anything as a Service
Oracle Cloud: Anything as a ServiceOracle Cloud: Anything as a Service
Oracle Cloud: Anything as a ServiceBruno Borges
 
Oracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12cOracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12cBastien Leblanc
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementMark Matthews
 
"Deploy. Sneller." Webinar Slides (Dutch webinar)
"Deploy. Sneller." Webinar Slides (Dutch webinar)"Deploy. Sneller." Webinar Slides (Dutch webinar)
"Deploy. Sneller." Webinar Slides (Dutch webinar)XebiaLabs
 
MySQL Webinar Series 4/4 - Manage & tune
MySQL Webinar Series 4/4 - Manage & tuneMySQL Webinar Series 4/4 - Manage & tune
MySQL Webinar Series 4/4 - Manage & tuneMark Swarbrick
 
Gap Analysis Powerpoint Presentation Slides
Gap Analysis Powerpoint Presentation SlidesGap Analysis Powerpoint Presentation Slides
Gap Analysis Powerpoint Presentation SlidesSlideTeam
 
Gap Analysis PowerPoint Presentation Slides
Gap Analysis PowerPoint Presentation Slides Gap Analysis PowerPoint Presentation Slides
Gap Analysis PowerPoint Presentation Slides SlideTeam
 
Cómo terminar tu Planeación Financiera antes de las 6PM
Cómo terminar tu Planeación Financiera antes de las 6PMCómo terminar tu Planeación Financiera antes de las 6PM
Cómo terminar tu Planeación Financiera antes de las 6PMOracleOfficeOfFinance
 

Similar to Why SQL Server 2014 Cardinality Estimator is *the* killer feature (20)

Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
 
Rediscover Software Development Edward Hieatt Web Summit 2014
Rediscover Software Development Edward Hieatt Web Summit 2014Rediscover Software Development Edward Hieatt Web Summit 2014
Rediscover Software Development Edward Hieatt Web Summit 2014
 
AgileCamp 2014 Track 1: Accelerating Agile Enterprise Adoption with Scaled Ag...
AgileCamp 2014 Track 1: Accelerating Agile Enterprise Adoption with Scaled Ag...AgileCamp 2014 Track 1: Accelerating Agile Enterprise Adoption with Scaled Ag...
AgileCamp 2014 Track 1: Accelerating Agile Enterprise Adoption with Scaled Ag...
 
JustEnoughDevOpsForDataScientists
JustEnoughDevOpsForDataScientistsJustEnoughDevOpsForDataScientists
JustEnoughDevOpsForDataScientists
 
CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...
CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...
CON8438_Hendrickson-Oracle and Accenture Well Delivery Solution Presentation ...
 
Is Your S&OP Lost in Translation?
Is Your S&OP Lost in Translation?Is Your S&OP Lost in Translation?
Is Your S&OP Lost in Translation?
 
Performance, capacity planning, and efficiency in a virtualized world
Performance, capacity planning, and efficiency in a virtualized worldPerformance, capacity planning, and efficiency in a virtualized world
Performance, capacity planning, and efficiency in a virtualized world
 
A Holistic View of Complex Systems and Organizational Change
A Holistic View of Complex Systems and Organizational ChangeA Holistic View of Complex Systems and Organizational Change
A Holistic View of Complex Systems and Organizational Change
 
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
[2015 Oracle Cloud Summit] 2. Innovate with Oracle Platform as a Service
 
Building Your Cloud Strategy AWS Summit SG 2017
Building Your Cloud Strategy AWS Summit SG 2017Building Your Cloud Strategy AWS Summit SG 2017
Building Your Cloud Strategy AWS Summit SG 2017
 
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
 
Oracle Cloud: Anything as a Service
Oracle Cloud: Anything as a ServiceOracle Cloud: Anything as a Service
Oracle Cloud: Anything as a Service
 
Oracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12cOracle Cloud Platform - Migrer vers la Database 12c
Oracle Cloud Platform - Migrer vers la Database 12c
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance Improvement
 
"Deploy. Sneller." Webinar Slides (Dutch webinar)
"Deploy. Sneller." Webinar Slides (Dutch webinar)"Deploy. Sneller." Webinar Slides (Dutch webinar)
"Deploy. Sneller." Webinar Slides (Dutch webinar)
 
MySQL Webinar Series 4/4 - Manage & tune
MySQL Webinar Series 4/4 - Manage & tuneMySQL Webinar Series 4/4 - Manage & tune
MySQL Webinar Series 4/4 - Manage & tune
 
Gap Analysis Powerpoint Presentation Slides
Gap Analysis Powerpoint Presentation SlidesGap Analysis Powerpoint Presentation Slides
Gap Analysis Powerpoint Presentation Slides
 
Gap Analysis PowerPoint Presentation Slides
Gap Analysis PowerPoint Presentation Slides Gap Analysis PowerPoint Presentation Slides
Gap Analysis PowerPoint Presentation Slides
 
Cómo terminar tu Planeación Financiera antes de las 6PM
Cómo terminar tu Planeación Financiera antes de las 6PMCómo terminar tu Planeación Financiera antes de las 6PM
Cómo terminar tu Planeación Financiera antes de las 6PM
 
WordStream & SiteTuners: The A/B Testing Myth [Webinar]
WordStream & SiteTuners: The A/B Testing Myth [Webinar]WordStream & SiteTuners: The A/B Testing Myth [Webinar]
WordStream & SiteTuners: The A/B Testing Myth [Webinar]
 

More from SolarWinds

SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...SolarWinds
 
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...SolarWinds
 
Government Webinar: Alerting and Reporting in the Age of Observability
Government Webinar: Alerting and Reporting in the Age of ObservabilityGovernment Webinar: Alerting and Reporting in the Age of Observability
Government Webinar: Alerting and Reporting in the Age of ObservabilitySolarWinds
 
Government and Education Webinar: Full Stack Observability
Government and Education Webinar: Full Stack ObservabilityGovernment and Education Webinar: Full Stack Observability
Government and Education Webinar: Full Stack ObservabilitySolarWinds
 
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...SolarWinds
 
Becoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software VendorsBecoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software VendorsSolarWinds
 
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command DashboardsGovernment and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command DashboardsSolarWinds
 
Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...SolarWinds
 
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...SolarWinds
 
Government and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT OperationsGovernment and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT OperationsSolarWinds
 
Government and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application PerformanceGovernment and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application PerformanceSolarWinds
 
Government and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid WorkforceGovernment and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid WorkforceSolarWinds
 
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...SolarWinds
 
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...SolarWinds
 
Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion SolarWinds
 
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...SolarWinds
 
Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning SolarWinds
 
Government and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your NetworkGovernment and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your NetworkSolarWinds
 
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...SolarWinds
 
Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges SolarWinds
 

More from SolarWinds (20)

SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
SolarWinds Government and Education Webinar: Greatest SolarWinds Features I N...
 
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
SolarWinds Government and Education Webinar: Gaps Exist in Your Monitoring In...
 
Government Webinar: Alerting and Reporting in the Age of Observability
Government Webinar: Alerting and Reporting in the Age of ObservabilityGovernment Webinar: Alerting and Reporting in the Age of Observability
Government Webinar: Alerting and Reporting in the Age of Observability
 
Government and Education Webinar: Full Stack Observability
Government and Education Webinar: Full Stack ObservabilityGovernment and Education Webinar: Full Stack Observability
Government and Education Webinar: Full Stack Observability
 
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
Government and Education Webinar: Public Sector Cybersecurity Survey - What I...
 
Becoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software VendorsBecoming Secure By Design: Questions You Should Ask Your Software Vendors
Becoming Secure By Design: Questions You Should Ask Your Software Vendors
 
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command DashboardsGovernment and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
Government and Education Webinar: Real-Time Mission, CIO, and Command Dashboards
 
Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...Government and Education Webinar: Simplify Your Database Performance Manageme...
Government and Education Webinar: Simplify Your Database Performance Manageme...
 
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
Government and Education Webinar: SolarWinds Orion Platform: Audit and Stream...
 
Government and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT OperationsGovernment and Education Webinar: Leverage Automation to Improve IT Operations
Government and Education Webinar: Leverage Automation to Improve IT Operations
 
Government and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application PerformanceGovernment and Education Webinar: Improving Application Performance
Government and Education Webinar: Improving Application Performance
 
Government and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid WorkforceGovernment and Education: IT Tools to Support Your Hybrid Workforce
Government and Education: IT Tools to Support Your Hybrid Workforce
 
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
Government and Education Webinar: There's More Than One Way to Monitor SQL Da...
 
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
SolarWinds Government and Education Webinar: Virtual Technology Briefing 08.0...
 
Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion Government and Education Webinar: Zero-Trust Panel Discussion
Government and Education Webinar: Zero-Trust Panel Discussion
 
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
Government and Education: Leveraging The SolarWinds Orion Assistance Program ...
 
Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning Government and Education Webinar: SQL Server—Advanced Performance Tuning
Government and Education Webinar: SQL Server—Advanced Performance Tuning
 
Government and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your NetworkGovernment and Education Webinar: Recovering IP Addresses on Your Network
Government and Education Webinar: Recovering IP Addresses on Your Network
 
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...Government and Education Webinar: Optimize Performance With Advanced Host Mon...
Government and Education Webinar: Optimize Performance With Advanced Host Mon...
 
Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges Government and Education Webinar: Conquering Remote Work IT Challenges
Government and Education Webinar: Conquering Remote Work IT Challenges
 

Recently uploaded

Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Why SQL Server 2014 Cardinality Estimator is *the* killer feature

  • 1. Cardinality Estimates in SQL Server 2014 Thomas LaRock Head Geek Solarwinds © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 2. Why Are You Here? » You are thinking about migrating/upgrading to SQL 2014 at some point © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 3. Why Are You Here? » You are thinking about migrating/upgrading to SQL 2014 at some point » You’ve been told to migrate to SQL 2014 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 4. Why Are You Here? » You are thinking about migrating/upgrading to SQL 2014 at some point » You’ve been told to migrate to SQL 2014 » You want to understand more about specific changes to cardinality estimates © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 5. © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. A Little About Me… @sqlrockstar sqlrockstar@ thomaslarock.com linkedin.com/in/sqlrockstar
  • 6. solarwinds.com/products © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. A Little About Solarwinds… @headgeeks lab.solarwinds.com confio.com/events
  • 7. » Why cardinality matters » What’s new in SQL 2014 » See the new CE in action » Questions Agenda © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 8. © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Cardinality: Why It Matters
  • 9. How most people see SQL Server © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 10. How most people see SQL Server QUERY © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 11. How most people see SQL Server QUERY DATA © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 12. What’s inside the box? © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 13. What Happens When a Connection Is Made to SQL Server Connection • Session ID © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 14. What Happens When a Connection Is Made to SQL Server Connection • Session ID Request • Query sent © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 15. What Happens When a Request Is Sent To SQL Server Parse Syntax check; reserved keywords, column and table names © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 16. What Happens When a Request Is Sent To SQL Server Parse Syntax check; reserved keywords, column and table names Bind Name reservation, type derivation, aggregates, grouping © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 17. What Happens When a Request Is Sent To SQL Server Parse Syntax check; reserved keywords, column and table names Bind Name reservation, type derivation, aggregates, grouping Optimize Find “good enough” plan © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 18. What Happens When a Request Is Sent To SQL Server Parse Syntax check; reserved keywords, column and table names Bind Name reservation, type derivation, aggregates, grouping Optimize Find “good enough” plan Execute Storage Engine © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 19. What Happens When a Request Is Sent To SQL Server Parse Syntax check; reserved keywords, column and table names Bind Name reservation, type derivation, aggregates, grouping Optimize Find “good enough” plan Execute Storage Engine Logical Engine © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 20. What Happens When a Request Is Sent To SQL Server Parse Syntax check; reserved keywords, column and table names Bind Name reservation, type derivation, aggregates, grouping Optimize Find “good enough” plan Execute Storage Engine Logical Engine © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 21. What Happens When a Connection Is Made to SQL Server Connection • Session ID Request • Query sent © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 22. What Happens When a Connection Is Made to SQL Server Connection • Session ID Request • Query sent Optimize • Optimization © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 23. » Primary goal: To find plan with “least cost” What Happens During Query Optimization in SQL Server © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 24. » Primary goal: To find plan with “least cost” » Will stop when “good enough” plan is found What Happens During Query Optimization in SQL Server © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 25. » Primary goal: To find plan with “least cost” » Will stop when “good enough” plan is found » Uses statistics(!) to estimate rows needed for operators in the execution plan What Happens During Query Optimization in SQL Server © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 26. » Primary goal: To find plan with “least cost” » Will stop when “good enough” plan is found » Uses statistics(!) to estimate rows needed for operators in the execution plan » The cost is an abstraction, no correlation to performance (ie., CPU ticks) What Happens During Query Optimization in SQL Server © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 27. » Primary goal: To find plan with “least cost” » Will stop when “good enough” plan is found » Uses statistics(!) to estimate rows needed for operators in the execution plan » The cost is an abstraction, no correlation to performance (ie., CPU ticks) What Happens During Query Optimization in SQL Server © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 28. Query Optimization Model » Contents are a mystery © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 29. Query Optimization Model » Contents are a mystery (except to Conor and his team) © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 30. Query Optimization Model » Contents are a mystery (except to Conor and his team) » You don’t need the details © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 31. Query Optimization Model » Contents are a mystery (except to Conor and his team) » You don’t need the details (no, you don’t) © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 32. Query Optimization Model » Contents are a mystery (except to Conor and his team) » You don’t need the details (no, you don’t) » You need the bigger picture © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 33. 1. Does plan already exist? In not, continue to next step. The bigger picture © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 34. 1. Does plan already exist? In not, continue to next step. 2. Is this a trivial plan? If not, continue. The bigger picture © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 35. 1. Does plan already exist? In not, continue to next step. 2. Is this a trivial plan? If not, continue. 3. Apply simplification. The bigger picture © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 36. 1. Does plan already exist? In not, continue to next step. 2. Is this a trivial plan? If not, continue. 3. Apply simplification. 4. Is this plan cheap enough? If not, continue. The bigger picture © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 37. 1. Does plan already exist? In not, continue to next step. 2. Is this a trivial plan? If not, continue. 3. Apply simplification. 4. Is this plan cheap enough? If not, continue. 5. Start cost-based optimization The bigger picture © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 38. 1. Does plan already exist? In not, continue to next step. 2. Is this a trivial plan? If not, continue. 3. Apply simplification. 4. Is this plan cheap enough? If not, continue. 5. Start cost-based optimization The bigger picture © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 39. » Explore basic rules Cost-based optimization © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 40. » Explore basic rules » Does plan have a cost less than 0.2? Cost-based optimization © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 41. » Explore basic rules » Does plan have a cost less than 0.2?  Explore more rules, alternate join ordering. If the best plan is less than 1.0, use that plan. If not, but MAXDOP is > 0 and this is an SMP system and the min cost > cost for parallelism, then use a parallel plan. Compare the cost of parallel plan to best serial plan and pass the cheaper of the plans along. Cost-based optimization © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 42. » Explore basic rules » Does plan have a cost less than 0.2?  Explore more rules, alternate join ordering. If the best plan is less than 1.0, use that plan. If not, but MAXDOP is > 0 and this is an SMP system and the min cost > cost for parallelism, then use a parallel plan. Compare the cost of parallel plan to best serial plan and pass the cheaper of the plans along. » Opt for the cheapest plan after a limited number of explorations Cost-based optimization © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 43. Why This Matters » Query optimizer contains the Cardinality Estimator (CE) © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 44. Why This Matters » Query optimizer contains the Cardinality Estimator (CE) » The CE is dependent upon statistics being current and accurate © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 45. Why This Matters » Query optimizer contains the Cardinality Estimator (CE) » The CE is dependent upon statistics being current and accurate » If stats are missing, incorrect, or invalid then you are likely to get a sub- optimal plan © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 46. What’s inside the box? © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 47. The CE is the DNA for your queries! » DNA is what makes you you » DNA not easily seen or understood » CE is similar to DNA » Tiny but BIG role » Neither DNA nor CE are trivial pieces of code © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 48. What’s New In SQL Server 2014 © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 49. » There have been slight enhancements over the years  Hotfixes, patches, trace flags The CE has been unchanged since 7.0! © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 50. » There have been slight enhancements over the years  Hotfixes, patches, trace flags » Goal for SQL2014 was not to avoid regression The CE has been unchanged since 7.0! © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 51. » There have been slight enhancements over the years  Hotfixes, patches, trace flags » Goal for SQL2014 was not to avoid regression » It is a new CE  Will work better for most queries  May not work well for some  Testing is vital! The CE has been unchanged since 7.0! © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 52. Legacy CE assumptions Uniformity Independence Containment Inclusion © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 53. Legacy CE assumptions Uniformity Independence Containment Inclusion © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 54. Legacy CE assumptions Uniformity Independence Containment Inclusion © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 55. Legacy CE assumptions Uniformity Independence Containment Inclusion © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 56. See the New CE in Action DEMO © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 57. Likely common scenarios ASC/DESC Key Estimates Multiple Column Dependency Join Estimates © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 58. Likely common scenarios ASC/DESC Key Estimates Multiple Column Dependency Join Estimates © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 59. Likely common scenarios ASC/DESC Key Estimates Multiple Column Dependency Join Estimates © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 60. New CE Changes That Require Action If there are no changes to estimates or the query execution plan… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 61. New CE Changes That Require Action …but you are seeing degraded performance If there are no changes to estimates or the query execution plan… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 62. New CE Changes That Require Action …it’s not related to the new CE, but general performance tuning may be required …but you are seeing degraded performance If there are no changes to estimates or the query execution plan… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 63. New CE Changes That Require Action No changes to estimates but the query execution plan changed… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 64. New CE Changes That Require Action …and you are seeing degraded performance No changes to estimates but the query execution plan changed… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 65. New CE Changes That Require Action …unlikely to be related to the new CE, but tuning may be required …and you are seeing degraded performance No changes to estimates but the query execution plan changed… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 66. New CE Changes That Require Action If there are changes to the estimates regardless of the query execution plan shape… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 67. New CE Changes That Require Action …and you are seeing degraded performance If there are changes to the estimates regardless of the query execution plan shape… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 68. New CE Changes That Require Action …action may be necessary if degradation exceeds workload performance SLAs …and you are seeing degraded performance If there are changes to the estimates regardless of the query execution plan shape… © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 69. Tips & Tricks © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 70. Tips and Tricks Auto Create/Update stats © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 71. Tips and Tricks Auto Create/Update stats Database compatibility mode © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 72. Tips and Tricks Auto Create/Update stats Database compatibility mode Query trace flags © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 73. Tips and Tricks Auto Create/Update stats Database compatibility mode Query trace flags XML showplan, xEvents © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 74. » Why cardinality matters » What’s new in SQL 2014 » See the new CE in action » Questions Agenda © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 75. © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Thank You! The SOLARWINDS and SOLARWINDS & Design marks are the exclusive property of SolarWinds Worldwide, LLC, are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other SolarWinds trademarks, service marks, and logos may be common law marks, registered or pending registration in the United States or in other countries. All other trademarks mentioned herein are used for identification purposes only and may be or are trademarks or registered trademarks of their respective companies.
  • 76. Questions? © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
  • 77. » http://tinyurl.com/joe-sack-cardinality » http://tinyurl.com/sql-2014-new-CE » http://tinyurl.com/sql-2014-new-CE-p2 » http://tinyurl.com/CE-deep-dive-PWhite » http://tinyurl.com/MSDN-CE-2014 Additional info © 2014 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.