Thread: How to clean up pg_xlog on StandBy in Stream Replication?

How to clean up pg_xlog on StandBy in Stream Replication?

From
Александр Кайданник
Date:
Hello

We have a pretty big database, around 8 TB of data.
Then we created a slave (native stream based replication),
after a month of usage directory pg_xlog was 12 TB.
None of all WAL files was deleted since slave was started
pg_archivecleanup as far i understood - for archive, but not for pg_xlog

How to clean it ? 

Thanks