RDBMS error 2635: Error tables are invalid when doing a fastload
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.


RDBMS error 2635: Error tables are invalid... Expand / Collapse
Author
Message
Posted 3/10/2009 3:32:42 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 7/10/2009 10:27:36 AM
Posts: 16, Visits: 57
Hi ,

I am getting the following error when doing a fast load.

**** 15:21:00 RDBMS error 2635: Error tables are invalid OR
TFL_SALE is in an invalid state for Load

does this mean the is a fastload lock on the table.

Need help in solving this...

Thanks
Nick


--

Nick

ETL Developer / Teradata
Post #14733
Posted 3/11/2009 1:53:51 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/4/2009 9:42:23 AM
Posts: 6, Visits: 10
The table may in a Fastload-paused state which means of the 2 phases of fastload, phase 1 is probably complete and an abort occurred at Phase 2. You may submit an empty script with only BEGIN and END LOADING statements which restarts Phase 2 only.

But more likely 1 or both the error tables have been dropped as they have suddenly entered an invalid state. Best to release the lock by submitting only BEGIN and END LOADING statements, clear the table and re-submit original script.

If an empty script with BEGIN and END LOADING statements is not being accepted..then you may need DBA intervention...not sure of that.
Post #14743
Posted 9/30/2009 8:53:29 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/30/2009 8:47:35 AM
Posts: 1, Visits: 3
Hi,

I got the same error while Fast loading a file. I tried to restart Fastload using only BEGIN and END LOADING, but it did not work.
What I found later is the file I am loading is of Variable Length and the format I defined in fast load script is fixed length. I changed the format and fast load worked fine.

Thanks,
Dhaval Shah.
Teradata Developer.


Technical Associate.
Dhaval Shah.
Post #16989
Posted 9/30/2009 12:42:02 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 10/5/2009 12:34:37 PM
Posts: 10, Visits: 26
The target fastload table is locked in your case. Here are few options which you can try.
1) submit a fastload script only with Begin loading tablename and end loading statement.if you receive an error message stating "table is already in loading phase" try out step2.
2) check sysadmin.fastlog for more info ( only DBA can do) , drop the target table (using) and recreate one using the same ddl and then run your fastload script after you have validated your datasource. if you are expecting some bad records in the input file it would be safe you to set errorlimit in fastload script.


Cheers,
Samp
Post #16994
« 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 5:15pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.047. 7 queries. Compression Disabled.