Skip to content

Instantly share code, notes, and snippets.

@vahanNasibyan
Last active April 13, 2018 11:23
Show Gist options
  • Save vahanNasibyan/2ab6e3b699f514f7747c34c3659fb998 to your computer and use it in GitHub Desktop.
Save vahanNasibyan/2ab6e3b699f514f7747c34c3659fb998 to your computer and use it in GitHub Desktop.
##Full vacuum of postgres daatabase
#docs https://www.postgresql.org/docs/9.5/static/app-vacuumdb.html
/usr/local/bin/vacuumdb -h [postgres_server_host] -U [username] -d [database] -fze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment