X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8A2C1D7977 for ; Mon, 14 Nov 2005 03:06:48 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 46737-03 for ; Mon, 14 Nov 2005 07:06:46 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from web30502.mail.mud.yahoo.com (web30502.mail.mud.yahoo.com [68.142.200.115]) by svr1.postgresql.org (Postfix) with SMTP id B4443D793A for ; Mon, 14 Nov 2005 03:06:46 -0400 (AST) Received: (qmail 8484 invoked by uid 60001); 14 Nov 2005 07:06:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JDMhM0xkcIhhUn8y9KfvJvq4X1iYlXV1/u2Q1ug0M5WThQXtZw0YyWWyh1jqitjoY56+17DY9UV7teJIWqxqrDkYBg+cSe+0LFJMTbOY8xU7LfsZVO3Eys3g9FaL7tu3MvXsP3JTSFsXzn1jcQ+t0fCkmOM3gvxYAYIXhkEHzF4= ; Message-ID: <20051114070643.8482.qmail@web30502.mail.mud.yahoo.com> Received: from [210.177.88.54] by web30502.mail.mud.yahoo.com via HTTP; Sun, 13 Nov 2005 23:06:42 PST Date: Sun, 13 Nov 2005 23:06:42 -0800 (PST) From: Mimi Siu Subject: Postgresql Performance To: "pgsql-odbc@postgresql.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.359 required=5 tests=[AWL=-0.120, DNS_FROM_RFC_ABUSE=0.479] X-Spam-Score: 0.359 X-Spam-Level: X-Archive-Number: 200511/127 X-Sequence-Number: 6364 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