Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id AAEF29FA469 for ; Fri, 20 Oct 2006 23:32:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 74692-04 for ; Sat, 21 Oct 2006 02:32:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 7ED789FA0C4 for ; Fri, 20 Oct 2006 23:32:17 -0300 (ADT) Received: from alvh.no-ip.org (200-126-100-219.bk7-dsl.surnet.cl [200.126.100.219]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k9L2WHYi015547; Fri, 20 Oct 2006 19:32:18 -0700 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 6F918C2DC0D; Fri, 20 Oct 2006 23:32:11 -0300 (CLST) Date: Fri, 20 Oct 2006 23:32:11 -0300 From: Alvaro Herrera To: Carlo Stonebanks Cc: pgsql-performance@postgresql.org Subject: Re: Is ODBC that slow? Message-ID: <20061021023211.GA20508@alvh.no-ip.org> Mail-Followup-To: Carlo Stonebanks , pgsql-performance@postgresql.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Fri, 20 Oct 2006 19:32:20 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200610/449 X-Sequence-Number: 21578 Carlo Stonebanks wrote: > Our Windows-based db server has to integrate with users that work regularily > with Access.When attempting to import user's data from Access MDB files to > PostgreSQL, we try on eof two things: either import using EMS SQL Manager's > Data Import from Access utility, or export from Access to Postgresql via an > odbc-based connectionin both cases, the performance is just awful. > Performance with Tcl's native postgres driver seems rather fine running from > Windows a Windows client, BTW. > > ODBC is often blamed for this sort of thing - I have the 8.01.02 release > dated 2006.01.31. Everything appears to be at its default setting. Try Command Prompt's ODBC driver. Lately it has been measured to be consistently faster than psqlODBC. http://projects.commandprompt.com/public/odbcng -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.