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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Write huge text files tfileoutputdelimited

Hello,

I have a need to run a query on Oracle that results more than 500k records and write to a text file. I have just used two components as below

toracleinput -> tfileoutputdelimited

The current write speed is ~250 rows/second. How can I increase the speed of data write? I have enterprise subscription and "enable parallel execution" on tfileoutputdelimited is greyed out as it seems to be available only for map/reduce jobs.

Please suggest.

 

Thanks,

Surya

Labels (1)
1 Solution

Accepted Solutions
Théo_Cap
Contributor III
Contributor III

Hello,

 

Firstly, maybe you can tick the "use a cursor" function in the advanced setting in you tOracleInput component. And try different numbers.

View solution in original post

7 Replies
Théo_Cap
Contributor III
Contributor III

Hello,

Firstly, maybe you can tick the "use a cursor" function in the advanced setting in you tOracleInput component. And try different number.

Théo_Cap
Contributor III
Contributor III

Hello,

 

Firstly, maybe you can tick the "use a cursor" function in the advanced setting in you tOracleInput component. And try different numbers.

TRF
Champion II
Champion II

Hi,

What if you don't push the result to a file or if you execute the same query from SQL (out of TOS)?

Anonymous
Not applicable
Author

The problem is with your query or your database component config. I've just tested writing a million rows of 600 chars to a flat file and got a performance of 49465 rows per second written.....on a reasonably middle of the road machine. Remove your fileoutput component and add a tJavaFlex (with nothing configured.....just to see the rows per second metrics). How long does that take? Now tweak your query component and your query.

Anonymous
Not applicable
Author

I was just doing a select * from Table.

Anonymous
Not applicable
Author

SQL runs fine. It's just with the export speed

Anonymous
Not applicable
Author

The SQL might run fine, but the Talend database component may not be configured adequately. As I have said, you can write thousands of rows per second to a flat file. That will not be the bottleneck. Have you tested removing the fileoutput component and just connecting to a tJavaFlex to compare the performance?

 

Can you show us screenshots of your job and your db component config (including the Advanced tab)?