Re: Query performance issue

Поиск
Список
Период
Сортировка
От Jayadevan
Тема Re: Query performance issue
Дата
Msg-id 1315159591749-4768047.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: Query performance issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Query performance issue  ("Tomas Vondra" <tv@fuzzy.cz>)
Список pgsql-performance
I don't think I understood all that. Anyway, is there a way to fix this -
either by rewriting the query or by creating an index? The output does match
what I am expecting.  It does take more than 10 times the time taken by
Oracle for the same result, with PostgreSQL taking more than 20 minutes. I
am sort of stuck on this since this query does get executed often. By the
way, changing the filter from FAMNAM to GIVENNAME fetches results in 90
seconds. Probably there is a difference in the cardinality of values in
these 2 columns.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Query-performance-issue-tp4753453p4768047.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Query performance issue
Следующее
От: "Tomas Vondra"
Дата:
Сообщение: Re: Query performance issue