Fastload and Multiload
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Fastload and Multiload Expand / Collapse
Author
Message
Posted 8/14/2009 2:11:03 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 10/29/2009 2:48:53 AM
Posts: 94, Visits: 321
Hi,
As we know Fastload doesnt allow duplicate rows in even Multiset table.
So suppose i have a chechpoint of 10k and job failed at 9k those records upon restart will be send again and by virtue of this property ignored..or i can use RECORD keyword to skip those records


Now my mload is having similar scenario and it failed in acquisition after 9k records.....what wud be the scenario after restart ......are all 9k records will be send again....is there anyway to stop this...


RELEASE MLOAD IN APPLY....
what does this statement really does....and when shud we use it.....
I have read it simply releases locks from table header and table while in application phase...

Does it rollback also...?
Quick response will be appreciated..

Regards,
Post #16530
Posted 8/14/2009 2:44:16 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 10/22/2009 1:29:06 AM
Posts: 36, Visits: 182
Hi,

Since it fails in acquistion phase, you dont need to worry. Also double check in target table that nothing is loaded.Just a check.
Since it fails it acquisition phase you need to Dropping the restart log table, the work table, and the
acquisition error table,release mload. You dont need to worry about your 9k or 10 k if it is in acquistion phase.

Experts please add...

Rgds,
Raja


Teradata_cert_Oracle_cert
Post #16531
Posted 8/14/2009 4:23:24 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 10/29/2009 2:48:53 AM
Posts: 94, Visits: 321
hi raj,
thanx for reply,as we know mload is restartable from all 5 phases the solution given by you is a rerun not a restart.could u plz tell how we can restart in this scenario or is it not possible at all.

Post #16533
Posted 8/21/2009 3:32:00 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 10/30/2009 6:28:19 AM
Posts: 34, Visits: 117
In Acquisation phase - suppose your checkpoint is 1k and your load fails at 9200 records.

Those 200 records - it'll not insert at all.

You can again restart the Mload by not deleting the Log/Error tables - releasing MLOAD.

It'll start to load from 9001 record perfectly.



In application phase - you need to use RELEASE MLOAD IN APPLY - to specify that it's in Application Phase and drop Error tables, Work table, Log table and then resubmit the script.
Post #16623
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 9:19pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.109. 6 queries. Compression Disabled.