Revision 8924
Added by Jing Tao about 10 years ago
src/scripts/bash/vacuum-db.sh | ||
---|---|---|
5 | 5 |
echo "start to vacuum the db at" >> /tmp/vacuumdb.out |
6 | 6 |
echo `date` >> /tmp/vacuumdb.out |
7 | 7 |
su - postgres /usr/lib/postgresql/$DB_VERSION/bin/vacuumdb --all >> /tmp/vacuumdb.out 2> /tmp/vacuumdb.err < /dev/null |
8 |
echo "start to vacuum the db at " >> /tmp/vacuumdb.out
|
|
8 |
echo "end to vacuum the db at " >> /tmp/vacuumdb.out
|
|
9 | 9 |
echo `date` >> /tmp/vacuumdb.out |
Also available in: Unified diff
Fixed a typo.