pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedDeclarative partitioning and materialized views
3+ messages / 3 participants
[nested] [flat]
* Declarative partitioning and materialized views
@ 2020-01-26 00:05 Wells Oliver <wells.oliver@gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Wells Oliver @ 2020-01-26 00:05 UTC (permalink / raw)
To: pgsql-admin
Hey all. Wondering if partitioning a table might help the speed of
refreshing a materialized view that uses that table?
--
Wells Oliver
wells.oliver@gmail.com <wellsoliver@gmail.com>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Declarative partitioning and materialized views
@ 2020-01-26 14:33 Fabrízio de Royes Mello <fabrizio@timbira.com.br>
parent: Wells Oliver <wells.oliver@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Fabrízio de Royes Mello @ 2020-01-26 14:33 UTC (permalink / raw)
To: Wells Oliver <wells.oliver@gmail.com>; +Cc: pgsql-admin
Em sáb, 25 de jan de 2020 às 21:06, Wells Oliver <wells.oliver@gmail.com>
escreveu:
> Hey all. Wondering if partitioning a table might help the speed of
> refreshing a materialized view that uses that table?
>
> It depends what filters are you using on the materialized view query.
Regards,
--
Fabrízio de Royes Mello Timbira - http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Declarative partitioning and materialized views
@ 2020-01-27 07:55 Laurenz Albe <laurenz.albe@cybertec.at>
parent: Wells Oliver <wells.oliver@gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Laurenz Albe @ 2020-01-27 07:55 UTC (permalink / raw)
To: Wells Oliver <wells.oliver@gmail.com>; pgsql-admin
On Sat, 2020-01-25 at 16:05 -0800, Wells Oliver wrote:
> Hey all. Wondering if partitioning a table might help the speed of refreshing a materialized view that uses that table?
Probably not, but that depends on the query used to define the view.
If that query becomes faster by partitioning the table, then partitioning will help.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-01-27 07:55 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 00:05 Declarative partitioning and materialized views Wells Oliver <wells.oliver@gmail.com>
2020-01-26 14:33 ` Fabrízio de Royes Mello <fabrizio@timbira.com.br>
2020-01-27 07:55 ` Laurenz Albe <laurenz.albe@cybertec.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox