embulk / embulk-output-jdbc

MySQL, PostgreSQL, Redshift and generic JDBC output plugins for Embulk
Other
88 stars 89 forks source link

Limit the number of thread which upload and copy data to redshift due to the max connection error #311

Closed giwa closed 9 months ago

giwa commented 1 year ago

Please see the details: https://github.com/trocco-io/embulk-output-jdbc/pull/2

Short Summary

how to fix

giwa commented 1 year ago

@dmikurube Please review this PR:)

hiroyuki-sato commented 1 year ago

I read this comment. https://github.com/trocco-io/embulk-output-jdbc/pull/2#issuecomment-806404200

It creates 40 threads( task(8) * thread_maximum(5) ) by default, Correct? (When the number of tasks is 8)

Adding this description may be helpful for users.

dmikurube commented 1 year ago

Ah, if the number of threads is multiplied by the number of tasks, we should take care of that, in addition. Maybe some more updates in the config name, such as: max_s3_upload_threads_per_task