Re: [GENERAL] Slow Searches using MSAccess and ODBC to aPostGreSQL database - Mailing list pgsql-general

From Valerio Santinelli
Subject Re: [GENERAL] Slow Searches using MSAccess and ODBC to aPostGreSQL database
Date
Msg-id 367D6BF9.9A2F8E10@mediacom.it
Whole thread Raw
In response to Re: [GENERAL] Slow Searches using MSAccess and ODBC to a PostGreSQL database  (dustin sallings <dustin@spy.net>)
List pgsql-general
The table is made up of 8 fields: one of them is an ID number, the others are all
text fields except one that's of "memo" type.

I'm not generating the query.. instead it's MSAccess itself that's generating lots
of queries with a SELECT of everything based on the ID number .. something like:

SELECT * from clienti where ID = 1

and it's repeating this stuff 7 times for the same ID and then for every ID..

dustin sallings wrote:

> On Fri, 18 Dec 1998, Valerio Santinelli wrote:
>
>         What does the query look like, and what does the table look like?
>
> // I've just setted up my PostGreSQL database on a Linux machine and it
> // seems to work fine with the radius daemon i'm currently working on.
> //
> // Now I need to interface it with MSAccess to access data about our
> // customers and other stuff stored in the postgres database. It seems to
> // work correctly as to insertion, update and so on, but when I'm doing a
> // search on every field on a substring it gets something like 2 minutes
> // and a half to look in a 1500 records database and you all know that'd
> // way too much.
> // The search is on 8 fields on a single table.. what could I do to speed
> // it up ? (When i was running this database just on Access it took at most
> // 2 seconds for the whole search)
> //
> // I gave a look to the log and it seems that for every search on a single
> // record it involves seven transactions on the same record.. that sounds
> // strange to me.. anybody who can help me out ?
> //
> // Thanks.
> //
> // Valerio Santinelli
> // tanis@mediacom.it
> //
> //
> //
>
> --
> Principle Member Technical Staff, beyond.com    The world is watching America,
> pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
> |    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE
> L______________________________________________ and America is watching TV. __

--
C'ya!

 Valerio Santinelli a.k.a. TANiS
 [tanis@mediacom.it]+:+[http://www.mediacom.it/~tanis]





pgsql-general by date:

Previous
From: The Hermit Hacker
Date:
Subject: RE: [GENERAL] Is there a port to Windows95/98?
Next
From: Memphisto
Date:
Subject: vacuum problem