Re: Slow performance with trivial self-joins

Поиск
Список
Период
Сортировка
От Adam Brusselback
Тема Re: Slow performance with trivial self-joins
Дата
Msg-id CAMjNa7cmCQb_rPhUU4E4JtCard51F_TuH1ZFp=xJJHyeku2wGQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Slow performance with trivial self-joins  (Benny Kramek <benny@medflyt.com>)
Ответы Re: Slow performance with trivial self-joins  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-performance
> You can create a library of
> reusable views that are small, easy-to-understand and readable. Then
> you build them up into bigger views, and finally query from them. But
> then you end up with lots of (hidden) self-joins.  

I will concur with this use case being pretty common, but also something I 
have actively avoided anywhere performance is important because of the
lack of this optimization.

Even still, I have 20+ views like that in my database.

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

Предыдущее
От: Benny Kramek
Дата:
Сообщение: Re: Slow performance with trivial self-joins
Следующее
От: David Rowley
Дата:
Сообщение: Re: Slow performance with trivial self-joins