Asynchronous WRITES

Поиск
Список
Период
Сортировка
От andrew@pillette.com
Тема Asynchronous WRITES
Дата
Msg-id 200402232013.i1NKD7230808@pillette.com
обсуждение исходный текст
Список pgsql-jdbc
Java profiling with freeware tools can be a somewhat tricky thing, but my app appears to be spending quite a lot of
timein java.net.socketWrite, or in other words, executing various INSERT statements. 

If the DB is on another machine from the Java client, would I be able to get a speedup by INSERTing asynchronously? I
don'tcare about the return value; if things get messed up the application will find out soon enough. 

What would be the best way to do this in Java? I assume I have to create another Thread object to poll for DB INSERT
statements,but if someone has already done this, I'd like to know what to look out for. 

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Ole Streicher"
Дата:
Сообщение: Connection pools with LOB?
Следующее
От: "Derek Dilts"
Дата:
Сообщение: Jdbc3PoolingDataSource and Statement relationship???