Re: Which postgres process cleans up deprecated datafiles

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

 



Loles <lolesft@xxxxxxxxx> writes:
> What postgres process, or system, identify and delete datafiles that have
> become unassociated? The truncate operation doesn't appear to be.. the
> datafile has existed for some time after the truncate command execution
> finished.

The zero-length file is a placeholder to ensure that that relfilenode
number doesn't get re-used right away.  It'll get cleaned up during
the next checkpoint.

			regards, tom lane





[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux