Viewing 15 posts - 61 through 75 (of 175 total)
Here are a few good web resources on parameter sniffing.
http://omnibuzz-sql.blogspot.com/2006/11/parameter-sniffing-stored-procedures.html
http://nflanagan.blogspot.com/2006/07/parameter-sniffing.html
http://blogs.msdn.com/khen1234/archive/2005/06/02/424228.aspx
http://www.sqlmag.com/Article/ArticleID/94369/sql_server_94369.html
Basically there are a few ways to defeat it. This sounds to me like you're running into this issue.
Is there...
August 19, 2008 at 1:13 pm
Can you post the query plan for the above so we can see what's happening?
Also, what's the sp_configure value for 'cost threshold for parallelism' ? Usually the default of...
August 19, 2008 at 10:03 am
Also, just so you know... if you choose to trace deadlocking in the log file, there's a new trace flag in 2005 that gives you a lot more information. ...
August 19, 2008 at 10:00 am
Please post an example of the queries and query plans from SQL Server 2000 and 2005. Until we see what exactly the query is doing, its difficult to determine...
August 19, 2008 at 9:53 am
Yep. Parallelism. Looks like SQL's having issues with selectivity and dropping back to "guess mode" and parallelizing the query. Either increase the sp_configure value for 'cost threshold...
August 19, 2008 at 9:36 am
1. Create an Event in SQL Server. Configure it to listen to the SQL Server namespace at \\.\root\Microsoft\SqlServer\ServerEvents\MSSQLSERVER. Make the query of the alert SELECT * FROM...
August 18, 2008 at 5:02 pm
As indicated before, post the entire execution plan for each.
Also, just as something to check, make sure you're not getting nailed by the parameter sniffing issue. If your between...
August 18, 2008 at 4:34 pm
Simply put, there's too much legacy code and legacy mindfame out there. Marketing disaster. I'd prefer some optimizer enhancements that detect cursor calls and decide on a set-based query plan.
August 12, 2008 at 1:42 pm
Also, looking at the query plan you posted, looks like you're going into some massive parallelism on that query. Depending on what's going on, that could potentially kill your...
August 12, 2008 at 9:07 am
If you want to get technical, any time you see a spool operation in a query plan, its sorting in TempDb. It has nothing to do with the SORT_IN_TEMPDB...
August 12, 2008 at 8:48 am
Also the reason why Microsoft has improved the interface for managing a partition in SQL 2008's Management Studio.
Totally agree though. The T-SQL implementation for partition management is klunky. ...
August 8, 2008 at 11:13 am
Jeff has the right idea up there. Those non-clustered indexes are probably hurting your performance unless they are also used to find the records to delete in the first...
August 8, 2008 at 10:57 am
Perry Whittle (8/8/2008)
sort of makes MSCS redundant really doesnt it
Oh yeah... Not to mention the fact that I find it entirely more reliable than MSCS. Show of hands,...
August 8, 2008 at 10:23 am
Compare as in how? Are you comparing the data or the table structures?
In either case, you can use tools from RedGate or use Microsoft Visual Studio Team Edition for...
August 8, 2008 at 10:14 am
Perry Whittle (8/8/2008)
the first question has to be
What virtualisation platform do you intend to use?
It is not uncommon to have a physical node (active) and a virtual node (passive).
If...
August 8, 2008 at 10:11 am
Viewing 15 posts - 61 through 75 (of 175 total)