Viewing 15 posts - 5,686 through 5,700 (of 5,841 total)
1) I am at a loss to make a comment on the overall architecture here!! Good luck with it . . . 🙂
2) As for XML being overhead in a...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 26, 2007 at 7:48 am
Take a look at COALESCE in BOL. You may be able to use it in the WHERE clause (and other places as well) to get exactly the results you desire.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 20, 2007 at 8:39 am
1) Get (MUCH) bigger hardware.
or
2) Use the query governor cost limit to prevent 'runaway' queries from executing. In conjunction with this you may run a profiler to trap said calls...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 20, 2007 at 8:03 am
The root cause of poor performance of the while-loop-no-tran solution is log flushes. REALLY BAD from a performance standpoint. Adding in explicit trans holds off on the flush until complete...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 20, 2007 at 7:58 am
David Reed: I had looked into the MCA and decided not to pursue it due to cost and the month+ onsite at Redmond. I was hoping that SQL Ranger was...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 20, 2007 at 7:51 am
Hey, how can I get to be one of those SQL Ranger type dudes?!?! ![]()
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2007 at 5:23 pm
1) When you want help tuning a query, ESPECIALLY a complex one such as this, you simply MUST include table definitions (to include indexes and keys, etc) and table data...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 19, 2007 at 9:16 am
If I were the OPer, I would look for what has changed. If something worked and now it doesn't, SOMETHING has been altered somewhere, somehow.
I would check name resolution stuff...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 18, 2007 at 9:21 am
Isn't Enterprise Edition 5 times as expensive as Standard?? That could be one reason for not upgrading! 🙂
I actually don't know the answer to the 4CPU or 4Core question. I...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 18, 2007 at 7:08 am
I thought that table variables, while created as an object in tempdb like a temp table, contain all their data in memory given that sufficient memory exists - at which time...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 15, 2007 at 1:26 pm
1) All but one of the numerous situations I have tested using hyperthreaded CPUs on SQL Server boxes resulted in OFF being faster - often significantly so. The remaining situation...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 15, 2007 at 10:50 am
That's a bit too broad of a generalization, Irfan. Table variables come with significant limitations that make them less performant than temp tables (when they are both used optimally). Also,...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 15, 2007 at 7:28 am
The actual overhead of the variables is essentially negligible, even for hundreds of them I would bet. They are RAM and CPU constructs, and thus operate in the micro- and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 15, 2007 at 7:21 am
GOSH!! I feel your pain! What a horrible situation!! Best of luck with the hoster. BTW, be sure to post a "this hosting company sucks-ass" posting all over the web...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 13, 2007 at 10:48 am
I'm gonna go out on a limb here and say that if bouncing sql server service doesn't improve sql's query performance then the problem is NOT sql server. Something else...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 12, 2007 at 6:24 pm
Viewing 15 posts - 5,686 through 5,700 (of 5,841 total)