| От | Tom Lane |
|---|---|
| Тема | Re: How to determine cause of performance problem? |
| Дата | |
| Msg-id | 3711.1127485986@sss.pgh.pa.us обсуждение |
| Ответ на | Re: How to determine cause of performance problem? (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>) |
| Ответы |
Re: How to determine cause of performance problem?
|
| Список | pgsql-performance |
Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> writes:
> I will test this a for perfomance improvement, but still, I wonder if ~
> 100 inserts/second is a reasonable performance for my software/hardware
> combination.
Is the client code running on the same machine as the database server?
If not, what's the network delay and latency between them?
The major problem you're going to have here is at least one network
round trip per row inserted --- possibly more, if the jdbc driver is
doing "helpful" stuff behind your back like starting/committing
transactions.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера