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 <[EMAIL PROTECTED]> 1/29/2008 0:20 >>> Andreas Joseph Krogh <[EMAIL PROTECTED]> 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 |
- [SQL] Slow Query problem Premsun Choltanwanich
- Re: [SQL] Slow Query problem Andreas Joseph Krogh
- Re: [SQL] Slow Query problem Tom Lane
- Re: [SQL] Slow Query problem Premsun Choltanwanich
- Re: [SQL] Slow Query problem Andreas Joseph Krogh
- Re: [SQL] Slow Query problem Premsun Choltanwanich
- Re: [SQL] Slow Query problem Premsun Choltanwanich