I am new to the PostgreSQL world. I have an experience in administrating Microsoft SQL Server and Oracle databases.
In SQL Server, we are able to find how much space is actually used in pre-allocated log file. I wonder if we can do the same thing in PostgreSQL?
How can we identify which WAL segments are actually full and which WAL segments are empty?
I am currently using PostgreSQL version 10.