Quantcast
Channel: Crazy engine II
Browsing all 24 articles
Browse latest View live

Crazy engine II

"Sorry for off-topic but looks like you have to fix your signature. The links are not showing as links."Thanks Naomi! :-)Tibor Karaszi, SQL Server MVP (WebBlog)

View Article



Image may be NSFW.
Clik here to view.

Crazy engine II

Hi maca128, Great to hear you've solved the problem and thanks for the valuable sharing. I've experienced not the same issue but the same scenario comparing a varchar type to a nvarchar.CREATE TABLE...

View Article

Crazy engine II

Good you figured the problem! You still need to upgrade your server.For every expert, there is an equal and opposite expert. - Becker's LawMy blogMy TechNet articles

View Article

Crazy engine II

Hi guys, thanks for all your support... Finally the issue was that I had 3 joins, and the joins were joining varchar(10) to nvarchar (255)...That messed up the engine... and it made the engine...

View Article

Crazy engine II

Check this interesting articlehttp://sqlblog.com/blogs/paul_white/archive/2011/02/23/Advanced-TSQL-Tuning-Why-Internals-Knowledge-Matters.aspx may be it will provide some help.Now, did you try to...

View Article


Crazy engine II

Thanks for all the replies...Again, the issue is that I check sys.dm_exec_query_memory_grants, and for the same query sometimes memory granted is 10MB (runs really slow), and when it is 4GB, it just...

View Article

Crazy engine II

Your first problem is that you're not using the latest service pack (which is SP3 for that version). You need to start from upgrading the server and then re-test.http://sqlserverbuilds.blogspot.com/For...

View Article

Image may be NSFW.
Clik here to view.

Crazy engine II

Hi Tom, thanks for your reply.Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft CorporationEnterprise Edition (64-bit) on Windows NT 6.1 <X64>...

View Article


Crazy engine II

Please post the results of SELECT @@VERSION.What you are describing is due to the cardinality and how the query optimizer estimates the rows and creates the query plan.  Your problem is likely your...

View Article


Crazy engine II

Thanks Tibork!!  The problem is when I use >=>='20151012'I can't use optimize for '>=' not to mention that I am not using variables either.Thanks again

View Article

Crazy engine II

You can use the OPTIMIZE FOR hint, and specify a value which work well for you (the value in the WHERE clause).Tibor Karaszi, SQL Server MVP | <a...

View Article

Image may be NSFW.
Clik here to view.

Crazy engine II

Hi I think I narrowed it down the issue... to 'memory grant'See below2 minutes vs 2 hours... How can I get that amount of memory every time I run it?(this is driving me crazy, randomly this goes to...

View Article

Crazy engine II

I am running this from the SSMS, and slightly changing the 'where' clause, but, there is no pattern...Now, I was able to make both run in DOP=0... but again, one takes 3 seconds and sometimes 2...

View Article


Crazy engine II

Tibor,Sorry for off-topic but looks like you have to fix your signature. The links are not showing as links.For every expert, there is an equal and opposite expert. - Becker's LawMy blogMy TechNet...

View Article

Crazy engine II

Is it *the exact same* query that sometimes use parallelism and sometimes not? Or did you change *anything* in the query? That could be the values that you search for, parameters, the tool from where...

View Article


Crazy engine II

How exactly you're testing? Just running the same query with different parameters yourself from SSMS or from the application? Also, what else is running at the Server during these tests?Also, did you...

View Article

Crazy engine II

This doesn't make any sense now... Now it's completely random... it will paralelize some, others not... Even using OPTION (RECOMPILE), doesn't help...Parallelized ones run in seconds, with parallelism...

View Article


Crazy engine II

This almost certainly has to do with cardinality and statistics.Please...

View Article

Crazy engine II

See if this http://serverfault.com/questions/91285/how-do-i-remove-a-specific-bad-plan-from-the-sql-server-query-cache may help to remove that bad plan. Also try running the query with a plan hint to...

View Article

Crazy engine II

maca128, The only difference is that the SQLOS choose to use parallelism in the first query and not to use in the second one. Look at the bigger arrows to find the tables with a lot of rows that are...

View Article
Browsing all 24 articles
Browse latest View live




Latest Images