PostgreSQL pg_controldata utility
Hello Guys, In this post we are going see a utility provided by PostgreSQL to find information about database cluster. If we want know information about PostgreSQL cluster like database block size, catalog information, checkpoint information, WAL segment size, etc. we will use pg_controdata utility. the location of pg_controldata utility will be same as your postgresql installation then bin directory. to execute this utility we have to provide data directory location as parameter. The sample output is attached here. #############################!!! Happy Learning !!!################################