Skip to main content


Short Description

Waiting for archive_command to complete

Additional Information

Waiting for the shell command specified in archive_command to complete. This is 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_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.