Is there a way to check PostgreSQL database(s) integrity and consistency? I know about SQL Server DBCC CHECKDB
and wonder if there is something similar to PostgreSQL.
Is there a way to check PostgreSQL database(s) integrity and consistency? I know about SQL Server DBCC CHECKDB
and wonder if there is something similar to PostgreSQL.
In 12 version of pgsql, there is pg_checksums.
What do you really want to achieve?
The database itself guarantees its integrity. You do not need tools to fiddle with.
There exists a tool named
pgcheck
that checks the integrity of data files: