Skip to content
Snippets Groups Projects
Commit e1a8e5b6 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds pg instructions.

parent f89ae165
No related branches found
No related tags found
No related merge requests found
# Postgres Operator
## When space if full
https://www.postgresql.fastware.com/blog/how-to-solve-the-problem-if-pg_xlog-is-full
### To prevent full space
```
cd /home/postgres/pgdata
fallocate -l 150M ./to-delete-if-full-1
fallocate -l 150M ./to-delete-if-full-2
```
### check /home/postgres/pgdata/pgroot/data/pg_wal
If it is full, it probably means it couldn't upload wals.
check logs to see if there is an error with backups.
Fix the errors.
Try to delete some logs or other and restart the process.
It should be fine.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment