Re: [PERFORM] Using array instead of sub table (storage and speed)

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: [PERFORM] Using array instead of sub table (storage and speed)
Дата
Msg-id 20170616120537.GJ1769@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: [PERFORM] Using array instead of sub table (storage and speed)  (Lutz Fischer <l.fischer@ed.ac.uk>)
Список pgsql-performance
Greeting, Lutz!

Please don't top-post on the PG mailing lists, our style is to relpy
in-line.

* Lutz Fischer (l.fischer@ed.ac.uk) wrote:
> I often need some data from [s] where I don't care about [sp]. So in
> how far does having these arrays a part of [s] would make these
> queries slower. Or would be better to store the array data in a
> separate table e.g. have [s] as it is now but turn [sp] into an
> array aggregated table.

If that's the case then you would probably be better off putting the
arrays into an independent table, yes.

Thanks!

Stephen

Вложения

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

Предыдущее
От: Lutz Fischer
Дата:
Сообщение: Re: [PERFORM] Using array instead of sub table (storage and speed)
Следующее
От: Tieson Molly
Дата:
Сообщение: [PERFORM] substring index what is better way to query