help with query speed

From: "Jason Tesser" <JTesser(at)nbbc(dot)edu>
To: <pgsql-general(at)postgresql(dot)org>
Subject: help with query speed
Date: 2004-02-12 18:03:15
Message-ID: 04875CB4331F0240A0AD66F970978651160A92@paul
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have the below query written. I have removed a lot from the select
Statement for simplicity sake. The query takes way too long.
I am moving from an Access backend to a Postgres back with
Access in the front. The below query is taking like 14-20 seconds.
Is their a better way I can write the joins. I would think that
Postgres should be fast than Access. BTW I am writing these as
Pass through queries so it is not a problem with Access. I have
Even ran the query directly against Postgres.

SELECT
tblroster.transcriptlink
FROM
tblroster
FULL OUTER JOIN testclass ON (tblroster.classlink = testclass.classid)
FULL OUTER JOIN tblqualitypoint ON (tblroster.lettergrade =
tblqualitypoint.letter)
ORDER BY
tblroster.transcriptlink

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2004-02-12 18:18:49 Re: I want to use postresql for this app, but...
Previous Message John Gibson 2004-02-12 18:02:46 Idle Connection force-close ?