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

Enable Performant Batch Inserts #38

Open
jonathanvx opened this issue Dec 23, 2019 · 2 comments
Open

Enable Performant Batch Inserts #38

jonathanvx opened this issue Dec 23, 2019 · 2 comments

Comments

@jonathanvx
Copy link

Converts many single INSERT statements into one INSERT statement with many values.

Example: INSERT INTO table VALUES (1,'yes'),(2,'no),(3,'maybe'),(4,'not sure')

https://dzone.com/articles/performant-batch-inserts-using-jdbc

https://www.journaldev.com/2494/jdbc-batch-insert-update-mysql-oracle

@cfsamson
Copy link

Unless Tiberius (MS-SQL) driver adds native suppurt for batch inserts, I’ve found this method extremely useful to avoid beeing limited to 1000 inserts (which is the case of using INSERT VALUES (), () ...) steffengy/tiberius#93 (comment)

Just posting it here for future reference. Tiberius support needs to be implemented first.

@wokket
Copy link

wokket commented Feb 10, 2020

I'd love to see support for BULK INSERT, is that the 'batch insert' you're talking about?

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

No branches or pull requests

3 participants