Click here to Skip to main content
15,886,845 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,

My question is regarding concurrency and locking mechanism.

In my project, Informatica and SQL procedures have to process on a single SQL table.
Process 1:
Informatica dumps a set of records into SQL table X.
Then SQL procedure need to take that set from X to process and then dump the result into X again.
Process 2: same with other set of records.
there are such 14 or more processes.


In such case, locking will be an issue on table X.
Please suggest how to minimize the risk of locking so that no process will stop working due to lock on X.


What I have tried:

I want to know the suggestions and mechanisms which can be used to avoid locking the target table.
Posted
Updated 8-Jan-18 20:14pm

1 solution

You can dislable lock escalation. For disalbe lock escalation you can specify at the table level using ALTER TABLE tablename SET(lock_escalation = DISABLE).
For more detail look at https://msdn.microsoft.com/en-us/library/ms190273.aspx

If you disable it can result in higher memory consumption. So before disabling it review it thoroughly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900