Обсуждение: JDBC Vs psql performances

Поиск
Список
Период
Сортировка

JDBC Vs psql performances

От
Auri Mason
Дата:
Hi to all,

What I want to do is make a measure about the delay introduced by the
JDBC driver.

I known that exists both pgbench and JDBCBench. Are the results of those
two tools comparable? They make the same operations?

The results of the bench (10 user 1 transactions) are:
pgbench: 18.129 TPS (transactions per seconds)
JDBCBench: 0.417 (Time for 10 transactions) -> 23.98 TPS

What I was expecting was just the opposite...

Anyone of you may explain me something?

TIA, Auri