On Wed, Oct 01, 2008 at 03:44:40AM -0700, Sergey A. wrote: > Hello. > > My application generates a large amount of inserts (~ 2000 per > second) using one connection to PostgreSQL. All queries are > buffered in memory and then the whole buffers are send to DB. Are you using COPY? If not, start there :) Cheers, David. -- David Fetter <david@xxxxxxxxxx> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@xxxxxxxxx Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate