Closed sunshyer closed 5 years ago
Added simple insert benchmark/example:
There are additional ways to speed up inserts depending on what you are doing. For example, can do a insert from many select dual union all which works well. (Found 50 to 100 works well depending.) Can also use more than one goroutine depending on use case.
@MichaelS11 you may be interested in https://groups.google.com/forum/#!topic/golang-sql/-J_1aay72nM
@cjbj Cool, thanks. Something that can be looked into later.
Close this?
Yes, thanks .
I tried to improve insert efficiency , but I can not find the right way about commit/prepare/stmt.exec.