Need a depth information about bloat

Started by Rama Krishnanover 5 years ago5 messagesgeneral
Jump to latest
#1Rama Krishnan
raghuldrag@gmail.com

Hi Mentors,

I am searching for an understanding of bloat in PostgreSQL

What is bloat?

How does it work?

What is the use of bloat?

Limitations of bloat?

Thanks

Rama Krishnan

#2Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Rama Krishnan (#1)
Re: Need a depth information about bloat

On 8/9/20 8:01 PM, Rama Krishnan wrote:

Hi Mentors,

I am searching for an understanding of bloat in PostgreSQL

What is bloat?

How does it work?

What is the use of bloat?

Limitations of bloat?

Read this section of the docs:

https://www.postgresql.org/docs/12/routine-vacuuming.html

and if you still have questions then come back with them.

Thanks

Rama Krishnan

--
Adrian Klaver
adrian.klaver@aklaver.com

#3Rob Sargent
robjsargent@gmail.com
In reply to: Rama Krishnan (#1)
Re: Need a depth information about bloat

On Aug 9, 2020, at 9:01 PM, Rama Krishnan <raghuldrag@gmail.com> wrote:


Hi Mentors,

I am searching for an understanding of bloat in PostgreSQL

What is bloat?

How does it work?

What is the use of bloat?

Limitations of bloat?

Thanks

Rama Krishnan

Bloat is not a feature of postgreSQL, it’s a consequence. It has no redeeming value.
Updates to tuples generally cause a new tuples to be constructed and the original 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 the bloat for that table.

#4Rama Krishnan
raghuldrag@gmail.com
In reply to: Rob Sargent (#3)
Re: Need a depth information about bloat

Thank you for the clarification brother 😊👌

On Mon, 10 Aug, 2020, 09:47 Rob Sargent, <robjsargent@gmail.com> wrote:

Show quoted text

On Aug 9, 2020, at 9:01 PM, Rama Krishnan <raghuldrag@gmail.com> wrote:


Hi Mentors,

I am searching for an understanding of bloat in PostgreSQL

What is bloat?

How does it work?

What is the use of bloat?

Limitations of bloat?

Thanks

Rama Krishnan

Bloat is not a feature of postgreSQL, it’s a consequence. It has no
redeeming value.
Updates to tuples generally cause a new tuples to be constructed and the
original 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 the bloat for that table.

#5Rama Krishnan
raghuldrag@gmail.com
In reply to: Adrian Klaver (#2)
Re: Need a depth information about bloat

Thanks for your reply brother 😊✌

On Mon, 10 Aug, 2020, 09:47 Adrian Klaver, <adrian.klaver@aklaver.com>
wrote:

Show quoted text

On 8/9/20 8:01 PM, Rama Krishnan wrote:

Hi Mentors,

I am searching for an understanding of bloat in PostgreSQL

What is bloat?

How does it work?

What is the use of bloat?

Limitations of bloat?

Read this section of the docs:

https://www.postgresql.org/docs/12/routine-vacuuming.html

and if you still have questions then come back with them.

Thanks

Rama Krishnan

--
Adrian Klaver
adrian.klaver@aklaver.com