Skip to main content

ArchiveCleanupCommand

Short Description

Waiting for archive_cleanup_command to complete

Additional Information​

Waiting for the shell command specified in **archive_cleanup_command** to complete. This is optionally triggered when a WAL segment is archived.

How to reduce this wait​

Ensure the archiving script is efficient as possible and that system CPU and IO resources are capable of coping with the archiving load.

PostgreSQL Docs - archive_cleanup_command

PostgreSQL docs - The Statistics Collector

PostgreSQL docs - pg_stat_activity

Search online​

If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.