Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
RA6
Creator
Creator

Executing multiple update at the same time (Parallel execution)

Hello everyone,

I have a file with only one column and each line of the column is an update query; approx 10000 update statement.

The problem is that it is taking too much time to execute each query => more than 6 hours.

The database is mySql and i am using the component tDBRow, but as you can see below the option is greyed out in talend and unable to check.

 

0695b00000SpdQlAAJ.png0695b00000SpdR0AAJ.png0695b00000SpdPOAAZ.png 

My question is that: is there another way how i can launch multiple query at the same time ?

Or is there a way to enable the parallel execution or any other component which i can use?

Best regards,

RA

Labels (4)
2 Replies
Anonymous
Not applicable

if you just need better performance, I'd start with changing select to "SELECT DISTINCT user_id" instead of selecting a lot of duplicates and extra columns.

choiceadvantage

RA6
Creator
Creator
Author

i am not using any select statement in my update query; this option is not applicable in my case.

All the updates are in a 1 file that 10 rows means 10 update statement and besides they are simple and straight updates, no subquery at all. 😕