-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the consequence of setting batchTimeOut to 15 seconds #214
Comments
Such a short timeout will likely result in multiple loads at the same time, which can create commit contention and cause other transactions to be delayed. |
Thank you very much for your reply. This is really helpful. |
In theory you could do that. Alternatively, simply write a task that loads all of the copy commands that you’ve run from the Batch history table, and then set the time out to that value +1/ second. In that way you will balance the load time vs commit contention. |
thank you very much for the reply. I spent the last couple days learning s3 redshift loader code and still have trouble understand the alternative approach. If possible, could you please elaborate with more details. :-) |
Hi,
I read the documentation, the recommended setting for batchTimeout is over 2 minutes. Do you know what is the consequence of setting the timeout to 15 seconds? what are the drawbacks?
Thanks,
Tao
The text was updated successfully, but these errors were encountered: