Summary
Use this procedure if the database becomes too large or corrupted.
Details
Execute the following scripts accordingly:
The procedure creates a fresh database causing you to lose all previous information such as logs and policies.
- cleanup-postgres-env.sh
This script removes the database. - setup-postgres-env.sh
This script recreates the database.
You may also refer to the PostgreSQL DB Administration Guide for other ways to query or administer the database.