Viewing 15 posts - 21,541 through 21,555 (of 49,552 total)
opc.three (12/27/2011)
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
December 27, 2011 at 10:45 am
Functions = slow. Avoid unless there really is absolutely no other way.
You haven't given us enough info to help you here. Please post table definitions, sample data and desired output....
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
December 27, 2011 at 7:20 am
Dhirju (12/27/2011)
but model database is template of creating new database, so why we set to full? it can be set to simple also.
As I said in my post, it should...
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
December 27, 2011 at 5:12 am
Master defaults to simple and, even if set to full still behaves like simple (can't take log backups), so leave that as is.
TempDB is simple and cannot be changed...
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
December 27, 2011 at 5:02 am
I suspect what you'd be looking for in sys.dm_os_memory_objects is entries that only increase their page counts, never decrease. It's difficult though, as many of the caches do have that...
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
December 27, 2011 at 4:08 am
Dev (12/27/2011)
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
December 27, 2011 at 3:42 am
tnelson-735283 (12/26/2011)
Instance is running on a VM and I'm trying to keep memory usage to a minimum.
Then set server max memory to an acceptable value and SQL will limit its...
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
December 27, 2011 at 3:34 am
Why do you want to do this?
Scheduled task would be the way to go, if you were going to do something like this.
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
December 26, 2011 at 3:16 pm
Let me just say this:
SQL 2012 is expected first half of next year. When that comes out, SQL 2005 will be 3 major versions old, it's heading for end of...
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
December 24, 2011 at 6:55 am
http://msdn.microsoft.com/en-us/library/ms144284.aspx
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
December 24, 2011 at 1:09 am
Don't just focus on logical reads. Look at logical reads, duration and CPU. If the duration and CPU haven't changed much then maybe that increase in logical reads is an...
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
December 23, 2011 at 1:46 pm
Roy Ernest (12/23/2011)
Is that your back yard? It is gorgeous. 🙂
No, but I'll take that as a compliment. It's a 3D computer generated image.
My mother has a pond. Her...
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
December 23, 2011 at 11:16 am
Right, I'm outta here... Merry Christmas to anyone who's still here.
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
December 23, 2011 at 11:01 am
Primary key to clustered and a NC on the 3 columns is probably best, but the problem is that if that NC is not covering (and if all columns are...
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
December 23, 2011 at 10:46 am
Yes, insert the error information into a table variable, do the rollback in the catch block (or you'll be left with an uncommitted transaction) then insert the contents 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
December 23, 2011 at 10:25 am
Viewing 15 posts - 21,541 through 21,555 (of 49,552 total)