您的位置:首页 > 数据库

使用pg_archivecleanup清理归档

2017-12-22 18:06 232 查看
官网用法:

https://www.postgresql.org/docs/9.5/static/pgarchivecleanup.html

用法简介:

-rw-------. 1 postgres postgres 16777216 Dec 20 06:59 000000050000011200000045
-rw-------. 1 postgres postgres      167 Dec 13 15:52 00000005.history
[postgres@sds1 archivedir]$ pg_archivecleanup ./ 000000050000011200000045// 会删除所有早于000000050000011200000045的归档日志
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  postgresql 删除归档