Array performance

Поиск
Список
Период
Сортировка
От Ruben Rubio Rey
Тема Array performance
Дата
Msg-id 4423E90E.2090607@rentalia.com
обсуждение исходный текст
Ответ на Re: Indexes with descending date columns  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Array performance
Re: Array performance
Список pgsql-performance
Hi,

I have a select like

SELECT (array[20]+array[21]+ ... +array[50]+array[51]) as total
FROM table
WHERE
(array[20]+array[21]+ ... +array[50]+array[51])<5000
AND array[20]<>0
AND array[21]<>0
 ...
AND array[50]<>0
AND array[51])<>0

Any ideas to make this query faster?

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: WAL logging of SELECT ... INTO command
Следующее
От: Svenne Krap
Дата:
Сообщение: Performance problems with multiple layers of functions