Viewing 15 posts - 5,641 through 5,655 (of 5,841 total)
Even small amounts of data can be most inefficient with cursor access. A cursor that loops through just 100 rows of data will require 100 8K page reads just...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 13, 2007 at 9:14 am
Yes, performance tuning is one of my bailiwicks. You will note, however, that I didn't say you should hire me.
...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 11, 2007 at 10:27 am
see my first post: DROP DATABASE databasename
connect to the server using the tool of your choice. sql server management studio is the main interface to sql 2005 and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2007 at 3:10 pm
To explain and get understanding of the very few exceptions to #4 requires a lot of effort on both parties and still has low probability of success --> it is...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2007 at 10:52 am
I cannot see how a DROP DATABASE XXX statement would result in sql server trying to (un)install anything.
In any case, if the .msi is missing, did you ever delete stuff...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2007 at 8:40 am
Mark, you don't give your level of experience with databases or sql server, so it is a bit difficult to target advice for you.
1) Mentoring is the best way to...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2007 at 8:11 am
Actually, I do like the idea of select CONSTANT for exists checks. But that wasn't offered as one of the 2 possibilities the poster gave. 🙂
I saw somewhere on the...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2007 at 7:44 am
If you do get to monkey'ing with the phone code, issuing the set deadlock priority statement just after you make the database connection would be best.
Logon trigger will work too. ...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2007 at 7:30 am
1) You don't need to put the database back into simple form when you restore it elsewhere. Generate a restore script that simply places all existing files on the same...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 9, 2007 at 9:34 am
>>I only use SELECT * with [NOT] EXISTS. Should I be replacing the * with some indexed column (preferably one in the WHERE clause)?
An emphatic NO to that one for...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 9, 2007 at 9:22 am
1) How many disk controllers do you have? I hope a bunch of them with a lot of cache on each.
2) As others have mentioned, RAID5 has poor write performance...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 9, 2007 at 9:13 am
>> Not sure what you're calling a base table but the correct covering indexes will allow for full length table access using index seeks across all tables in a join. ...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 8, 2007 at 10:06 am
1. Create a secondary data file on DATA2 of roughly equal size to the primary and let it fill in naturally as extends are allocated to objects in the database.
2. Move some...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 8, 2007 at 7:51 am
1) Jeff, we have been through this before so no need to post your covering index proof. My statement is clearly for situations where the base table needs to be...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 7, 2007 at 9:42 am
I would also recommend having a professional give your system a performance review if you are now the dba but are not trained as such.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 7, 2007 at 9:00 am
Viewing 15 posts - 5,641 through 5,655 (of 5,841 total)