Re: Slow Query problem - Mailing list pgsql-sql

From Premsun Choltanwanich
Subject Re: Slow Query problem
Date
Msg-id 479F4382.C5F7.004C.0@nsasia.co.th
Whole thread Raw
In response to Re: Slow Query problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Slow Query problem  (Andreas Joseph Krogh <andreak@officenet.no>)
List pgsql-sql
I already install the latest version of PostgreSQL on my machine then try again. I found that it has a little improvement about 0.5 second but I think it still slow.
 
What is the 'more detail' you need?
 
Any other advise?
 
 
 


>>> Tom Lane <tgl@sss.pgh.pa.us> 1/29/2008 0:20 >>>
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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

NETsolutions Asia Limited

+66 (2) 237 7247

NETsolutions Asia Limited

Attachment

pgsql-sql by date:

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