Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ivzEy-0001WJ-H2 for pgsql-admin@arkaria.postgresql.org; Mon, 27 Jan 2020 07:55:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ivzEx-00083S-0X for pgsql-admin@arkaria.postgresql.org; Mon, 27 Jan 2020 07:55:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ivzEw-00083L-JR for pgsql-admin@lists.postgresql.org; Mon, 27 Jan 2020 07:55:22 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ivzEn-0002sd-N3 for pgsql-admin@postgresql.org; Mon, 27 Jan 2020 07:55:21 +0000 Received: by mail-wm1-x32d.google.com with SMTP id s10so2191007wmh.3 for ; Sun, 26 Jan 2020 23:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=O7mwncVSeR9X8bBa0xcLDJGQtYBKN71v2aw7Vl/SHhE=; b=z8W3wXNhFAXJ+d8H8qzkqaN1SFhtuLY9RJ6H918BgNcb4zhhpYNPoZe7Dtuc5k1zJx G7+BXcA+Ja14M31WhGCIdYnoaHe1Quqy3CsRj8bH0YS+Vew+dZuw3AfWXMwfGY7k/Iih VgZRDcuqTKa+oMPvGg6GZmyy0jtWbkHIXDcntaBv5pDZPCi4lrX6Wd3tvSpiKgwNUZkv tKzFXWF+gDVgw5ybik4LMC++DxhPLA1R6zCuhAC6u94Cdjgt+/RnnIxpm6u5/bP1bzfO h/HYhLEnRakRQR3J5lYN8gdgPp3dJG1QVm0H6Mv6uZak8RZjIuY6WUHMfZ72rYWMdcsU lo4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=O7mwncVSeR9X8bBa0xcLDJGQtYBKN71v2aw7Vl/SHhE=; b=hk6ZMFoZW1Px7hVFBHjrEDkKs3fX/A3FvtLIpeDxdB5VpRafJhGXZxU2Q7TI+lJeNy B6RUZOckwsEjlIx+GXvikdyLhiISpZe97UU3selqGxjMupZ3fuZj01LUajXOpGlZzSCU i5wicb+ujBpbhB038/dIEZY03XZ9G2i5ELKv62EAKePCUO+wde6+h4/yy9/zllIQQ0Gd 2g+kH80661CsxiWGidmaPUVUTO+GBBV6x16fMcQQTnpSUASC679q6j2tXHtkROJt6TRg rcNo2VjA1Md0BGHVLY2ABSSMmZ8ppoPwUj70G2ouShRNcNN3XI03TpgcCbVdJrjvS8Kf xRVw== X-Gm-Message-State: APjAAAVDH13W8u7U3AZ7oOKAr/Aeo6RQiuevvDY4AWpsk6o8zTMVf4b1 BNEtj+v6PUBztF3E3i9CMEZUsw== X-Google-Smtp-Source: APXvYqxrwXfy8GMWpQS7CSifpH3s19FgAfwrwrC+2EGFhjk6SS4AMD7vzjSXjD5BKAgOcpVvyxZaOg== X-Received: by 2002:a1c:3803:: with SMTP id f3mr12629774wma.134.1580111711957; Sun, 26 Jan 2020 23:55:11 -0800 (PST) Received: from localhost.localdomain ([212.186.219.234]) by smtp.gmail.com with ESMTPSA id u16sm17331526wmj.41.2020.01.26.23.55.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jan 2020 23:55:11 -0800 (PST) Message-ID: <8025740856ba14e672f21f8b89eaf705ca87428c.camel@cybertec.at> Subject: Re: Declarative partitioning and materialized views From: Laurenz Albe To: Wells Oliver , pgsql-admin Date: Mon, 27 Jan 2020 08:55:10 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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