How to relege locks in fastload and multiload? example?
Answers were Sorted based on User's Feedback
Answer / siva
In mload lock
in accquisition phase Release mload databasename.tablename
in application phase Release mload tablename .in apply
In fload between begin loading and end loading there not
write any code and run the script.locks will be relesed
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / vinay sir(datawarehousing tech
Little more clear description for the above two answers.
RELEASING LOCKS IN MLOAD:
We need to use the below RELEASE MLOAD command in BTEQ.
Acquisition Phase: RELEASE MLOAD TABLE1....TABLE5
Application Phase: RELEASE MLOAD TABLE1....TABLE5 in Apply
RELEASING LOCKS IN FASTLOAD:
Assue the table is Party and it is using ERparty and UVparty
tables as its error tables.Then use the below script(Called
Empty Script) for allowing operatins on the Party table.
.logon <>
database VINAY;
BEGIN LOADING Party
ERRORFILES ERparty,UVParty
CHECKPOINT 10;
END LOADING;
.logoff
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / yuvaevergreen
For mload,
release mload in apply can be used to forcefully remove the lock from the target table.
For fload,
Locks on target table will not be released until end loading statement completes. I hope fload should be run only with begin and end loading statements. Please add, if you find more....
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / tdguy
mload: release mload dbname.tablename or release mload
dbname.tablename in apply.
fload: script with only begin loading and end loading
commands will release the locks.
| Is This Answer Correct ? | 3 Yes | 0 No |
How do you eliminate duplicates?
Diff b/w v2r5 and v2r6 ?
What are the scenarios in which full table scans occurs?
What are the uses of bynets in multi-node systems?
Steps to create a data model?
What is meant by a dispatcher?
What is meant by a Channel Driver?
Can we load a Multi set table using MLOAD?
Aborted in Phase 1 data Acquistion Incomplete in fastload?
What is meant by Teradata Gateway?
Why FLOAD does not support multiset tables??
What are the various indexes in teradata? How to use them? Why are they preferred?