Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tOracleOutputBulk -tOracleOutputBulkExec

Hi,

I have a file csv that I want to load in a Oracle Database by using tOracleOutputBulkExec because it is very big. Can you sho me a solution please?? 

 

This is my job

0683p000009LuNh.jpg

Labels (4)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Hi,

I suppose the output flow shcema for the tMap component is aligned on the tOracleOutputBulkExec.

So, what's the problem? You just have to link the tMap to the tOracleOutputBulkExec using the flow definde in tMap.

Or do you have a specific problem not exposed in your initial question?

View solution in original post

10 Replies
TRF
Champion II
Champion II

Hi,

I suppose the output flow shcema for the tMap component is aligned on the tOracleOutputBulkExec.

So, what's the problem? You just have to link the tMap to the tOracleOutputBulkExec using the flow definde in tMap.

Or do you have a specific problem not exposed in your initial question?

Anonymous
Not applicable
Author

Yes, i've link them but talend send me a message and then i don't understand what is name file in tOracle.
TRF
Champion II
Champion II

As for any tXxxxxOutputBulkExec component, the records are written into a file by the component itself using the format expected by the database or application you want to write into. So you don't have to know this format, just concentrate on what you want to transfer, not how to do that.

So, the filed "Filename", is the name of this file, not the name of the input file (and sometimes, there is not inputfile, for example if the source is an other database).

What is the message you received?

Is it a compilation error or a runtime error?

Anonymous
Not applicable
Author

I don't understand again. 

 

My job is:

0683p000009LuoX.jpg

 

 

and my file csv is in this position:

0683p000009LupU.jpg

 

 

My tMap is:

0683p000009LuJe.png

 

And i lin it with tOracleOutputBulkExec, but i don't understaind again the filename:

0683p000009LuTk.jpg

 

and talend send me this error message:

0683p000009Lupe.jpg

 

I have install Oracle in the Virtual Machine and now i'm working on the localhost. The component tOracleOutput is ok but is is very slow so i want use the bulkOracle.

 

Thanks again

TRF
Champion II
Champion II

When you try to use tOracleOutputBulk operations, you need to install 1st sqlldr which is the dedicated Oracle tool to load external data into databases. This should solve the error you get when running the job (cannot run program "sqlldr").

Regarding the filename in tOracleOutputBulkExec, just use the filename you want (not the name of an existing file).

This file will be used by sqlldr when called by the job at runtime.

Anonymous
Not applicable
Author

If i run the job from VM but talend send me a message: unable to open file .dat . I have insert a filename without extencion.
TRF
Champion II
Champion II

As I remember, the default extension for sqlldr is ".dat", so name the file according to this rule.
Anonymous
Not applicable
Author

Hi,

I'm sorry if i answer you so late. Thanks again for your help!

Now I have another problem with the bulk load 0683p000009MPcz.png. In particolar I have a problem with the timestamp format. When I load the timestamp with the tOracleOutputBulkExec, the timestampo contain hour, minutes and second set on 00:00:00.

TRF
Champion II
Champion II

I suggest you to open a new topic for this new challenge.
Also, indicate the expected format for this field.