Re: checkpoint occurs very often when vacuum full running

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>
Cc: Sergei Kornilov <sk(at)zsrv(dot)org>, pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: checkpoint occurs very often when vacuum full running
Date: 2018-11-17 19:28:10
Message-ID: 69cd4eb6a9686eab9319f864db15942ec06fe86c.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

Mariel Cherkassky wrote:
> thank you for the explanation but I still got a few questions about this subject :
> 1.By physical location of the data do you mean the location on disk of the objects?
> I mean i thought that the wal files containing the logical changes , for example
> If I run an update then the wal file will contain the update in some format.
> Can you explain then what exactly it contains and what you meant by physical ?

It does *not* contain the SQL executed - how'd that work with functions like
"random"?

Rather, the information is like "replace the 42 bytes from offset 99 of block 12
in file xy with these bytes: ...".

> 2.So If the vacuum full stopped in some brutal way (kill -9 or the disk run of space)
> does all the new data files that are created deleted or left on the storage as orphan files ?

In an out of space scenario, the files would get removed.

If you kill -9 the backend they will be left behind.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rui DeSousa 2018-11-17 20:47:02 Re: PostgreSQL 10.5 : Logical replication timeout results in PANIC in pg_wal "No space left on device"
Previous Message Mariel Cherkassky 2018-11-17 11:36:21 Re: checkpoint occurs very often when vacuum full running

Browse pgsql-performance by date

  From Date Subject
Next Message Fabio Pardi 2018-11-19 15:38:27 PostgreSQL VS MongoDB: a use case comparison
Previous Message Mariel Cherkassky 2018-11-17 11:36:21 Re: checkpoint occurs very often when vacuum full running