10

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.

FooBar
  • 663

3 Answers3

2

In 12 version of pgsql, there is pg_checksums.

0

What do you really want to achieve?

The database itself guarantees its integrity. You do not need tools to fiddle with.

cstamas
  • 6,917
0

There exists a tool named pgcheck that checks the integrity of data files:

meshy
  • 105
aleroot
  • 3,248