Re: Auto-tuning a VIEW?

Поиск
Список
Период
Сортировка
От PFC
Тема Re: Auto-tuning a VIEW?
Дата
Msg-id op.s1sn9ey6cigqcu@peufeu.com
обсуждение исходный текст
Ответ на Re: Auto-tuning a VIEW?  (Zoltan Boszormenyi <zboszor@dunaweb.hu>)
Список pgsql-performance
> Thanks, now the SELECT from the huge VIEW runs under one third of the
> original runtime.

    Nice.

>>> select * from v1 where code||num = 'AAA2005000001';

    I do not know if it is at all possible, but maybe you could use a rule
to, on select to your view, do instead a select on the two separate
columns used in the key, with a bit of massaging on the values using
substring()...

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

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Simple Join
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Simple Join