[Перевод] How to speed up mass data inserts in PostgreSQL when using Spring. A common task in enterprise systems is to load large volumes of data into PostgreSQL — sometimes tens or even hundreds of millions of rows. At first glance, this seems simple: just write a loop in Java and call save() for every record. But in reality, such an approach can be painfully slow. Even a perfectly tuned PostgreSQL instance won’t help if the application is sending data inefficiently. This article explains how to significantly accelerate bulk inserts when working with PostgreSQL through ...