Viewing 15 posts - 271 through 285 (of 286 total)
aureolin (10/28/2011)
Evil Kraig F (10/27/2011)
October 28, 2011 at 4:15 pm
It might be faster if you drop an index before population and re-create it after. It will also reduce the fragmentation and page splits. And in this case statistics for...
October 27, 2011 at 4:28 pm
tfifield (10/27/2011)
The number of times I've seen a heap out perform a clustered index on this sort of thing can be counted on one hand with some fingers left over....
October 27, 2011 at 12:52 pm
drew.allen (10/25/2011)
dva2007 (10/25/2011)
October 25, 2011 at 3:34 pm
Steve Jones - SSC Editor (10/25/2011)
October 25, 2011 at 2:59 pm
It's either in SQL stored procedure or in Java app. To find a sp which contains this text you can use something like this:
select OBJECT_SCHEMA_NAME(object_id) +'.'+ OBJECT_NAME(object_id), definition
from sys.sql_modules...
October 24, 2011 at 12:35 pm
Such JOIN condition is usually very bad for performance, because the optimizer cannot use an index seek on it:
"ON dbo.TrimLeadingZeros(t.driverid) = dbo.TrimLeadingZeros(r.driverId)"
October 21, 2011 at 5:35 pm
Thanks! I've never got into details of that max memory setting before.
October 21, 2011 at 4:35 pm
1. Tables are completely not normalized.
2. It's better not to have a clustered index at all than that big and ugly one. It will add 68 bytes to each and...
October 21, 2011 at 4:22 pm
george sibbald (10/21/2011)
a max memory setting of 118GB is the buffer pool only, other SQL caches will add to that.
george, where did you get this?
October 21, 2011 at 3:40 pm
M_E_K (10/20/2011)
However, I do have one lingering doubt about why so many people advise against having min/max set to the same value. What are potential problems of running with memory...
October 20, 2011 at 6:07 pm
"HAVING count(*) > 0" is totally useless expression.
And "LEFT OUTER JOIN" can safely be replaced with "INNER JOIN" because of the conditions in WHERE clause.
October 20, 2011 at 3:45 pm
Why do you expect SQL Server to allocate memory if it doesn't need it right now?
Do you experience any performance issues because of the Server not grabbing 80GB?
If no...
October 20, 2011 at 2:08 pm
So after 2 years this management script is still has a logic error which makes using it poitless if not saying harmful.
Major issues:
'IndexUsage' column calculated as (user_seeks+user_scans+user_lookups+user_updates) is used to...
June 10, 2011 at 12:30 pm
Viewing 15 posts - 271 through 285 (of 286 total)