The example below uses the database named netbox so change as needed. It gets a list of the tables in the database and for each one performs a full vacuum and analyze. There is probably a more efficient way to do this from the psql prompt but this is what worked for me: su -… Read more »
Posts Tagged: postgresql
Popular
- ProFTPd CentOS 6: PAM unable to dlopen /lib64/security/pam_stack.so - 17 Comments since April 17th, 2012
- PHP LDAP Search Root of Active Directory - 13 Comments since May 27th, 2008
- Android Tablet: Superpad 8 - 10 Comments since August 17th, 2012
- Reset ntopng admin password - 10 Comments since December 12th, 2013
- Increasing CentOS LVM under VMWare - 10 Comments since August 1st, 2011
- Run Windows MMC as a different user - 9 Comments since February 18th, 2014