
For INSERT-heavy workloads in Go, you may want to switch database drivers. For PostgreSQL and SQLite, the popular drivers are 20-76% slower for this workload in my tests.
Some driver developers have reported issues with database/sql as an interface.
notes.eatonphil.com/2023-10-05-go-…

English

