Search Postgresql Archives

Re: Behaviour when autovacuum is canceled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David,

Thanks a lot for the quick reply. 

I clearly misunderstood the references in the code. 

Best,
Martín

On Thu, Sep 13th, 2018 at 7:55 PM, "David G. Johnston" <david.g.johnston@xxxxxxxxx> wrote:
On Thu, Sep 13, 2018 at 3:45 PM, Martín Fernández <fmartin91@xxxxxxxxx> wrote:
From what I could understand (that can be totally wrong), the vacuum process is split in multiple small transactions. If the autovacuum is canceled, could it be possible that only the latest transaction work be lost 

From the docs:

"VACUUM cannot be executed inside a transaction block."

As it is non-transactional any work it performs is live immediately and irrevocably as it occurs.

David J.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux