Will MLOAD able to Insert data into Global Temporary Tables !!!
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.


Will MLOAD able to Insert data into Global... Expand / Collapse
Author
Message
Posted 7/9/2009 5:38:15 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
Is Teradata Utilities like allows to /update/delete the data into !
I need to insert huge volume of data to a GTT through MLOAD via 1 session! Is that possible via single session! It seems MLOAD will not insert into GTT via multiple sessions.
Inserting data into GTT via BTEQ or MLOAD (if possible) - which is preferable?
Post #16101
Posted 7/17/2009 4:13:02 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,

We can insert using mload,tpump,fastload,bteq. Insert/update/delete we can use mload,bteq,tpump.

I wonder why you need to load to GTT as it gets discarded at the end of session. Anyway I m not pretty sure . It should allow
to insert/delete.

It depends solely on the operations you want to do. There are a number of parameters you need to take into account before you can choose one.

Tpump Features: You can put many requests in a chunk(PACK). Robust helps you getting ample recovery statistics.Serializes your requests.No limit on concurrent sessions.

Mload Features: Pronounced feature of Teradata.It can limit upto 15 concurrent sessions.So you should not have issue as per my understanding of your requirement. MultiLoad import task can do multiple dml
functions on up to five different tables or views.Target table must not have USI.

There are few more considerations like space estimation etc etc,,,...

Rgds,
Raja



Teradata_cert_Oracle_cert
Post #16237
Posted 7/17/2009 6:21:08 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 11/5/2009 4:40:02 PM
Posts: 717, Visits: 466
MLoad/FastLoad don't support GTTs, as it would be totally useless to load into an empty table using a single session and then delete all the rows at logoff. Multiple session would be even worse mean a different materialized GTT for each session.

TPump probably allows GTTs, but after logoff the data is lost again.

BTEQ can use GTTs (even multiple sessions), but before logoff you'll need an Insert/Select into the actual target table.

Why do you think you need a GTT for that load?

Dieter
Post #16239
Posted 7/21/2009 7:02:37 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 7/21/2009 6:47:48 PM
Posts: 2, Visits: 2
We are also trying to do a similar thing.

We have a common error table. We have internal and external processes that want to load into that error table to do common reporting. The internal process can use BTEQ. The external processes will use the utility's to load the data. To avoid conflicts, we want to load into a GT table via mload, then call the macro / insert to move it into the real table. Bteq's will also load into the GT table and then call the macro. (the only conflict should be when the macro is called. 1 process should wait for the other process).

We have several external processes that run at various times. We can't guarantee they won't kick off at the same time. We don't want to have to create several different versions of the table.

There is nothing in any documentation I can find that says MLOAD can't load into a GT table.

FYI. TPT can load in UPDATE (mload) mode into a GT table successfully. We've tried it but for various reasons, we can't use tpt for this process.

Chris





Cheers

Chris

Post #16263
Posted 7/22/2009 12:24:48 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 Chris,

If it 's me then I will create a table in mload script itself. I will load into this from internal and external processes needed. Then the macro..... Then in the mload script itself I will drop the created table I dont want. Anyone who can suggest better.

Thanks,
Raja


Teradata_cert_Oracle_cert
Post #16265
Posted 7/22/2009 8:36:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/27/2009 8:39:59 AM
Posts: 2, Visits: 7
For the issue which you had mentioned, we can definitely use a bteq as one of your solution, but while we mention multiple session, we have to ensure that the splitting of the workload across the session, the resultant operation should not get affected. Because due to the splitting of workload by mentioning the multiple session in the script might give u ambiguous results if there is any dependency in the operation which you perform with the data from the GTT.


Thanks
Visakh chandran
Post #16271
« 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 2:22pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.063. 5 queries. Compression Disabled.