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 1wYvyK-000dVz-1Y for pgsql-admin@arkaria.postgresql.org; Mon, 15 Jun 2026 01:18:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wYvyJ-009K0M-1G for pgsql-admin@arkaria.postgresql.org; Mon, 15 Jun 2026 01:18:39 +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 1wYvyJ-009K0D-0B for pgsql-admin@lists.postgresql.org; Mon, 15 Jun 2026 01:18:39 +0000 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wYvyH-00000000R22-0C61 for pgsql-admin@lists.postgresql.org; Mon, 15 Jun 2026 01:18:38 +0000 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-5aa624ff3cbso2627663e87.3 for ; Sun, 14 Jun 2026 18:18:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781486315; cv=none; d=google.com; s=arc-20240605; b=QWO32F5ZbKpBsx/YCak5kDJqjZD8IH4oGpe0A18wbv89JJNSuyhkq1FkUd8N2rCo4o /1Y0iSTpANoCpSdTnVbqbFihY+PPMalusRYboPaO2RVlGFOrNNNZ+zlMgGPsOZqXzPVc COBI/3dJyvgdV4PXSW95E3LkH0eHiAHNyGitixKwIAC358/YUZ1Yqx1eR5Erud7Pbf46 ISlMCdefPtnZr3+LVMifMI1NbhS8FYQ3wl7rfUVex+WNJlX8StBvBjXk2Km7p/7iMSwV EASGU8zRXe0M4DMAR+TfBdPIiTsEG9t9McQprlI+4MWn1f+zwC12+fnuj6ft+YDz4uVi O2/A== 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=jFhLjYKFbiDKx2TCWUqYY00QwYrFcG0VeS32m8hf2ms=; fh=w+NdVitGKczCsjwXWKDGhV4AmoWb4l6r06tzxs/Zo9k=; b=U4Ra9wZrkF/r46SY4UDIVlJudSH6VJJiLJkT6yU6HBzjc5n4Gj0by0BPi8wZRiQgWN eoVYsfAQPU4ollsLPkGmBklrxF+86aLQlop5fFI3ptCWtrnaCDeyNtxNwUNuafJcLoLZ O/MpzlWpXO5w4OxfUATlABHIQEbYlQDwJY5MqqNmgc9ATX3gzeJJZTwmc+UTizevYtqH o2CRc4TWRaeMhlrZrxeVFS/u/1P+mW9UCLhU/T2xMOfgf+m4G2bcCZUq7XTIXpIQ98Ty 39fGhxm7fVmX1FlQBIZYEFpXIqo3QMudhMJ5yvs8RhdY4L7vdjkoBWHHNsAdYnyplynr wOAw==; 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=1781486315; x=1782091115; 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=jFhLjYKFbiDKx2TCWUqYY00QwYrFcG0VeS32m8hf2ms=; b=RvK/vEkd4bi/hik62fqo1MmRkc+vUBJVv8VBvFzh9Cw8EIc+rPPxjSkP9lDszjEf1c MF/aN/Hr0wVpkwXguVWtDXp8jWj4McKN4onUDsshONgbG9laidfCmvw2XkNepFgL1pFv 9LSRtr++TBYJuB+gjBQe44e2jmydZiyFyTADLBhu7JPzOnmePMDUoDYJWmZMLvNpwYSd Zc3NnGd7ve6VaB8QelddN5p55/E0VdglNXRHBThMUZ86kCZMmAqr+Dy0MTcXKuY4p5IQ r0hrf51VKlH+fYSTpIwoRlhLQdbbI/0AtpfibzY16O6wymI65nh96y/q6csObY6lCYcP vL4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781486315; x=1782091115; 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=jFhLjYKFbiDKx2TCWUqYY00QwYrFcG0VeS32m8hf2ms=; b=EpaYSpd0cVw4+ciyBOD0QShc2jqFmxYIp8gNuZT0F2YOReA2PmNsHpeAcI3280BrXY TGPptRDmIZWQN7mNDDTGRYJ9eS7hnpCEdK1TojIHamA1z0nJc9mTP+PyXJ/4XCkZku+D +Gj1Qa8vi/uzj1JKd24Z1dCGYjrXlbt9DlLOrSYe8ZfmzyVswkB2I6Emg9IIvqCVyPn5 JA5ZNjXvVBUKVmhkt2D/rOah8v4C75Ppd3bLRP70ab6FwJuv1/5LJnf+yVp7XCgnaSK9 8Kv1g5Aq+Cjm0YEJH5RdPiEfBeE3LJNygBF3ZhKni23WSs5icn1hu+MFD1D+QNOFI9f3 pDfQ== X-Gm-Message-State: AOJu0YxkLOL2rofeuJaJ9uZoWhtFGnDJ1bsZ6Jj2b32lUnDrUcfqU2lJ a1lNpBw8JN6cHJEqtj/RFIwMW+Ji0XLrNM7G80He7PSPKwwrvsxkS0GYg/E04PbyWIT7uEK86UF Dxithig6K3Qy9uYuVv1bbdztaf7QktS0= X-Gm-Gg: Acq92OGTFd/fMQBxVIySyx8nYcec1BZUpo88Y5RHgdHgEqcRhXCJ0kYOH+cqHHCuOVV 9ZZTFy4Oc8Wt9LwlAS2zFngyOZ6TZ96fP9+r7itKED+JH8wjLALvKYVGrI/lqAFt8sG3HB/xVlj TXLzZd5086bEjfF7lLUIiaLSDncOS5Ryfy5+GaiwPTXZ2Y7t42Pk5AIkZjrxxYROL+AxHxN+hh8 lEqaYskh96pimTdJ6tUxUCzz+MAbHS21cI9xChhDx5Wj8orLWibwZvqG0nGaxYuref8OGvJ+r5a B/UsdZMNtGRAZTlFJkvCyEDZ9r2G3i2UeLk3qSjL X-Received: by 2002:a05:6512:1545:10b0:5aa:6cfc:771e with SMTP id 2adb3069b0e04-5ad2db2c4c7mr2206257e87.2.1781486315270; Sun, 14 Jun 2026 18:18:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Raj Date: Mon, 15 Jun 2026 06:48:23 +0530 X-Gm-Features: AVVi8CfBWa2i4QMlFY6qNqFPNp9ZRCfkDuAUtwpM8yEYC1dbNRTsRSHG1i7uMNw Message-ID: Subject: Re: Size of /pgdata To: Laurenz Albe Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="000000000000fe77570654409ab7" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000fe77570654409ab7 Content-Type: text/plain; charset="UTF-8" No, I am using the command du -ch 327101* 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? > > Yours, > Laurenz Albe > --000000000000fe77570654409ab7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No, I am using the command du -ch 327101*

On Mon, 15 Jun 2026, 01:00 Laurenz Albe, <laurenz.albe@cybertec.at> wrote:
On Sat, 2026-06-13 at 12:18 +0530, Raj wrote:
> I took one big sample table which is 73GB, and using relfilenode(32768= 3) I tried finding the
> underlying file size du -sh 327683*=C2=A0 and able to find the total s= ize 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 73= GB,
=C2=A0 it should consist of 327683, 327683.1, 327683.2, ..., 327683.72.
=C2=A0 Check what additional files there are.

- Extra files can be left behind after a crash.=C2=A0 Were there any?

Yours,
Laurenz Albe
--000000000000fe77570654409ab7--