Viewing 15 posts - 20,941 through 20,955 (of 49,552 total)
Short answer, you can't.
That LIKE has a leading wildcard, it's a non-SARGable predicate and the only way that can execute is with a scan, table or index. (imagine a telephone...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 6:08 am
bathawes 16438 (1/18/2012)
Surely if this were an issue with the query itself it would always be slow?
No, not at all. In fact, I gave an hour long presentation last year...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 5:59 am
Gazareth (1/18/2012)
And Wikipedia's "block" appears to be the equivalent of a hand-written sign hanging on an open door saying "We're Closed, honest." :hehe:
Intentionally.
http://en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Learn_more
Is it still possible to access Wikipedia in...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 5:23 am
No.
The problem is going to be in the definition of the query and the execution plan chosen
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 5:19 am
bathawes 16438 (1/18/2012)
I would have thought more reads from buffer pool = less reads from disk
No, not necessarily. More reads from buffer pool = more reads from buffer pool, nothing...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 5:02 am
L' Eomot Inversé (1/18/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:57 am
And for one database that shows yesterday?
Sure there's no maint plan that someone set up? (btw, CheckDB daily is a good idea)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:53 am
They are logical reads, from the buffer pool.
All SQL reads are from the buffer pool, the higher levels of the storage engine and the query processor don't access the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:43 am
Nic-306421 (1/18/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:40 am
vultar (1/18/2012)
vultar (1/18/2012)You will also need to stop the SQL agent if it's it still running.
There's no need to. I would not recommend this (or anyhing else) until the OP...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:34 am
Limited just shows you the leaf level of the index, so that 101 pages is the number of pages in the leaf level.
Detailed shows you all the levels of the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:32 am
And that query is?????
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:30 am
And why do you think that hints will
1) Make the first execution faster?
2) Be better than what the optimiser comes up with itself?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:12 am
http://www.google.com/search?q=changes+between+SQL+2008+and+SQL+2012
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 4:00 am
crazy4sql (1/18/2012)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 18, 2012 at 3:58 am
Viewing 15 posts - 20,941 through 20,955 (of 49,552 total)