RE: vacuumlo

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

 



Morning.

 

Thanks for all the replies.

 

What I did to remove these files was to backup of the DB, drop the DB and then I restored the DB.

 

Regards

Ian

 

 

From: Guillaume Lelarge <guillaume@xxxxxxxxxxxx>
Sent: Thursday, 02 September 2021 09:33
To: Atul Kumar <akumar14871@xxxxxxxxx>
Cc: Laurenz Albe <laurenz.albe@xxxxxxxxxxx>; Ian Dauncey <Ian.Dauncey@xxxxxxxxxxxxxx>; pgsql-admin@xxxxxxxxxxxxxxxxxxxx
Subject: Re: vacuumlo

 

External email - treat with caution

Le jeu. 2 sept. 2021 à 07:11, Atul Kumar <akumar14871@xxxxxxxxx> a écrit :

Hi,

 

Don’t you think it as a drawback of postgres that such temporary files don’t get deleted automatically once the transaction gets committed or rolled back .

 

 

They are automatically removed in case of a proper commit or rollback. They aren't in case of a crash.

 

Could you suggest a good permanent solution for such case.

 

 

You should try https://github.com/bdrouvot/pg_orphaned to find the list of orphaned files. It does a pretty good job at it.



--

Guillaume.



Disclaimer

The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast, a leader in email security and cyber resilience. Mimecast integrates email defenses with brand protection, security awareness training, web security, compliance and other essential capabilities. Mimecast helps protect large and small organizations from malicious activity, human error and technology failure; and to lead the movement toward building a more resilient world. To find out more, visit our website.


[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