How to relege locks in fastload and multiload? example?

Answers were Sorted based on User's Feedback



How to relege locks in fastload and multiload? example?..

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

How to relege locks in fastload and multiload? example?..

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

How to relege locks in fastload and multiload? example?..

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

How to relege locks in fastload and multiload? example?..

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

Post New Answer

More Teradata Interview Questions

Hi All, I have a table with 3 fields like id,mark1,mark2 and I would like to update a mark3 field that would calculate the max for each record (so the max value of the 2 fields) in Teradata ID Mark1 Mark2 Mark3 1 10 20 2 20 30 3 40 10 4 50 50 I Have to write a update statement Mark3 with max value of mark1,mark2 fields…like bellow ID Mark1 Mark2 Mark3 1 10 20 20 2 20 30 30 3 40 10 40 4 50 50 50 Please any one help me ....Thq

3 Answers   Wipro,


What's the difference between timestamp (0) and timestamp (6)?

0 Answers  


What is spool space? Why do you get spool space errors?

0 Answers  


Hi Frnds this que is recently asked at IBM there are two rows like aa6588fhfhf,gru282vbvv. Question is howcan we retrive the first number from two rows. Can any one help thanks in advance

5 Answers   IBM,


what are the uses of fact table and dimension table in banking project?

0 Answers   TCS,






What is teradata? What are some primary characteristics of teradata?

0 Answers  


What is the process to restart the multiload if it fails?

7 Answers  


what is the difference between primary index and secondary index?.

2 Answers   IBM,


How would you load a very large file in teradata in general? What utility would you use for it? Why?

0 Answers  


i have a table like sales....the field are Prodid Jan(jam month sales)Feb March 1 20 76 50 2 30 94 40 3 40 90 30 4 70 20 30 5 23 40 40 6 85 30 55 7 84 20 65 8 10 93 40 9 57 30 30 10 38 83 40 11 35 39 90 12 83 89 50 Now the Question is i want get the max sales of 12 products from the months.hint:for eg I WANT GET 89 for product12... Can any one help me

8 Answers   Satyam,


What is stored procedure in teradata?

0 Answers  


On which column will you take primary index???

4 Answers  


Categories