Last active
April 2, 2024 10:31
-
-
Save k-caps/27f9e4f3504a974ee14bb8f8762f68ef to your computer and use it in GitHub Desktop.
pg agent vs pg cron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_cron | pgAGent | ||
---|---|---|---|
GUI | no | yes | |
CLI | yes | no | |
Complex scheduling | Standard crontab; one cron entry per execution (of command [sql or plpgsql] or.sql file | Multiple steps per entry; multiple schedules for the same step without duplicating it | |
Requires extra software | extension in shared_preload_libraries; installed via yum or similar | pgAdmin is required to manage jobs; installed via yum or similar; runs as a separate daemon | |
Runs inside the database | yes | Jobs are stored in the database but are managed externally via pgAdmin; scheduling is run via the external daemon | |
Can be run without sSQL knowledge | no | yes | |
Requires Postgres cluster restart | yes | no |
Thanks for the brief comparison...
Thank you for making it easy to understand
Clear, thank you
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for sharing!