Manifest Academy

Home › Curriculum › Technical Foundations › PostgreSQL administration for Odoo

PostgreSQL and SQL for Odoo · 14 min · PostgreSQL 16

PostgreSQL administration for Odoo

psql, roles, databases, dump and restore, connections, vacuum and the settings that matter for Odoo.

In this lesson

Key points

Real-world example

A server ran out of disk every Friday. Investigation showed a nightly pg_dump of a 40 GB database kept forever, plus a bloated mail_message table. Rotating backups to 14 days off-server and tuning autovacuum on the big tables freed 300 GB.

Questions and answers

Which psql command describes a table?

\d tablename

Where is the filestore by default?

data_dir/filestore/<dbname> (for example ~/.local/share/Odoo/filestore/<db>).

Read the full lesson, worked example and quiz