Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Slow Query problem


  • From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
  • To: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
  • Cc: pgsql-sql(at)postgresql(dot)org, "Premsun Choltanwanich" <Premsun(at)nsasia(dot)co(dot)th>
  • Subject: Re: Slow Query problem
  • Date: Mon, 28 Jan 2008 12:20:06 -0500
  • Message-id: <3741.1201540806@sss.pgh.pa.us> <text/plain>

Andreas Joseph Krogh <andreak(at)officenet(dot)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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group