|
|
|
|
Browse by Tags
All Tags » Query Plans (RSS)
Showing page 2 of 4 (32 total posts)
-
I’ve seen the question a few times now: “How do I compare two plans side-by-side in Plan Explorer?” Management Studio allows you to view multiple graphical plans that are visible simultaneously, either by generating plans for every statement in a batch, or by generating plans in separate query windows and then splitting the panes. However, at ...
-
Back in 2008, Marc Friedman of the SQL Server Query Processor Team wrote a blog entry entitled “Distinct Aggregation Considered Harmful”, in which he shows a way to work around the poor performance that often results simply from adding the keyword DISTINCT to an otherwise perfectly reasonable aggregate function in a query. This post is an ...
-
For those of you using the SQL Server 2008 R2 version of Management Studio, and have applied Service Pack 1, you have probably noticed that clicking on a ShowPlan in grid results no longer shows the graphical plan, but rather opens a new window with the raw XML.
For example, running the following query:
SELECT TOP (5) ...
-
On Friday, we published a new version of our free query plan analysis tool, SQL Sentry Plan Explorer. As noted in the change list, we've added a couple of important features.
SQL Server 2012 support
With a whole slew of changes to the showplan schema in Denali, we've added operators and columns to reflect these changes. For example, you will ...
-
In this post, I show you how to determine exactly which statistics objects were used by the query optimizer to produce an execution plan. Trace Flags We will need three undocumented trace flags. The first one (3604) is well-known – it redirects trace output to the client so it appears in the SSMS messages tab.
The second trace flag is ...
-
A couple of years ago, John Sansom wrote a blog post comparing the performance of two different ways to get the maximum value from a column: MAX() and TOP (1).
http://www.johnsansom.com/performance-comparison-of-select-top-1-verses-max/
In the conclusion, he states:
When a clustered index is present on the table & ...
-
Plan Explorer is a free application from SQL Sentry, designed
to make execution plan analysis faster and easier. It was developed in response
to customer demand for deeper query analysis, but was originally intended only
for the paid version of the software. When the team realized how useful the
tool could actually be, they decided to give ...
-
Books Online has this to say about page splits: When a new row is added to a full index page, the Database Engine moves approximately half the rows to a new page to make room for the new row. This reorganization is known as a page split. A page split makes room for new records, but can take time to perform and is a resource ...
-
Today we released a new build of SQL Sentry Plan Explorer. The build # is 6.2.34 and you can download it from the usual location.
Plan Explorer Changes
The updates in this release include the following:
A new ''Check for Updates'' feature accessible via the Help menu:
Other new additions to the Help menu:
Enable/disable the ...
-
You probably already know that it’s important to be aware of data types when writing queries, and that implicit conversions between types can lead to poor query performance. Some people have gone so far as to write scripts to search the plan cache for CONVERT_IMPLICIT elements, and others routinely inspect plans for that type of thing when ...
2
|
|
|
|
|