I am using postgresql database cluster. I have an issue with low disk space. After investigation I found it is happen due to WAL file.
Due to WAL file my disc space reduce dramatically. Now I need to free up some space without loosing any data or corruption in PostgreSQL. To free up space I need to remove WAL file.
In my cluster has 2 standby nodes and one primary node. So that, without interruption I need to do something to free some space.
What are the recommended steps need to follow to remove WAL file without any interruption in my PostgreSQL cluster?