Partitioning and constraint exclusion
От
Samuel Smith
Тема
Partitioning and constraint exclusion
Дата
Msg-id
54F696A8.3040406@net153.net
Список
Дерево обсуждения
Partitioning and constraint exclusion Samuel Smith <pgsql@net153.net>
Re: Partitioning and constraint exclusion David G Johnston <david.g.johnston@gmail.com>
Re: Partitioning and constraint exclusion Samuel Smith <pgsql@net153.net>
Re: Partitioning and constraint exclusion Stephen Frost <sfrost@snowman.net>
Re: Partitioning and constraint exclusion Stephen Frost <sfrost@snowman.net>
Howdy, I spent a majority of today playing around with pg_partman (awesome tool btw!). I am mainly using the time-static method with an interval of one month. I wanted to see what performance improvements I could get with some common queries that are used by our analytics team. A lot of these queries summarize data by day or by month. Our largest database gets 10+ million rows a day to several different tables (each). I played around with a subset of the data spread across about 6 months (about 10 million rows total). I noticed that I could get very nice partition elimination using constant values in the where clause. Ex: select * from
В списке pgsql-general по дате отправления
От: Roxanne Reid-Bennett
Дата: