Re: PgSQL vs Ms.Access slow in search

From: "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk>
To: "'Alejandro Alfonso Fernandez'" <kawa(at)enete(dot)gui(dot)uva(dot)es>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: PgSQL vs Ms.Access slow in search
Date: 2001-10-17 08:52:48
Message-ID: E2870D8CE1CCD311BAF50008C71EDE8E01F746FA@MAIL_EXCHANGE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

I fooled myself for a while by accidently turning tracing on in the
ODBC driver manager (under the tracing tab). This slowed everything down
while I was trying to work out why my new shiney view was so sloooowwwwwww
:). Also check the commlog driver option is unchecked.
If you find a query doing the same find but in a where condition (eg
SELECT * FROM tbl WHERE col=1234) then it might be the additional reading
its doing to set up all the other data seen on the grid. Try starting the
postmaster with -d2 to see if that gives usefull info on the queries being
executed.
- Stuart

> -----Original Message-----
> From: Alejandro Alfonso Fernandez [SMTP:kawa(at)enete(dot)gui(dot)uva(dot)es]
> Sent: Wednesday, October 10, 2001 11:00 AM
> To: pgsql-odbc(at)postgresql(dot)org
> Subject: PgSQL vs Ms.Access slow in search
>
>
> Hello everybody!
>
> First of all, sorry for my poor english. And now, the problem
> that don't leave me sleep :). I'm using PgSQL as the data source of some
> forms in MsAccess, with the current version of the ODBC driver. It
> exports/imports tables right and fast. But... when I have the tables
> "linked" (it's correct this word???), and i try to do a search (Edit->Find
> or Ctrl-B) in any column of any table with more of 1.000 tuples:
> first: the access seems to be dead thinking too much :)
> second: the postmaster takes 99% of CPU
> Why????? In numerics primary keys, the both works better, but most of
> time, they dead.
>
> I've startde postmaster from a shell, and I get:
> 2001-10-09 20:39:50 [6573] DEBUG: StartTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: CommitTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: StartTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: CommitTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: StartTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: CommitTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: StartTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: CommitTransactionCommand
> 2001-10-09 20:39:51 [6573] DEBUG: StartTransactionCommand
> 2001-10-09 20:39:52 [6573] DEBUG: CommitTransactionCommand
> (only 4 querys from each second?????)
>
> I've tried to fin a solution by my self, but I couldn't :(. With MySQL ->
> MyODBC -> Access the problem It's the same.
>
> Thanks in advance from Spain...
>
> _____ - - - - - - - - - Alejandro Alfonso Fernández - - - - - - - -
> -
> /\___/\ Grupo Universitario de Informática - Diplomatura en
> Estadística
> /__\ _\/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> -
> /_/\_\ - "Lo mejor de tu ordenador está entre tu silla y tu teclado"
> -
> /_/ /\_\ Atari Php Asp Wap Sql Dhtml Swf JavaScript Java Xml C Awk
> Sed
> \_\/ \_\ - Email: kawa(at)gui(dot)uva(dot)es - Web: http://www.gui.uva.es/~kawa/
> -
> L.Carrol: Hace falta que corras todo lo que puedas para seguir en el
> mismo
> sitio. Si quieres ir a alguna parte, tendras que correr el doble de
> rapido!
> *gpg*public*key->http://www.gui.uva.es/%7ekawa/alexokawa.gpg<-gpg*public*k
> ey
>

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2001-10-18 00:43:46 Re: error message: the driver doesn't support the version of
Previous Message A. Hahnefeld 2001-10-16 16:42:23 error message: the driver doesn't support the version of odbc-function