You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "delete from query_results qr where qr.retrieved_at < now()-interval '1 month' and qr.id not in (select q.latest_query_data_id from queries q where q.latest_query_data_id is not null); vacuum analyze verbose query_results;" | psql --host=${HOST} --port=${PORT} ${DATABASE} --no-password --echo-all 1>${OUTPUT} 2>&1