pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benjamin Krajmalnik <kraj@illumen.com>
To: Arnaud Lesauvage <thewild@freesurf.fr>
To: Obe, Regina <robe.dnd@cityofboston.gov>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Improve ODBC Throughput ?
Date: Thu, 19 Oct 2006 10:33:53 -0600
Message-ID: <F4E6A2751A2823418A21D4A160B689883164@fletch.stackdump.local> (raw)

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. 

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org 
> [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 ?
> 
> Obe, Regina a écrit :
> > What kinds of indexes do you have on your tables?  I think the way 
> > Access works to limit transfer it first pulls the indexes 
> and probably 
> > the primary one first to determine how to fetch and how 
> many to fetch.
> > I suspect if you have no indexes performance would be really bad. 
> > 
> > Also which version of psqlODBC driver are you using?
> 
> I have integer primary keys on most tables, if not all of them.
> Even my views have an integer primary key (at least, 
> something that can be used as an integer pkey in Access).
> 
> My version of psqlODBC is 8.1.2.0.
> 
> I forgot to mention something important : I obtain the best 
> performances (500kB / sec, cf my first post) when I am NOT in access.
> In a VBA module (Autocad, not Access), I open an ADO 
> connection to PostgreSQL and directly query the server (no 
> linked table involved here). But still, this is "only" 
> 500kB/sec...
> 
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org 
> so that your
>        message can get through to the mailing list cleanly
> 



view thread (20+ messages)  latest in thread

Message-ID: <F4E6A2751A2823418A21D4A160B689883164@fletch.stackdump.local>
Permalink:  ../F4E6A2751A2823418A21D4A160B689883164@fletch.stackdump.local/
Also on:    postgresql.org/message-id/F4E6A2751A2823418A21D4A160B689883164@fletch.stackdump.local

 · 

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: kraj@illumen.com, thewild@freesurf.fr, robe.dnd@cityofboston.gov
  Subject: Re: Improve ODBC Throughput ?
  In-Reply-To: <F4E6A2751A2823418A21D4A160B689883164@fletch.stackdump.local>
  References: <F4E6A2751A2823418A21D4A160B689883164@fletch.stackdump.local>

* 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