Sign In
Bart Duncan's SQL Weblog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Common Tasks
Blog Home
Email Blog Author
OK
RSS for comments
RSS for posts
Atom
July, 2006
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Policy Based Management
Query Tuning
SQL Capacity Planning
SQL Deadlocks
SQL Locking
SQL Memory
SQL Optimizer
SQL Performance
SQL Procedure Cache
SQL Server
T-SQL
Monthly Archives
Archives
March 2012
(1)
March 2011
(1)
January 2011
(2)
November 2010
(1)
August 2010
(1)
June 2010
(2)
May 2010
(1)
May 2009
(1)
March 2009
(1)
September 2008
(3)
July 2007
(2)
September 2006
(3)
August 2006
(2)
July 2006
(3)
June 2006
(1)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Bart Duncan's SQL Weblog
Wide vs. Narrow Plans
Posted
over 6 years ago
by
bartduncan
5
Comments
Here's another case where you might see intermittently poor performance that is "by design". Suppose you see that a delete, insert, or update query in a stored proc usually runs quickly, but occasionally the query takes much longer to complete. You captured...
Bart Duncan's SQL Weblog
Limited Statistics Granularity
Posted
over 6 years ago
by
bartduncan
10
Comments
To set up this scenario, run the script below: USE tempdb GO IF OBJECT_ID ('test1') IS NOT NULL DROP TABLE test1 GO CREATE TABLE test1 (c1 tinyint, c2 smallint) DECLARE @x int DECLARE @msg varchar(1000) SET @x = 1 SET NOCOUNT ON BEGIN TRAN WHILE...
Bart Duncan's SQL Weblog
Why a bad plan isn't necessarily a bug
Posted
over 6 years ago
by
bartduncan
0
Comments
Everyone that has worked with databases for long enough has run into situations where the query optimizer doesn't select the best possible plan. You may find that you can force SQL to use an index, choose a different join algorithm or join order, or use...
Page 1 of 1 (3 items)