pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
bad performance for Access, ODBC and Postgres
4+ messages / 3 participants
[nested] [flat]

* bad performance for Access, ODBC and Postgres
@ 2004-07-29 12:34 Jean-Max Reymond <jmreymond@gmail.com>
  2004-07-29 12:57 ` Re: bad performance for Access, ODBC and Postgres Eric HAGENBACH <eric.hagenbach@vif.tm.fr>
  0 siblings, 1 reply; 4+ messages in thread

From: Jean-Max Reymond @ 2004-07-29 12:34 UTC (permalink / raw)
  To: pgsql-odbc

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,

-- 
Jean-Max Reymond
CKR Solutions
http://www.ckr-solutions.com



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: bad performance for Access, ODBC and Postgres
  2004-07-29 12:34 bad performance for Access, ODBC and Postgres Jean-Max Reymond <jmreymond@gmail.com>
@ 2004-07-29 12:57 ` Eric HAGENBACH <eric.hagenbach@vif.tm.fr>
  2004-07-29 13:18   ` Re: bad performance for Access, ODBC and Postgres Jean-Max Reymond <jmreymond@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Eric HAGENBACH @ 2004-07-29 12:57 UTC (permalink / raw)
  To: Jean-Max Reymond <jmreymond@gmail.com>; +Cc: pgsql-odbc

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.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: bad performance for Access, ODBC and Postgres
  2004-07-29 12:34 bad performance for Access, ODBC and Postgres Jean-Max Reymond <jmreymond@gmail.com>
  2004-07-29 12:57 ` Re: bad performance for Access, ODBC and Postgres Eric HAGENBACH <eric.hagenbach@vif.tm.fr>
@ 2004-07-29 13:18   ` Jean-Max Reymond <jmreymond@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Jean-Max Reymond @ 2004-07-29 13:18 UTC (permalink / raw)
  To: Eric HAGENBACH <eric.hagenbach@vif.tm.fr>; +Cc: pgsql-odbc

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: bad performance for Access, ODBC and Postgres
@ 2004-07-29 13:23 Philippe Lang <philippe.lang@attiksystem.ch>
  0 siblings, 0 replies; 4+ messages in thread

From: Philippe Lang @ 2004-07-29 13:23 UTC (permalink / raw)
  To: Jean-Max Reymond <jmreymond@gmail.com>; pgsql-odbc

Hello,

Can you give us some more informations regarding the way you link Access and Postgresql? Linked table? Pass-through query?
How do you query the table? With an Access filter?

In order to get the best performance, I suggest you put all the logic on the database, and use a pass-through query to query the postgresql view or function.

-----Message d'origine-----
De : pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] De la part de Jean-Max Reymond
Envoyé : jeudi, 29. juillet 2004 14:34
À : pgsql-odbc@postgresql.org
Objet : [ODBC] bad performance for Access, ODBC and Postgres

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,

--
Jean-Max Reymond
CKR Solutions
http://www.ckr-solutions.com

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2004-07-29 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 12:34 bad performance for Access, ODBC and Postgres Jean-Max Reymond <jmreymond@gmail.com>
2004-07-29 12:57 ` Eric HAGENBACH <eric.hagenbach@vif.tm.fr>
2004-07-29 13:18   ` Jean-Max Reymond <jmreymond@gmail.com>
2004-07-29 13:23 Re: bad performance for Access, ODBC and Postgres Philippe Lang <philippe.lang@attiksystem.ch>

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