While the PostgreSQL JDBC driver is thread-safe
(ref), multiple threads using the same connection returned from the driver will still block each other.
This change updates the DB client implementation to have each thread maintain their own driver and connection. This is useful in the transaction phase to improve the throughput performance of a single load driver process without having to resort to using multiple processes.
While the PostgreSQL JDBC driver is thread-safe (ref), multiple threads using the same connection returned from the driver will still block each other.
This change updates the DB client implementation to have each thread maintain their own driver and connection. This is useful in the transaction phase to improve the throughput performance of a single load driver process without having to resort to using multiple processes.