Re: Columnar store as default for PostgreSQL 10?

Поиск
Список
Период
Сортировка
От Guyren Howe
Тема Re: Columnar store as default for PostgreSQL 10?
Дата
Msg-id 150DE4FD-6048-4207-BC2D-F904466A7EE8@gmail.com
обсуждение исходный текст
Ответ на Re: Columnar store as default for PostgreSQL 10?  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
On Apr 22, 2016, at 15:03 , Merlin Moncure <mmoncure@gmail.com> wrote:
>
> On Thu, Apr 21, 2016 at 5:08 AM, Bráulio Bhavamitra <brauliobo@gmail.com> wrote:
>> I'm finally having performance issues with PostgreSQL when doing big
>> analytics queries over almost the entire database of more than 100gb of
>> data.
>>
>> And what I keep reading all over the web is many databases switching to
>> columnar store (RedShift, Cassandra, cstore_fdw, etc) and having great
>> performance on queries in general and giant boosts with big analytics
>> queries.
>>
>> I wonder if there is any plans to move postgresql entirely to a columnar
>> store (or at least make it an option), maybe for version 10?
>>
>> The current extensions are rather limited (types support for example) and
>> require quite some configuration and data migration to work, besides they
>> don't work in services like AWS RDS.
>
> Column stores are better at one case (selecting a few columns from a
> very wide table) and worse at just about every other case.  Also,
> beware database benchmarks -- as they say, there is no free lunch
> There is a reason why databases store things in rows.
>
> Analytics in traditional postgres tables is definitely possible, but
> you have to be smart.

There are tradeoffs; a column store is faster at queries that select a subset of columns. The *big* tradeoff is that
inserttime increases linearly with the number of columns. Queries that pull a large subset of the columns can also be
slower.

I would quite like to set a table to columnar in Postgres, but really you can achieve much the same thing with multiple
tablesin a 1:1 relationship, so I don't think this would be worth putting much effort into. 



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Columnar store as default for PostgreSQL 10?
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Fwd: Process scheduling in postgres