From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Wells Oliver <wells.oliver@gmail.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Declarative partitioning and materialized views
Date: Mon, 27 Jan 2020 08:55:10 +0100
Message-ID: <8025740856ba14e672f21f8b89eaf705ca87428c.camel@cybertec.at> (raw)
In-Reply-To: <CAOC+FBW=Bc5u6vUHUKfpdBm4dqDcaNr3nXgBEawU6E9KkaLeEQ@mail.gmail.com>
References: <CAOC+FBW=Bc5u6vUHUKfpdBm4dqDcaNr3nXgBEawU6E9KkaLeEQ@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, wells.oliver@gmail.com
Subject: Re: Declarative partitioning and materialized views
In-Reply-To: <8025740856ba14e672f21f8b89eaf705ca87428c.camel@cybertec.at>
References: <CAOC+FBW=Bc5u6vUHUKfpdBm4dqDcaNr3nXgBEawU6E9KkaLeEQ@mail.gmail.com> <8025740856ba14e672f21f8b89eaf705ca87428c.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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