From: Jean-Max Reymond <jmreymond@gmail.com>
To: Eric HAGENBACH <eric.hagenbach@vif.tm.fr>
Cc: pgsql-odbc@postgresql.org
Subject: Re: bad performance for Access, ODBC and Postgres
Date: Thu, 29 Jul 2004 15:18:52 +0200
Message-ID: <4b09a0c0407290618a54b072@mail.gmail.com> (raw)
In-Reply-To: <4108F435.80803@vif.tm.fr>
References: <4b09a0c04072905345df62f96@mail.gmail.com>
<4108F435.80803@vif.tm.fr>
On Thu, 29 Jul 2004 14:57:25 +0200, Eric HAGENBACH
<eric.hagenbach@vif.tm.fr> wrote:
> Jean-Max Reymond a écrit :
>
> >Hi,
> >I have very poor access whith a front end Access 2003, ODBC and Postgres 7.4.3.
> >Much time to find a record in a table ff 13000 records with indexs.
> >Sniffing the network, I can see a lot of traffic and the CPU of
> >postmaster is about 30% (P4, 2.8 GHz). It seems that all the data's
> >are backed on the client side and then, analyzed.
> >Does it exist an option to improve the performances ?
> >thanks,
> >
> >
> >
> Maybe you can use the EXPLAIN command to see what query plan the system
> creates for your query (you can see the where condition, which index is
> used, ...)
>
> Eric.
>
EXPLAIN is for identified requests and I don't know which request Access sends.
It seems that Access open a cursor on the database and reads each
record one by one and tries to match with the condition. This is the
only way I can explain such behaviour and it is of course very silly.
--
Jean-Max Reymond
CKR Solutions
http://www.ckr-solutions.com
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: jmreymond@gmail.com, eric.hagenbach@vif.tm.fr
Subject: Re: bad performance for Access, ODBC and Postgres
In-Reply-To: <4b09a0c0407290618a54b072@mail.gmail.com>
References: <4b09a0c04072905345df62f96@mail.gmail.com> <4108F435.80803@vif.tm.fr> <4b09a0c0407290618a54b072@mail.gmail.com>
* 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