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
The cron.job_run_details table can get big and queries on it can get noticeably slower.
I propose to add indexes to speed up queries.
1 - An index on jobid column (ideally jobid, start_time to be able to order or filter by time). Without index on jobid queries get slow when it is necessary to analyze or check status or logs for specific job.
2 - An index on end_time column. Without such index the recommended clean up query gets slow.
What do you think? Did you consider adding indexes to cron.job_run_details?
Activity
olirice commentedon Dec 16, 2025
hi ibrahim halatci (@ihalatci)
would a PR for this one be considered?