Skip to content

Instantly share code, notes, and snippets.

@sebastianwebber
Created November 30, 2015 19:52
Show Gist options
  • Select an option

  • Save sebastianwebber/9f24927ee8fe03fd1889 to your computer and use it in GitHub Desktop.

Select an option

Save sebastianwebber/9f24927ee8fe03fd1889 to your computer and use it in GitHub Desktop.
Executar Vacuum FULL e Reindex no sistema AvaCorp
#!/bin/bash
PG_HOME="/usr/pgsql-9.3"
${PG_HOME}/vacuumdb -U postgres -d jetclass
${PG_HOME}/reindexdb -U postgres jetclass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment