PostgreSQL database performance and status monitoring

Updated