Received: from u1.abs.net (root@u1.abs.net [207.114.0.131]) by hub.org (8.8.8/8.7.5) with ESMTP id OAA03721 for ; Mon, 29 Jun 1998 14:54:01 -0400 (EDT) Received: from insightdist.com (nobody@localhost) by u1.abs.net (8.9.0/8.9.0) with UUCP id OAA09164 for pgsql-interfaces@postgreSQL.org; Mon, 29 Jun 1998 14:35:13 -0400 (EDT) X-Authentication-Warning: u1.abs.net: nobody set sender to insightdist.com!byronn using -f Received: from ceodev by insightdist.com (AIX 3.2/UCB 5.64/4.03) id AA25183; Mon, 29 Jun 1998 14:11:38 -0400 Received: from byronn by ceodev (AIX 4.1/UCB 5.64/4.03) id AA47564; Mon, 29 Jun 1998 14:11:38 -0400 Message-Id: <3597D87E.1E90176E@insightdist.com> Date: Mon, 29 Jun 1998 14:10:06 -0400 From: Byron Nikolaidis X-Mailer: Mozilla 4.05 [en] (Win95; I) Mime-Version: 1.0 To: Christian Steindl Cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] scrollable cursor via odbc References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Christian Steindl wrote: > i use the odbc interface to the postgresql but it seems to be quite > slowly. > although it's a single table with about 20.000 rows. > i set a link in an access-db and scrolling (next page, last row) is very > slowly. > is there a way to optimize the performance? > can i use scrollable cursor via the odbc-drv? > We need more information than the subjective "slow". First of all, what version of the driver are you using? Also, there are numerous reasons besides the driver that the performance can be slow. Are you using an index on your table? Are you using a unique identifier in Access? The kind of queries this generates (multiple OR's) can be extremely slow because of the backend canonifier problem. Is the system postgres is running on slow? Do you have the "Use Declare/Fetch" driver option checked? If you are using a unique identifier, is it a single keypart or multiples? Byron