create table schedule (ID int not null primary key,command text);create table schedule_detail(schedule_ID int not null references schedule(ID),sd_minute smallint not null,sd_hour smallint not null,sd_day smallint not null,sd_month smallint not null,sd_year smallint not null,sd_dayofweek smallint not null);
我只有架构设计.我想了解如何实现这一点.特别是,如何实现:
>计划表的“定期轮询”
>如何确定要运行的计划
postgresql是否具有我可以构建的任何本机(内置)功能来实现此行为?
pgAgent将完成这项工作.完整的设置可以在 Postgresonline.com找到. 总结以上是内存溢出为你收集整理的从postgresql数据库定期运行查询(ala crontab)全部内容,希望文章能够帮你解决从postgresql数据库定期运行查询(ala crontab)所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)