| От | Oliver Jowett |
|---|---|
| Тема | Re: what is lslowing me down? JDBC or Postgresql itself? |
| Дата | |
| Msg-id | 4071D621.6030609@opencloud.com обсуждение исходный текст |
| Ответ на | what is lslowing me down? JDBC or Postgresql itself? (jeff@amiel.net (Jeff Amiel)) |
| Список | pgsql-jdbc |
Jeff Amiel wrote: > Why is this happening? Is the jdbc driver the limiting factor? Is it > the database? Can anyone give me any suggestions to troubleshoot? Check the CPU usage of the client vs. server. Also check I/O on the server. This may show you the bottleneck directly. If there's no obvious bottleneck, you may be limited by your network; can you put the client and server on the same machine to eliminate this? From your description you are doing many small transactions and throwing more concurrent connections at it doesn't improve your throughput. I'd hazard a guess that you'll probably find you are I/O bound on the server as the backend will be doing a lot of fsyncs (or equivalent). What throughput do you get running the queries via psql? -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера