Viewing 15 posts - 18,721 through 18,735 (of 49,552 total)
Jeff Moden (4/27/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
April 28, 2012 at 4:53 am
Rich Yarger (4/27/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
April 27, 2012 at 4:12 pm
Rich Yarger (4/27/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
April 27, 2012 at 4:10 pm
Filegroup and file names are completely irrelevant when inserting into tables. All that inserts need is the database name, the schema name (if not default) and the table name.
This 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
April 27, 2012 at 3:36 pm
What first two?
Group by is for aggregation (sum, min, max, etc), not ordering.
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
April 27, 2012 at 3:31 pm
Just to be clear, it's not MS Learning's fault. Prometric has seriously dropped the ball here, there are at least 3 people now who they've messed around on the MCM...
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
April 27, 2012 at 3:29 pm
Please don't start multiple threads for the same problem.
No further replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1289821-1292-1.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
April 27, 2012 at 3:27 pm
ORDER BY CASE WHEN <whatever the column name is> LIKE 'Performance%' then 1 ELSE 0 END
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
April 27, 2012 at 3:25 pm
Sure
EXEC StoredProcName @Parameter1
EXEC StoredProcName @Parameter2
Just like 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
April 27, 2012 at 2:30 pm
Not without running the procedure.
I suggest you investigate why the procedure is slow. Grant Frichey's book on performance tuning is good (just search for Grant Frichey on Amazon)
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
April 27, 2012 at 2:22 pm
It will insert.
What's likely happening is that the procedure takes over 7 minutes to complete and only starts retuning data in seconds. since the insert can't complete until 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
April 27, 2012 at 1:52 pm
Just means you have a very slow query. Nothing else wrong.
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
April 27, 2012 at 1:11 pm
Lynn Pettis (4/27/2012)
Gail, without really digging into this, isn't this just an expensive NOP?
Yup.
On the plus side, SQL's smart enough not to log the update.
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
April 27, 2012 at 1:04 pm
Define 'not working'
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
April 27, 2012 at 1:02 pm
Evil Kraig F (4/27/2012)
If you use 10,000 monkeys, your...
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
April 27, 2012 at 12:59 pm
Viewing 15 posts - 18,721 through 18,735 (of 49,552 total)