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
rate=$(psql -tAX -c " SELECT CASE WHEN count(*) > 10 THEN pg_size_pretty((((count(*)-1.0)/count(*))*60*sum(size)/(extract(epoch from (max(ingest_time)-min(ingest_time)))))::bigint) ELSE '17 GB' END FROM (SELECT * FROM ingest WHERE ingest_time >= now() - interval '5 minutes' ORDER BY ingest_time DESC LIMIT 20) ingests")