Re: Slow Query problem

Поиск
Список
Период
Сортировка
От Premsun Choltanwanich
Тема Re: Slow Query problem
Дата
Msg-id 479F4382.C5F7.004C.0@nsasia.co.th
обсуждение исходный текст
Ответ на Re: Slow Query problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Slow Query problem  (Andreas Joseph Krogh <andreak@officenet.no>)
Список 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

Вложения

В списке pgsql-sql по дате отправления:

Предыдущее
От: chester c young
Дата:
Сообщение: Re: Proposed archival read only trigger on rows - prevent history modification
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Re: Slow Query problem