Hi,
I have stored procedure (MS SQL Server 2000) which operates
on around 600 000 rows (SELECT, UPDATE, INSERT)
and executes in 5 minutes,
when I put it in SQL transaction it slows down to more than 5 hours (!!)
I have to admit that it is not problem with data locks (beside that
procedure
nothing else is executed on db),
It is not also problem with that exact procedure, other procedures
also slow down heavily when wrapped by SQL transaction
very very seldom stored procedure within transaction executes
comparably long that its copy without transaction
I guess it could be MS SQL Server 2000 configuration/tuning problem.
Any ideas ?
Chris
I have stored procedure (MS SQL Server 2000) which operates
on around 600 000 rows (SELECT, UPDATE, INSERT)
and executes in 5 minutes,
when I put it in SQL transaction it slows down to more than 5 hours (!!)
I have to admit that it is not problem with data locks (beside that
procedure
nothing else is executed on db),
It is not also problem with that exact procedure, other procedures
also slow down heavily when wrapped by SQL transaction
very very seldom stored procedure within transaction executes
comparably long that its copy without transaction
I guess it could be MS SQL Server 2000 configuration/tuning problem.
Any ideas ?
Chris
Comment