Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deadlocks in SQL Server
Message
 
 
À
07/07/2009 09:18:07
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01410522
Message ID:
01410536
Vues:
44
In order to eliminate deadlocks you've to find first what causes them. Check http://support.microsoft.com/kb/832524 and http://www.mssqltips.com/tip.asp?tip=1036, for example.


>Been having a bout of dead locks in SQL server on a large network.
>Our application uses ODBC SQL Passthrough to connect to SQL Server.
>The application uses client side processing to handle updates in one atomic transaction in the following manner:-
>1) Update sales invoice (1 header and 2 child) via SQL inserts
>2) Generates a delivery order based on the sales invoice (1 header and 1 child) via SQL inserts
>2) Update customer balances file via SQL inserts
>3) Update inventory via SQL inserts
>4) Update general ledger via SQL Insert
>Surrogate keys are used for sales invoice and delivery orders documents.
>We're having lots of dead locks lately and would like some guidance on tracing the source codes that are causing the deadlocks and fix it.
>Thanks in advance.
>Yau
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform