Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 6B40A9FA344 for ; Thu, 19 Oct 2006 13:34:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 18982-05 for ; Thu, 19 Oct 2006 13:33:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.illumen.com (unknown [64.207.29.137]) by postgresql.org (Postfix) with ESMTP id 05ECB9F9FE2 for ; Thu, 19 Oct 2006 13:33:54 -0300 (ADT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Improve ODBC Throughput ? x-mimeole: Produced By Microsoft Exchange V6.5 Date: Thu, 19 Oct 2006 10:33:53 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] Improve ODBC Throughput ? Thread-Index: AcbzitN0NvYRfPtASu2td3XvaxzhCQAEN54A From: "Benjamin Krajmalnik" To: "Arnaud Lesauvage" , "Obe, Regina" Cc: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.066 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/57 X-Sequence-Number: 8320 Remember that any data access component is riding on the underlying = physical layer. You need to make sure that your network infrastructure can pump that = much data through it. Are you network cards running in full duples or half duplex? What sort of switching infrastructure do you have? The vast majority of switches have a blocking architecture. In a heavy = environment this will cause oversubscription which will result in = congestion. If you are using a managed switch, your network admins will = hopefully know how to troubleshoot and tell you if that is the case = (they will see resends, etc.). Just another area to look at.=20 > -----Original Message----- > From: pgsql-odbc-owner@postgresql.org=20 > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Arnaud Lesauvage > Sent: Thursday, October 19, 2006 8:24 AM > To: Obe, Regina > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Improve ODBC Throughput ? >=20 > Obe, Regina a =E9crit : > > What kinds of indexes do you have on your tables? I think the way=20 > > Access works to limit transfer it first pulls the indexes=20 > and probably=20 > > the primary one first to determine how to fetch and how=20 > many to fetch. > > I suspect if you have no indexes performance would be really bad.=20 > >=20 > > Also which version of psqlODBC driver are you using? >=20 > I have integer primary keys on most tables, if not all of them. > Even my views have an integer primary key (at least,=20 > something that can be used as an integer pkey in Access). >=20 > My version of psqlODBC is 8.1.2.0. >=20 > I forgot to mention something important : I obtain the best=20 > performances (500kB / sec, cf my first post) when I am NOT in access. > In a VBA module (Autocad, not Access), I open an ADO=20 > connection to PostgreSQL and directly query the server (no=20 > linked table involved here). But still, this is "only"=20 > 500kB/sec... >=20 >=20 >=20 > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org=20 > so that your > message can get through to the mailing list cleanly >=20