Unix Technical Forum

Re: Improve ODBC Throughput ?

This is a discussion on Re: Improve ODBC Throughput ? within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Remember that any data access component is riding on the underlying physical layer. You need to make sure that ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 03:10 AM
Benjamin Krajmalnik
 
Posts: n/a
Default Re: Improve ODBC Throughput ?

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
> [mailtogsql-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
>


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-16-2008, 03:10 AM
Arnaud Lesauvage
 
Posts: n/a
Default Re: Improve ODBC Throughput ?

Benjamin Krajmalnik a écrit :
> Remember that any data access component is riding on the underlying physical layer.


Yes, but this network is fast. From the same server, file transfer
is using the full ethernet capacity (~10MB / second).


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-16-2008, 03:10 AM
Obe, Regina
 
Posts: n/a
Default Re: Improve ODBC Throughput ?

Have you tried one of the systernals tools like ProcessExplorer
http://www.sysinternals.com/Utilitie...sExplorer.html

Or FileMonitor
http://www.sysinternals.com/Utilities/Filemon.html

To debug it.

Those often uncover all sorts of stupid little errors.

Thanks,
Regina

________________________________

From: Arnaud Lesauvage [mailto:thewild@freesurf.fr]
Sent: Thu 10/19/2006 1:13 PM
To: Benjamin Krajmalnik
Cc: Obe, Regina; pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Improve ODBC Throughput ?



Benjamin Krajmalnik a écrit :

> Remember that any data access component is riding on the underlying physical layer.


Yes, but this network is fast. From the same server, file transfer
is using the full ethernet capacity (~10MB / second).






-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally
privileged and/or exempt from disclosure pursuant to Massachusetts
law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and
delete the material from any computer.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:58 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com