TCP Overhead on Local Loopback

Поиск
Список
Период
Сортировка
От Ofer Israeli
Тема TCP Overhead on Local Loopback
Дата
Msg-id 217DDBC2BB1E394CA9E7446337CBDEF20102DEDB4A58@il-ex01.ad.checkpoint.com
обсуждение исходный текст
Ответы Re: TCP Overhead on Local Loopback  (Andy <angelflow@yahoo.com>)
Re: TCP Overhead on Local Loopback  (Rob Wultsch <wultsch@gmail.com>)
Re: TCP Overhead on Local Loopback  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-performance
Hi all,
 
We are running performance tests using PG 8.3 on a Windows 2008 R2 machine connecting locally over TCP.
In our tests, we have found that it takes ~3ms to update a table with ~25 columns and 60K records, with one column indexed.
We have reached this number after many tweaks of the database configuraiton and one of the changes we made was to perform the updates in batches of 5K as opposed to the pervious transaction per event.  Note that our use of batches is to have only one transaction, but still each of the 5K events is independently SELECTing and UPDATEing records, i.e. it is not all contained in a stored procedure or such.
 
Still these times are too high for us and we are looking to lower them and I am wondering about the TCP/IP overhead of passing the information back and forth.  Does anyone have any numbers in what the TCP could cost in the configuration mentioned above or pointers on how to test it?
 
 
Many thanks,
Ofer

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

Предыдущее
От: Bob Lunney
Дата:
Сообщение: Re: database slowdown while a lot of inserts occur
Следующее
От: Andy
Дата:
Сообщение: Re: TCP Overhead on Local Loopback