Skip to content
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

update chunk size #36

Closed
wants to merge 1 commit into from
Closed

Conversation

k-nasa
Copy link
Contributor

@k-nasa k-nasa commented Nov 4, 2019

mysqlのPrepared statementのプレスホルダーの上限個数は65,535である。

event logは3カラムなので20,000件インサートすれば、プレスホルダー数は60,000になるのではないか。

なのでchunk sizeを20,000に変更する。

このPRの背景

close: #35

@arkark
Copy link
Contributor

arkark commented Nov 4, 2019

http://www.programmersought.com/article/7408421896/;jsessionid=761C46A17209A7BC1F569D079C44AA84
一次ソースではないが、参考になりそう

@k-nasa k-nasa closed this Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bulk insertの数を増やす。現状1000
2 participants