Archives of the TeradataForum
Message Posted: Tue, 08 Apr 2003 @ 19:29:35 GMT
A reason the DELETE might be applying a table lock is because you are not providing all the columns in the Primary Index in the WHERE clause. Unless of course you are using a MultiLoad to do the DELETE which always applies a table lock. Could you possibly provide the rest of the columns? The DELETE would then do Row locks.
I don't know anything about how you are processing all the stores individually, but would it be possible to delete all the individual stores data in one process instead of each one individually? It would limit you lock contention to one process, but if it was a MultiLoad DELETE it would probably be pretty quick.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|