pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mimi Siu <bbnoopys@yahoo.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Postgresql Performance
Date: Sun, 13 Nov 2005 23:06:42 -0800 (PST)
Message-ID: <20051114070643.8482.qmail@web30502.mail.mud.yahoo.com> (raw)

Hello:

I am using Postgresql 8.0.3 with the ODBC driver
(8.01.100). My application will update a batch of
records (~3000 records) and i really need the update
to be completed in very short time. In order to
increase efficience, I have set "fsync=false". 

When i simply use psql command line (i,e. "psql -q
DATABASE < update.sql") it takes around 2 sec to
finish the 3000 records update. However, if I use my
ODBC application to update the records, it nearly
takes about 6-8 sec to finish!!!!  

Does anyone have any idea on how to improve the
performance of my update record application through
ODBC driver?? (Also I have set the AUTOCOMMIT as off
in my ODBC application already!)

thanks a lot!


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com



view thread (2+ messages)  latest in thread

Message-ID: <20051114070643.8482.qmail@web30502.mail.mud.yahoo.com>
Permalink:  ../20051114070643.8482.qmail@web30502.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20051114070643.8482.qmail@web30502.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: bbnoopys@yahoo.com
  Subject: Re: Postgresql Performance
  In-Reply-To: <20051114070643.8482.qmail@web30502.mail.mud.yahoo.com>
  References: <20051114070643.8482.qmail@web30502.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox