Re: Major performance problem after upgrade from 8.3 to 8.4

Поиск
Список
Период
Сортировка
От Gerhard Wiesinger
Тема Re: Major performance problem after upgrade from 8.3 to 8.4
Дата
Msg-id alpine.LFD.2.01.1008301808330.31277@bbs.intern
обсуждение исходный текст
Ответ на Re: Major performance problem after upgrade from 8.3 to 8.4  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Major performance problem after upgrade from 8.3 to 8.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Mon, 30 Aug 2010, Pavel Stehule wrote:

> 2010/8/30 Gerhard Wiesinger <lists@wiesinger.com>:
>> On Mon, 30 Aug 2010, Pavel Stehule wrote:
>>
>>> Hello
>>>
>>> 2010/8/30 Andreas Kretschmer <akretschmer@spamfence.net>:
>>>>
>>>> Gerhard Wiesinger <lists@wiesinger.com> wrote:
>>>>
>>>>> I know that the data model is key/value pairs but it worked well in 8.3.
>>>>> I need this flexibility.
>>>>>
>>>>> Any ideas?
>>>>
>>>> If i understand the query correctly it's a pivot-table, right?
>>>>
>>>
>>> no - it's just EAV table on very large data :(
>>
>> Yes, it is an EAV table, but with query space comparable low (Max. 1 day out
>> of years, typically 5mins out of years).
>>
>
> it is irelevant - there are repeated seq scans - so you need a
> partitioning or classic table - maybe materialized views can help

I know the drawbacks of an EAV design but I don't want to discuss that. I
want to discuss the major performance decrease of PostgreSQL 8.3
(performance was ok) to PostgreSQL 8.4 (performance is NOT ok).

Any further ideas how I can track this down?
Can someone explain the difference in query plan from an optimizer point
of view?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/

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

Предыдущее
От: Jose Ildefonso Camargo Tolosa
Дата:
Сообщение: Re: Performance on new 64bit server compared to my 32bit desktop
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Major performance problem after upgrade from 8.3 to 8.4