I've written this C program to manipulate data in one table and then insert
it into another. However, I've noticed that it generates an incredible
number of Non Cursor Locks. This is not problematic for small updates, but
I have noticed considerable problems when updating into an empty table. Is
there a way to reduce the number of locks? The current program logic goes
as follows:
1) Create two connections (a and b) to database
2) Connection A grabs data from table
3) Do calculations, what have you
4) Insert into table B
5) Repeat 2 until done
The target table has roughly 200,000 rows compared to the 7,000 of the
source table. Any suggestions are welcome; please email them to me at
Thanks,
Ken