There are few limitations which we have on Fastload.
These limitations are necessary for Fastload to load data with the lightning fast speed into tables.
- NO SECONDARY INDEXES ARE ALLOWED ON TARGET TABLE – Fastload can load tables only with primary indexes defined on it. If we have a secondary index on the table then Fastload will not load that table. We get a error message if we load such type of table –
![]()
If secondary index exist already, we need to drop them.
After loading the table through Fastload we can easily recreate them on the table.
CREATE INDEX (Column-name/s) ON dbname.tablename —— > creates Non Unique Secondary Index
or
CREATE UNIQUE INDEX (Column-name/s) ON dbname.tablename —— > creates Unique Secondary Index
- NO REFERENTIAL INTEGRITY IS ALLOWED – Fastload cannot load data into tables that are defined with Referential Integrity (RI). This would require too much system checking to prevent referential constraints to a different table
- NO TRIGGERS ARE ALLOWED AT LOAD TIME – Fastload is much too focused on speed to pay attention to the needs of other tables, which is what Triggers are all about. Additionally, these require more than one AMP and more than one table. Fastload does one table only. Simply ALTER the Triggers to the DISABLED status prior to using Fastload.
- DUPLICATE ROWS ARE NOT SUPPORTED – Multiset tables are a table that allow duplicate rows — that is when the values in every column are identical. When Fastload finds duplicate rows, they are discarded. While Fastload can load data into a multi-set table, Fastload will not load duplicate rows into a multi-set table because Fastload discards duplicate rows
Related Post –Teradata Utilities : FASTLOAD – Part 1



15 comments
Skip to comment form
gdd287
Oi, looking to snag the Superbet app, eh? Heard it’s pretty slick. Makes placing your bets on the go dead easy. Download’s straightforward enough. Here’s the link: superbet download
Seurobet… sounds kinda European, doesn’t it? Anyways, had a quick browse. Fairly standard bookie, nothing that really jumps out, but solid enough. See for yourself: seurobet
Alright, check it out, vipphcasino! Feels like a VIP experience already! The site’s snazzy and the games look legit. Hoping for big wins!
x28e4u
hi admin,
I am new to teradata.
I read that table has to be empty in fastload.
can you tell why
thanks
Hi Admin,
I read your post and it is very informative but i have a question.
I want to ask why table has to be empty in fastload
Thanks,
Mini
hi ,
can you let me know why fload doesn;t allow duplicate rows? the logic behind it? i read some where that
FastLoad discards duplicate rows, because it doesn’t have/store any information about the input record sequence like MultiLoad’s Match Tag (ApplySeq+DMLSeq+ImportSeq+SMTSeq+SourceSeq), thus it simply doesn’t know, if a row was duplicate within the data or was sent twice because of a restarted FastLoad (in Application Phase).
my question is if it doesn’t know about data then how it discards it?
Why Fast load(and mload) doesn’t support SI ?
Author
As you must be knowing that SI requires a sub table for storing SI values. Now the whole purpose of using FLOAD or MLOAD is the SPEED by which we transfer files from client to host system. So this loading of subtable is a overhead for these utilities and they loose the performance edge because of this loading. That’s why SI is not supported by FLOAD and MLOAD.
Though MLOAD supports only NUSI becuase its subtable resides in the same AMP as that of base row.
for more on SI please refer – http://www.teradatatech.com/?p=815
How to release a fastload lock on a table without the table being dropped and recreated.
Author
if somehow fastload fails and our table has been locked by that session –
RDBMS error 2652: Operation not allowed: _db_._table_ is being Loaded.
then there is 1 possible things which we can do to release fastload lock without dropping the actual table
Run the dummy fastload script which contains only begin loading and end loading. e.g.
logon serverid/username,password;
begin loading ……. ;
end loading;
logoff;
How to release a fastload lock on a table without the table being dropped and recreated?
Hi,
If possible can you please explain about secondary index and usage of secondary index while primary index is present.
Author
very soon i’ll post about SI 🙂
for now you can assume that SI is the next possible path to reach the particular row in AMP, if we cant achieve that with PI.