Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k4zG4-0002wd-Av for pgsql-general@arkaria.postgresql.org; Mon, 10 Aug 2020 04:18:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k4zG3-0006DN-8W for pgsql-general@arkaria.postgresql.org; Mon, 10 Aug 2020 04:17:59 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k4zG2-00061O-Uq for pgsql-general@lists.postgresql.org; Mon, 10 Aug 2020 04:17:59 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k4zG0-0002Ed-Lv for pgsql-general@postgresql.org; Mon, 10 Aug 2020 04:17:57 +0000 Received: by mail-pg1-x543.google.com with SMTP id h12so4161882pgm.7 for ; Sun, 09 Aug 2020 21:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=ww71QRNozQc2VWW2e4Y30/jW6q0w0Xz0lW8iYmXD/Pc=; b=CSPfISnouv0dDZeJfBiTjZEDWYFTr5NqS3/CqDs4zTublHza/oIFqf1san6V7jFlma sG0qA0VRXtZFeqTe6cDgiHUt7Heoik8IB+eaaLG3DQ6SrHXPWMPJq3DM88w7k54PuLv8 YukHOKFzfOECKa63RqddmjkPdlA20GkgjYcZV1bzk8QOl0PFSiIGd/R6ap3heYQYFqZq j8EjU6zPz8IEZLhNx9SPJ4Iho9Tc2C90CgRO8SKRwRGvpZBXFmlv0n1XaoKCT3Xyi8rv emdIxH1Bvy6i8Fd9Jku1MtBBca2QAZzOw2pbRLZmtiLPincDJluSH7xhUaIcGKqamhUm i4vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=ww71QRNozQc2VWW2e4Y30/jW6q0w0Xz0lW8iYmXD/Pc=; b=ABT2SzjN62j3dy8Vjc/j0cLIDdU6TVjXlYebkUuPs1rkKtU8sWD5u196tSI7/cjMqt LFYd00CLLlmqSiq2e9jS5lHFI23oU3HQbYScMXENfEYlFDYxc9T4a8sjgLu8WF0aMc84 F1jDvKjHAx2Tf3mRm+SfmppDY8I7h16cfuGXKWBUbTNFRtjysF/B9oOwAIKAtAvZb9qu 8x9vcd+VY4tpq0sDamJTLAWWMcSaLtzMV2BqRpXso/xy6jqhdEa3Bqets+cjM+a5FjpG vZGIREo2iuDfuRovURgEeLVZI+awVFSDbKrgsZmf/oxLvyzuFomu6IRnsIPzxxpWuZUh lh+Q== X-Gm-Message-State: AOAM533J432BsurmYsXlJ0zNREAzM12PYQrQAL6KZWVEqXVhgnxe1C8p tqNpoDB60ZCUOgriMIh5em0NIuCU5kE= X-Google-Smtp-Source: ABdhPJxylvRwPbTwW1RrAEt+XWCbvRhBMpmV9Y4FFUb4SkW6Cj+N2wxJ9WvpJXUOIH5gbwTx7XAKrg== X-Received: by 2002:a62:7c87:: with SMTP id x129mr25099751pfc.165.1597033075184; Sun, 09 Aug 2020 21:17:55 -0700 (PDT) Received: from ?IPv6:2601:681:5500:dde0:9934:bbaf:c09a:236? ([2601:681:5500:dde0:9934:bbaf:c09a:236]) by smtp.gmail.com with ESMTPSA id t25sm16993734pfe.51.2020.08.09.21.17.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Aug 2020 21:17:54 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Rob Sargent Mime-Version: 1.0 (1.0) Subject: Re: Need a depth information about bloat Date: Sun, 9 Aug 2020 22:17:53 -0600 Message-Id: References: Cc: Postgres General In-Reply-To: To: Rama Krishnan X-Mailer: iPhone Mail (17G68) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Aug 9, 2020, at 9:01 PM, Rama Krishnan wrote: >=20 > =EF=BB=BF > Hi Mentors,=20 >=20 >=20 > I am searching for an understanding of bloat in PostgreSQL >=20 > What is bloat? >=20 > How does it work? >=20 > What is the use of bloat? >=20 > Limitations of bloat? >=20 > Thanks >=20 > Rama Krishnan Bloat is not a feature of postgreSQL, it=E2=80=99s a consequence. It has no r= edeeming value. Updates to tuples generally cause a new tuples to be constructed and the ori= ginal to be marked as disposable. It is the job of the vacuum process to rid= the table of this record. Until this happens the marked record as part of t= he bloat for that table.=20=