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.96) (envelope-from ) id 1wZ399-000jSZ-2h for pgsql-admin@arkaria.postgresql.org; Mon, 15 Jun 2026 08:58:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZ398-00Algl-2G for pgsql-admin@arkaria.postgresql.org; Mon, 15 Jun 2026 08:58:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wZ398-00Algd-12 for pgsql-admin@lists.postgresql.org; Mon, 15 Jun 2026 08:58:18 +0000 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZ396-00000000UAU-1OGA for pgsql-admin@lists.postgresql.org; Mon, 15 Jun 2026 08:58:18 +0000 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-399389dae7fso15816951fa.0 for ; Mon, 15 Jun 2026 01:58:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781513894; cv=none; d=google.com; s=arc-20240605; b=AvhyHcUrllzBIlye9W67eJ9UebgBra4f1V1RjSNeU0DxsFPwYCGsbeGyizKD/Z3TxS xfQyt0MjMGuagWqVvfu+XYkjYAaiPjIx6oZLsTv+XHWyldASda/awrB/CzPi7PuTvmQW xvB5cmS01TPnEsiliiM5HNkiqxcpknIKLKu2LATDNAghS8t8wKfGYjSa0N7G/5Ua7V5W edrxBAS1qh90r2AT1HOJpxznzsObkSIMrkvY435xRQ7FkR1xqt4CepfMopgmvNbqq1uI wFyT7W/kcBHSPJK3Xqw0K+aKOJUjfjedy+xK0n/BPP2Lp6HBki74jxuQwXyBz30ETlEp RioA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Dqd1jl1hsvtuAQ9hq8mUe8XBT/uI8T6tKgeAwVy0hC8=; fh=w+NdVitGKczCsjwXWKDGhV4AmoWb4l6r06tzxs/Zo9k=; b=B7MJw9TRcp0yFIGrUiItwMHDIcw6Jv1pBmZuc5oMcLIOa84kNCPpuH0Sj3ysYQeBm8 Zd2rKrIpcwGmMP34TagtGJVLpRqNWbkypcOjyzhA+TKnuC4OKlg40Qzpv5AjzukmBv9c fhEg7aFHJAWy6WbV6lflggnAtF6sAJyyJbGiGPa2R9w9t5LMxToofBnKbDzS7V9KPAD7 Bz+dDjucCQOaFTJKb4aQ75pqMSMCOSMgLFnfjupjkrXq00hYmU5ilxtimSfN4NDxJVJZ RFr6fJ95BD1PAOAS/2AUDBQjowvsMdGadmfp4pSMsLCJV6x23BJSotHhyLO+Btmd/HQN N/hw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781513894; x=1782118694; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Dqd1jl1hsvtuAQ9hq8mUe8XBT/uI8T6tKgeAwVy0hC8=; b=JTyUQlWt4YweFQrTV7qYBAPrbqwnTcY0HTFZsdrKsswKdfal0N/6mdo/4L8qH9dTs8 CYR72OzROHL/QrXVp7m017qFrNdwcM7zOX5cioKyvl28DIGllPIf/uJ/6CgVuTAMakBT dTDh7RMBZFto+ailPNoF94fOuEHO4WbOk4InNCDynruCcScxzzF1Jx9FsdHWKSZVety/ zpbI5yTd2yLB47+PFYUMjN/CIAoc9zmQ/U4vXryptOcrP/nKSRNM0Vw6L6JUq1i5QbFn 6yMELhTiw+2hidQWUJfJ1/hAdMLYsj8wbuouWoeCoc6rzHMe3Yn+pheupdb1R2+tSgEu HClg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781513894; x=1782118694; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Dqd1jl1hsvtuAQ9hq8mUe8XBT/uI8T6tKgeAwVy0hC8=; b=mHZh9q+R0hsux6thIkJYmjl6rftu85Qks9wEVtWrAt5u+Gxz+9c9hSAPXj0uJh7cBw OhDlAcwr9er5x2D8DJOSN21k4HAb8MDiCSqK86bvyc2hsfbY2qWXepTncJPCdn26I8xL PbL1HTvHd1jSYjdnb411eDzsRq47SWSdvt9ElNdKyo199Xy0NeMnAjdUULDhaG9TpYB9 c7fD7Qq19GRAw+5HKKc6wQd885gVPOwtWNovCHZAlm81+L+TkTVG7sPtyFbsB7CGwZM7 d0J1TKC458M+zaEkiPn9WPfpHR6vfEiSk1C2r2meESubABYp6AJlgEV+K02hK0SswboC 9aUQ== X-Gm-Message-State: AOJu0YxcOA/Y9cmnYrfcTzO/HAG0uhyF+FtYFpWZamKkJXn2qlAaQC8A voNk5BeeOzu1Skr+wGdDwg6jGP8oIvXqy1aw/eXBXjfhz6kW9olWYrZuy4R/jQw1PttjWWvSM03 99yufV8tH7dqeWHYkuHPDl4gejYkfOgs= X-Gm-Gg: Acq92OEersF+U1bWTPbwqWtHxR3SAehH+yz8Nk1uN9sQWSjavQ2ZJel3A/SMjEZ6wbX K6lyy0d5+EnP4vzwgZ6ouT1sTAJmtSUySqs/EcB0aW8LlvBjG1OIq0kEKK1LLJBVSY7TfxZlDnF X8lHCKyUQ7w4+NnZH2pp3ZapiBbo+gQijK1s/CcRJP+O0hbfPmxzOhqrvaIRzdxyjc/Jk1qqxNq NrhulwC1N9VgIcLEIhopbZAcLwCNDbgOLfz0p92cWYKoSuQtJXFeErqDYVqFbrErN4UCXl2IXnx HBJWjwLiDp0zuQ8XPqOjYiWh8mRDBTu27r9wFACPqA== X-Received: by 2002:a05:651c:b12:b0:399:3765:b084 with SMTP id 38308e7fff4ca-3993765c81fmr21276671fa.7.1781513893466; Mon, 15 Jun 2026 01:58:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Raj Date: Mon, 15 Jun 2026 14:28:01 +0530 X-Gm-Features: AVVi8CfpppsMsl6MtjNXHebl2uctKKXFaqz_uBqbU6PGn2zXoPhyPfZG-nccWxw Message-ID: Subject: Re: Size of /pgdata To: Laurenz Albe Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000c854f10654470669" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c854f10654470669 Content-Type: text/plain; charset="UTF-8" The command du -ch 327101* picks all files 327202, 327101.1, 327101.2 .......and give each of them sizes and also total size of all files listed as u see in my earlier screenshot On Mon, 15 Jun 2026, 11:47 Laurenz Albe, wrote: > On Mon, 2026-06-15 at 06:48 +0530, Raj wrote: > > On Mon, 15 Jun 2026, 01:00 Laurenz Albe, > wrote: > > > On Sat, 2026-06-13 at 12:18 +0530, Raj wrote: > > > > I took one big sample table which is 73GB, and using > relfilenode(327683) I tried finding the > > > > underlying file size du -sh 327683* and able to find the total size > the files occpuing and > > > > found 113gb.......so for one table itself it is 40Gb additional... > > > > > > Investigate more: > > > > > > - Make sure that you don't get files from another filenode like > 3276838. > > > > > > - If the relation (as shown by pg_relation_size('tablename')) is 73GB, > > > it should consist of 327683, 327683.1, 327683.2, ..., 327683.72. > > > Check what additional files there are. > > > > > > - Extra files can be left behind after a crash. Were there any? > > > > No, I am using the command du -ch 327101* > > That reply does not make any sense to me. > > Yours, > Laurenz Albe > --000000000000c854f10654470669 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The command du -ch 327101*=C2=A0 picks all files 327= 202, 327101.1, 327101.2 .......and give each of them sizes and also total s= ize of all files listed as u see in my earlier screenshot

On Mon, 15 Jun 2026, 11:47 Laurenz Albe, <laurenz.albe@cybertec.at> wrote:
On Mon, 2026-06-15 at 06:48 +0530, Raj wrote:
> On Mon, 15 Jun 2026, 01:00 Laurenz Albe, <laurenz.albe@cybert= ec.at> wrote:
> > On Sat, 2026-06-13 at 12:18 +0530, Raj wrote:
> > > I took one big sample table which is 73GB, and using relfile= node(327683) I tried finding the
> > > underlying file size du -sh 327683*=C2=A0 and able to find t= he total size the files occpuing and
> > > found 113gb.......so for one table itself it is 40Gb additio= nal...
> >
> > Investigate more:
> >
> > - Make sure that you don't get files from another filenode li= ke 3276838.
> >
> > - If the relation (as shown by pg_relation_size('tablename= 9;)) is 73GB,
> > =C2=A0 it should consist of 327683, 327683.1, 327683.2, ..., 3276= 83.72.
> > =C2=A0 Check what additional files there are.
> >
> > - Extra files can be left behind after a crash.=C2=A0 Were there = any?
>
> No, I am using the command du -ch 327101*

That reply does not make any sense to me.

Yours,
Laurenz Albe
--000000000000c854f10654470669--