Former-commit-id:bc60b22f00
[formerlyadb779323d
] [formerlybc60b22f00
[formerlyadb779323d
] [formerly3386330894
[formerly 36f4554f8f80812a5ffa0d243fe1a4ad6e330192]]] Former-commit-id:3386330894
Former-commit-id:ccd66c0724
[formerly3926dc20f7
] Former-commit-id:332a74c4de
11 lines
361 B
Bash
11 lines
361 B
Bash
#!/bin/bash
|
|
|
|
|
|
# 1917 Removes old aggregate format/layout
|
|
echo "Removing old stat aggregates"
|
|
rm -rf /awips2/edex/data/utility/common_static/site/*/stats/aggregates
|
|
|
|
# run full vacuum on stats table, code keeps table more stable
|
|
PSQL="/awips2/psql/bin/psql"
|
|
echo "Running full vacuum on stats"
|
|
${PSQL} -U awips -d metadata -c "VACUUM FULL ANALYZE events.stats;"
|