Sign in
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Tags
No tags have been created or used yet.
Archive
Archives
September 2006
(2)
August 2006
(2)
July 2006
(3)
June 2006
(1)
May 2006
(2)
April 2006
(6)
March 2006
(8)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
I Smell a Parameter!
Posted
over 7 years ago
by
QueryOptTeam
14
Comments
Parameters are a useful way to improve overall system performance when there are many common queries with the same shape. Instead of compiling each query, one plan can be used for all similar queries. This can significantly reduce CPU overhead and improve...
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
Row Goals in Action
Posted
over 7 years ago
by
QueryOptTeam
7
Comments
Today, we'll talk about row goals. The optimizer in SQL Server has a feature that can bias plan choices to retrieve a certain number of rows quickly instead of the whole results. This shows up in a few places, but the primary areas are in TOP N queries...
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
Migrating Cardinality Eestimation Posts from Previous Blog
Posted
over 7 years ago
by
QueryOptTeam
0
Comments
Ian had a blog that contains a number of interestig tips/tricks, mostly about cardinality estimation during query optimization. I've chatted with him and will be migrating/expanding some content over to the team site. If you have specific requests...
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
TOP 100 Percent ORDER BY Considered Harmful.
Posted
over 7 years ago
by
QueryOptTeam
18
Comments
(Updated 2006-27-03 9:00am Pacfiic Time - at the bottom) SQL is a declarative language. That means that the language declares the form of the output but not the method used to generate those results. There are cases, however, where the language is...
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
Using Computed Columns to Fix Scalar Expression Estimation Errors
Posted
over 7 years ago
by
QueryOptTeam
7
Comments
(Ok, let's try something a bit more involved now. Here's a tip on how you can use computed columns to improve query plan quality in SQL Server 2005. The optimizer supports building statistics on the results of expressions, and this can avoid debugging...
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
Query Recompilation Details
Posted
over 7 years ago
by
QueryOptTeam
0
Comments
SQL Server contains self-tuning functionality that will recompile your query as the source data changes to find more efficient query plans for your current data. This process of recompiling queries is a great, general-purpose feature to keep your system...
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
Statistics in SQL Server 2005 White Paper
Posted
over 7 years ago
by
QueryOptTeam
0
Comments
Statistics is one of the most challenging areas of our product. While we have automated a number of the common cases so that the average installation does not need to worry about the details of statistics, it is still important for an administrator to...
Tips, Tricks, and Advice from the SQL Server Query Optimization Team
Greetings!
Posted
over 7 years ago
by
QueryOptTeam
4
Comments
On behalf of the Query Optimization Team for Microsoft's SQL Server product, welcome to our humble virtual abode. We decided that we'd start a blog to help people better understand query plans, physical schema design in databases, making your application...
Page 1 of 1 (8 items)