Viewing 15 posts - 181 through 195 (of 309 total)
I think something is creating a temporary file on that drive and then it removes the file when it is done.
Perhaps the backup routine is writing the backups to this...
May 17, 2010 at 2:51 am
You could try this:
* Disable all indexes on productionaudit before performing the update, then reenable them after the update.
* Dont update all 20M rows in one single transaction - use...
May 17, 2010 at 2:38 am
The reason the SQL server is using a merge join for joining with ProductToZone is that the cost for reading 653191 rows with sequential IO from the index and then...
May 17, 2010 at 2:28 am
lmu92 (5/13/2010)
I guess the following indexes might help:Empgig1: EmpID,InDt include(EmpCode)
#EmployeeDur: EmpID,StDate,EnDate
I agree with Lutz. The indexes suggested above will probably fix the problem.
May 14, 2010 at 1:08 pm
GilaMonster (5/14/2010)
May 14, 2010 at 11:41 am
rossnruthie (5/13/2010)
May 14, 2010 at 11:06 am
Please post the actual execution plans of both the fast and slow run.
May 7, 2010 at 4:12 pm
OK, here are my opinions:
I like to keep things as simple as possible, so I would probably do it like this:
2 discs raid 1 for system+programs+paging
2 discs raid 1 for...
May 7, 2010 at 8:17 am
You could also load the data into an OLAP Cube and reprogram the application to query that instead.
May 5, 2010 at 3:02 pm
A few points:
* The main reason this particular update is so slow is that you have a non-clustered index (IX_UserName) on the UserName column. The update would probably be much...
May 5, 2010 at 9:14 am
It looks like you are on the right track.
My guess is that one of the variables @tableHTML @newdb @backupHTML is NULL. Add some debugging print statements...
May 3, 2010 at 10:04 am
Paul, thanks for the explanation.
I thought this was what you where referring to, but I wasnt sure.
/SG
April 30, 2010 at 3:49 am
I think it would be a good idea to post the actual definition of Table1 including all its indexes.
Please do not edit the generated script in any way, just post...
April 29, 2010 at 9:33 am
ricardo_chicas (4/29/2010)
A\ 70 million rows
How many rows does the query above really return ?
A\query returns about 70 thousand
What do your indexes look like...
April 29, 2010 at 9:22 am
Grant Fritchey (4/29/2010)
April 29, 2010 at 7:25 am
Viewing 15 posts - 181 through 195 (of 309 total)