Re: Slow Query problem - Mailing list pgsql-sql

From Tom Lane
Subject Re: Slow Query problem
Date
Msg-id 3741.1201540806@sss.pgh.pa.us
Whole thread Raw
In response to Re: Slow Query problem  (Andreas Joseph Krogh <andreak@officenet.no>)
Responses Re: Slow Query problem  ("Premsun Choltanwanich" <Premsun@nsasia.co.th>)
List pgsql-sql
Andreas Joseph Krogh <andreak@officenet.no> writes:
> On Monday 28 January 2008 08:18:24 Premsun Choltanwanich wrote:
>> I am currently using PostgreSQL database version 8.0.13.  My problem
>> relates to a slow result when a query using a defined view joins to another
>> table for a result.

> It is very hard to help without you providing the schema for the tables/views
> involved.

One suggestion is that 8.2.x is significantly smarter about joins to
unions than previous releases were.  Whether this would help in your
particular case is impossible to say, though, without more detail.
        regards, tom lane


pgsql-sql by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: Slow Query problem
Next
From: Bryce Nesbitt
Date:
Subject: Proposed archival read only trigger on rows - prevent history modification