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 |
What are the commands to make a new table, change a table and remove a table in teradata?
What is the command in bteq to check for session settings ?
Explain the teradata primary index mechanics in detail with a diagram.
How to view every column and the columns contained in indexes in teradata?
What is meant by Teradata Gateway?
What is the difference between SI and JI?
What is bteq utility in teradata?
Why Fload doesn’t support multiset table?
If a Node is busy what are the steps you can take to avoid ?
What are tpump utility limitations?
What are types of partition primary index (ppi) in teradata?
whether Nulls will be counted while doing average? example: we have table column A with following values A -- 5 Null 8 3 Now what is the average of A?