Re: Deadlock incidence greatly increased after upgrade from 11.5.1 to 12.5.3 - Suggestions?
- From: "Mike Epprecht \(SQL MVP\)" <mike@xxxxxxxxxxxx>
- Date: Mon, 5 Dec 2005 00:01:05 +0100
Hi
They may not execute simultaneously, but each user process only gets a
certain amount of processor time allocated before another one runs.
When the time is up for the 1st process, the 2nd process might run, and the
2nd process might walk into a deadlock scenario, before the 1st process can
be switched back in to run.
Query parallelism makes this scenario even more complex. You never know when
a process will be interrupted and who comes next in the queue.
Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@xxxxxxxxxxxx
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
<tomb@xxxxxxxxxxxxxxx> wrote in message
news:1133731128.998858.61990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Mike Epprecht (SQL MVP) wrote:
>> Hi
>>
>> No, you did not miss anything.
>>
>> The older system was probably disk bound, so queries were waiting on each
>> other. You now have more processors and more RAM, so more queries will be
>> run simultaneously, increasing the changes for deadlock.
>>
>> Look at the code and follow the basic rules of how to not create
>> deadlocks.
>> (http://www.sql-server-performance.com/deadlocks.asp a SQL Server link,
>> but
>> applies to Sybase too)
>>
>> We had this problem show up very prominently on an 11.9 to 12.5.1
>> upgrade.
>> The new box was just so fast that the bad application coding from 6 years
>> ago was starting to fall over itself.
>>
>> Regards
>> --------------------------------
>> Mike Epprecht, Microsoft SQL Server MVP
>> Zurich, Switzerland
>>
>> IM: mike@xxxxxxxxxxxx
>>
>> MVP Program: http://www.microsoft.com/mvp
>>
>> Blog: http://www.msmvps.com/epprecht/
>
> Thanks for the link Mike.
>
> The new system is a single CPU box like the old one though, that would
> exclude queries from executing simultaneously wouldn't it?
>
> Tom.
>
.
- Follow-Ups:
- References:
- Deadlock incidence greatly increased after upgrade from 11.5.1 to 12.5.3 - Suggestions?
- From: tomb
- Re: Deadlock incidence greatly increased after upgrade from 11.5.1 to 12.5.3 - Suggestions?
- From: Mike Epprecht \(SQL MVP\)
- Re: Deadlock incidence greatly increased after upgrade from 11.5.1 to 12.5.3 - Suggestions?
- From: tomb
- Deadlock incidence greatly increased after upgrade from 11.5.1 to 12.5.3 - Suggestions?
- Prev by Date: next bugfix upgrade from 12.5.0.3 ESD4 is ?
- Next by Date: Re: next bugfix upgrade from 12.5.0.3 ESD4 is ?
- Previous by thread: Re: Deadlock incidence greatly increased after upgrade from 11.5.1 to 12.5.3 - Suggestions?
- Next by thread: Re: Deadlock incidence greatly increased after upgrade from 11.5.1 to 12.5.3 - Suggestions?
- Index(es):
Relevant Pages
|