Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sIWq8-00GG3E-Hz for pgsql-general@arkaria.postgresql.org; Sat, 15 Jun 2024 17:05:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sIWq4-00FSN5-Nr for pgsql-general@arkaria.postgresql.org; Sat, 15 Jun 2024 17:05:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sIWq4-00FSKW-AG for pgsql-general@lists.postgresql.org; Sat, 15 Jun 2024 17:05:17 +0000 Received: from mail-oa1-x2e.google.com ([2001:4860:4864:20::2e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sIWpy-001T2d-CR for pgsql-general@postgresql.org; Sat, 15 Jun 2024 17:05:15 +0000 Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-254c56efe06so1570285fac.2 for ; Sat, 15 Jun 2024 10:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718471109; x=1719075909; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=M4kBzcIgbxOAbUK5m6evne7QNKuGePhOXM05uVtS75c=; b=cgJSKk2aqj77MsEliLo3+wYhLtFFQhsG241IzA4ThNaqcvFEOZM5jhO3wNhsNEdcGA +CcHJG44dOxYU2XxaKJAard7Zi0URMZ6Cu6/2Y3+UHWLMXUTf6oCiDOJUAm42gGxHgqC mdy/6m6heXJwQ9hknZatWqhLfi3dwoLjtFX5R8iThTgq1uOSzRWhqS+rk1eKs36SH9xd GTA0Wh5IA6nLSViOvMbPXvBYGuTdzKQeupZkCn6MS7liCie0eFjhed0cWXwjZpvAe0dI jGtovcHJ/VacCWW1kTeZcwg4jS1zN4Zzcsk7MDgWhnPSBtl5uiG74WwyumI9i3QrAIhe 7waA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718471109; x=1719075909; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M4kBzcIgbxOAbUK5m6evne7QNKuGePhOXM05uVtS75c=; b=pzSOfe2954m2aRFn7eqJ73F0A9BJa5YL3exy8ydkOHTLygJl7Vomtv/siXAuWCXmas pKvY/YudfeQeLuJXWNCfxKQYEWN8oJ7ZQQIRUk7XXMY7DB7cMOj/JW9k5u0fLaAYD4iX xfXq03dZErmx7qnsZ/76Zl8jFkaumnK0/5WqDNjlDoM04X+CHyZjfOLGpt6PdR0W0dkb g8/5i21sQEIf0j9ccpiLZhKQFz6185EHyW9zaCtoKm532tqG0cakHsreYOEKxVmN3TyF 73IJoNpiD+Pjrd3UVA3QSca8wWq3sW/S4DxuZNZiBIHF6/zKpsoA6+69fyFj2hbsDQC8 KjKQ== X-Gm-Message-State: AOJu0Yz1deWXO2KZTQsWrdtW+ykdbD1LVKHcNX7Jlfwz5Z3Kei0Oq3JH 2u3LbAWuCJl+VlYdxl6Dke/GjV3mhCfEJQFPMXx5yzNfvD0HQWQuTAwbSnUGw5HyR4UQq4HgTi0 7/2ELW7H9H+dTLKyi9OTFs7bcvGj1Wg== X-Google-Smtp-Source: AGHT+IEe32RLOmX9oCcBfZtMqeVIcXaoYMOfhqcCJaC4/e5/8e93W2TEpdW0D8x6+jAWVB93zyVPRx3bF5Un2V3dDGM= X-Received: by 2002:a05:6870:a11d:b0:22e:8408:a98f with SMTP id 586e51a60fabf-25842b1e8f2mr6611728fac.36.1718471108992; Sat, 15 Jun 2024 10:05:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Sat, 15 Jun 2024 13:04:58 -0400 Message-ID: Subject: Re: pgstattuple - can it/does it provide stats by partition? To: "pgsql-general@postgresql.org" Content-Type: multipart/alternative; boundary="0000000000000226a6061af0bcf7" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000000226a6061af0bcf7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 15, 2024 at 9:47=E2=80=AFAM Dragam wrot= e: > Hi all, > > As the title says - does (and/or can) pgstattuple provide a breakdown by > partition? > > Partitions are tables, created via CREATE TABLE. I know from experience that it works on inheritance tables; what happens when you try pgstattuple() on a small test partition? --0000000000000226a6061af0bcf7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Jun 15, 2024 at 9:47=E2=80=AFAM D= ragam <dragam@protonmail.com> wrote:

Partitions are tables,= created via CREATE TABLE.=C2=A0 I know from experience that it works on in= heritance tables; what happens when you try pgstattuple() on a small test p= artition?

--0000000000000226a6061af0bcf7--