Skip to content

Operations_Database

Nat Burgwyn edited this page Jan 24, 2019 · 2 revisions

Database

TalentMAP uses PostgreSQL 9.6 as it's data store.

Configuration

There are two specific files that require configuration.

pg_hba.conf - this file is where user access is configured

postgres.sql - the core configuration for there server. The IP binding is for listening is defined here.

Operating Services

Check DB Status

service postgres-9.6 status

Restart DB

service postgres-9.6 restart

Stop DB

service postgres-9.6 stop

Maintenance

Changing a user's password

It is a good practice to periodically rotate passwords. This is can be completed by,

ALTER ROLE app_user WITH PASSWORD 'password';

where app_user is the account. PostgreSQL documentation

Clone this wiki locally