Search Postgresql Archives

Re: JDBC addBatch more efficient?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




The JDBC driver's batch processing is more efficient than regular execution because it requires fewer network roundtrips so there's less waiting. The JDBC batch is broken into an internal batch size of 256 statement and all of these are sent over to the server at once.

That's great, Kris. I believe our code only does 100 updates/deletes before committing the transaction anyway, so this should work well for us.

Thanks,
David


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux