data_cloud_quartz.sql 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. /*
  2. SQLyog Ultimate v12.09 (64 bit)
  3. MySQL - 5.7.37-log : Database - data_cloud_quartz
  4. *********************************************************************
  5. */
  6. /*!40101 SET NAMES utf8 */;
  7. /*!40101 SET SQL_MODE=''*/;
  8. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  9. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  10. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  11. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  12. CREATE DATABASE /*!32312 IF NOT EXISTS*/`data_cloud_quartz` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
  13. USE `data_cloud_quartz`;
  14. /*Table structure for table `qrtz_blob_triggers` */
  15. DROP TABLE IF EXISTS `qrtz_blob_triggers`;
  16. CREATE TABLE `qrtz_blob_triggers` (
  17. `SCHED_NAME` varchar(120) NOT NULL,
  18. `TRIGGER_NAME` varchar(190) NOT NULL,
  19. `TRIGGER_GROUP` varchar(190) NOT NULL,
  20. `BLOB_DATA` blob,
  21. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
  22. KEY `SCHED_NAME` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
  23. CONSTRAINT `qrtz_blob_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`)
  24. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  25. /*Data for the table `qrtz_blob_triggers` */
  26. /*Table structure for table `qrtz_calendars` */
  27. DROP TABLE IF EXISTS `qrtz_calendars`;
  28. CREATE TABLE `qrtz_calendars` (
  29. `SCHED_NAME` varchar(120) NOT NULL,
  30. `CALENDAR_NAME` varchar(190) NOT NULL,
  31. `CALENDAR` blob NOT NULL,
  32. PRIMARY KEY (`SCHED_NAME`,`CALENDAR_NAME`)
  33. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  34. /*Data for the table `qrtz_calendars` */
  35. /*Table structure for table `qrtz_cron_triggers` */
  36. DROP TABLE IF EXISTS `qrtz_cron_triggers`;
  37. CREATE TABLE `qrtz_cron_triggers` (
  38. `SCHED_NAME` varchar(120) NOT NULL,
  39. `TRIGGER_NAME` varchar(190) NOT NULL,
  40. `TRIGGER_GROUP` varchar(190) NOT NULL,
  41. `CRON_EXPRESSION` varchar(120) NOT NULL,
  42. `TIME_ZONE_ID` varchar(80) DEFAULT NULL,
  43. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
  44. CONSTRAINT `qrtz_cron_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`)
  45. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  46. /*Data for the table `qrtz_cron_triggers` */
  47. insert into `qrtz_cron_triggers`(`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`CRON_EXPRESSION`,`TIME_ZONE_ID`) values ('quartzScheduler','__QUARTZ_TASK_KEY__1346347501890191362','DEFAULT','30 * * * * ?','GMT+08:00'),('quartzScheduler','__QUARTZ_TASK_KEY__1346347612309438465','DEFAULT','45 * * * * ?','GMT+08:00');
  48. /*Table structure for table `qrtz_fired_triggers` */
  49. DROP TABLE IF EXISTS `qrtz_fired_triggers`;
  50. CREATE TABLE `qrtz_fired_triggers` (
  51. `SCHED_NAME` varchar(120) NOT NULL,
  52. `ENTRY_ID` varchar(95) NOT NULL,
  53. `TRIGGER_NAME` varchar(190) NOT NULL,
  54. `TRIGGER_GROUP` varchar(190) NOT NULL,
  55. `INSTANCE_NAME` varchar(190) NOT NULL,
  56. `FIRED_TIME` bigint(13) NOT NULL,
  57. `SCHED_TIME` bigint(13) NOT NULL,
  58. `PRIORITY` int(11) NOT NULL,
  59. `STATE` varchar(16) NOT NULL,
  60. `JOB_NAME` varchar(190) DEFAULT NULL,
  61. `JOB_GROUP` varchar(190) DEFAULT NULL,
  62. `IS_NONCONCURRENT` varchar(1) DEFAULT NULL,
  63. `REQUESTS_RECOVERY` varchar(1) DEFAULT NULL,
  64. PRIMARY KEY (`SCHED_NAME`,`ENTRY_ID`),
  65. KEY `IDX_QRTZ_FT_TRIG_INST_NAME` (`SCHED_NAME`,`INSTANCE_NAME`),
  66. KEY `IDX_QRTZ_FT_INST_JOB_REQ_RCVRY` (`SCHED_NAME`,`INSTANCE_NAME`,`REQUESTS_RECOVERY`),
  67. KEY `IDX_QRTZ_FT_J_G` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`),
  68. KEY `IDX_QRTZ_FT_JG` (`SCHED_NAME`,`JOB_GROUP`),
  69. KEY `IDX_QRTZ_FT_T_G` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
  70. KEY `IDX_QRTZ_FT_TG` (`SCHED_NAME`,`TRIGGER_GROUP`)
  71. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  72. /*Data for the table `qrtz_fired_triggers` */
  73. /*Table structure for table `qrtz_job_details` */
  74. DROP TABLE IF EXISTS `qrtz_job_details`;
  75. CREATE TABLE `qrtz_job_details` (
  76. `SCHED_NAME` varchar(120) NOT NULL,
  77. `JOB_NAME` varchar(190) NOT NULL,
  78. `JOB_GROUP` varchar(190) NOT NULL,
  79. `DESCRIPTION` varchar(250) DEFAULT NULL,
  80. `JOB_CLASS_NAME` varchar(250) NOT NULL,
  81. `IS_DURABLE` varchar(1) NOT NULL,
  82. `IS_NONCONCURRENT` varchar(1) NOT NULL,
  83. `IS_UPDATE_DATA` varchar(1) NOT NULL,
  84. `REQUESTS_RECOVERY` varchar(1) NOT NULL,
  85. `JOB_DATA` blob,
  86. PRIMARY KEY (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`),
  87. KEY `IDX_QRTZ_J_REQ_RECOVERY` (`SCHED_NAME`,`REQUESTS_RECOVERY`),
  88. KEY `IDX_QRTZ_J_GRP` (`SCHED_NAME`,`JOB_GROUP`)
  89. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  90. /*Data for the table `qrtz_job_details` */
  91. insert into `qrtz_job_details`(`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`,`DESCRIPTION`,`JOB_CLASS_NAME`,`IS_DURABLE`,`IS_NONCONCURRENT`,`IS_UPDATE_DATA`,`REQUESTS_RECOVERY`,`JOB_DATA`) values ('quartzScheduler','__QUARTZ_TASK_KEY__1346347501890191362','DEFAULT',NULL,'cn.datax.service.quartz.quartz.ScheduleJob','0','1','0','0','¬í\0sr\0org.quartz.JobDataMapŸ°ƒè¿©°Ë\0\0xr\0&org.quartz.utils.StringKeyDirtyFlagMap‚èÃûÅ](\0Z\0allowsTransientDataxr\0org.quartz.utils.DirtyFlagMapæ.­(v\nÎ\0Z\0dirtyL\0mapt\0Ljava/util/Map;xpsr\0java.util.HashMapÚÁÃ`Ñ\0F\0\nloadFactorI\0 thresholdxp?@\0\0\0\0\0 w\0\0\0\0\0\0t\0__JOB_DATA_MAP__sr\00cn.datax.service.quartz.api.entity.QrtzJobEntity\0\0\0\0\0\0\0\0L\0beanNamet\0Ljava/lang/String;L\0cronExpressionq\0~\0 L\0jobNameq\0~\0 L\0\nmethodNameq\0~\0 L\0 methodParamsq\0~\0 xr\0(cn.datax.common.base.DataScopeBaseEntity\0\0\0\0\0\0\0\0L\0\ncreateDeptq\0~\0 xr\0cn.datax.common.base.BaseEntity\0\0\0\0\0\0\0\0L\0createByq\0~\0 L\0\ncreateTimet\0Ljava/time/LocalDateTime;L\0idq\0~\0 L\0remarkq\0~\0 L\0statusq\0~\0 L\0updateByq\0~\0 L\0\nupdateTimeq\0~\0 xpt\01214835832967581698sr\0\rjava.time.Ser•]„º\"H² \0\0xpw\n\0\0å/òxt\01346347501890191362pt\00t\01214835832967581698sq\0~\0w\n\0\0å/òxt\01197789917762031617t\0\nquartzTaskt\0 30 * * * * ?t\0测试无å�‚数任务t\0\rwithoutParamspx\0'),('quartzScheduler','__QUARTZ_TASK_KEY__1346347612309438465','DEFAULT',NULL,'cn.datax.service.quartz.quartz.ScheduleJob','0','1','0','0','¬í\0sr\0org.quartz.JobDataMapŸ°ƒè¿©°Ë\0\0xr\0&org.quartz.utils.StringKeyDirtyFlagMap‚èÃûÅ](\0Z\0allowsTransientDataxr\0org.quartz.utils.DirtyFlagMapæ.­(v\nÎ\0Z\0dirtyL\0mapt\0Ljava/util/Map;xpsr\0java.util.HashMapÚÁÃ`Ñ\0F\0\nloadFactorI\0 thresholdxp?@\0\0\0\0\0 w\0\0\0\0\0\0t\0__JOB_DATA_MAP__sr\00cn.datax.service.quartz.api.entity.QrtzJobEntity\0\0\0\0\0\0\0\0L\0beanNamet\0Ljava/lang/String;L\0cronExpressionq\0~\0 L\0jobNameq\0~\0 L\0\nmethodNameq\0~\0 L\0 methodParamsq\0~\0 xr\0(cn.datax.common.base.DataScopeBaseEntity\0\0\0\0\0\0\0\0L\0\ncreateDeptq\0~\0 xr\0cn.datax.common.base.BaseEntity\0\0\0\0\0\0\0\0L\0createByq\0~\0 L\0\ncreateTimet\0Ljava/time/LocalDateTime;L\0idq\0~\0 L\0remarkq\0~\0 L\0statusq\0~\0 L\0updateByq\0~\0 L\0\nupdateTimeq\0~\0 xpt\01214835832967581698sr\0\rjava.time.Ser•]„º\"H² \0\0xpw\n\0\0å/Øxt\01346347612309438465pt\00t\01214835832967581698sq\0~\0w\n\0\0å/Øxt\01197789917762031617t\0\nquartzTaskt\0 45 * * * * ?t\0测试有å�‚数任务t\0\nwithParamst\0 我是å�‚æ•°x\0');
  92. /*Table structure for table `qrtz_locks` */
  93. DROP TABLE IF EXISTS `qrtz_locks`;
  94. CREATE TABLE `qrtz_locks` (
  95. `SCHED_NAME` varchar(120) NOT NULL,
  96. `LOCK_NAME` varchar(40) NOT NULL,
  97. PRIMARY KEY (`SCHED_NAME`,`LOCK_NAME`)
  98. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  99. /*Data for the table `qrtz_locks` */
  100. insert into `qrtz_locks`(`SCHED_NAME`,`LOCK_NAME`) values ('quartzScheduler','STATE_ACCESS'),('quartzScheduler','TRIGGER_ACCESS');
  101. /*Table structure for table `qrtz_paused_trigger_grps` */
  102. DROP TABLE IF EXISTS `qrtz_paused_trigger_grps`;
  103. CREATE TABLE `qrtz_paused_trigger_grps` (
  104. `SCHED_NAME` varchar(120) NOT NULL,
  105. `TRIGGER_GROUP` varchar(190) NOT NULL,
  106. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_GROUP`)
  107. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  108. /*Data for the table `qrtz_paused_trigger_grps` */
  109. /*Table structure for table `qrtz_scheduler_state` */
  110. DROP TABLE IF EXISTS `qrtz_scheduler_state`;
  111. CREATE TABLE `qrtz_scheduler_state` (
  112. `SCHED_NAME` varchar(120) NOT NULL,
  113. `INSTANCE_NAME` varchar(190) NOT NULL,
  114. `LAST_CHECKIN_TIME` bigint(13) NOT NULL,
  115. `CHECKIN_INTERVAL` bigint(13) NOT NULL,
  116. PRIMARY KEY (`SCHED_NAME`,`INSTANCE_NAME`)
  117. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  118. /*Data for the table `qrtz_scheduler_state` */
  119. insert into `qrtz_scheduler_state`(`SCHED_NAME`,`INSTANCE_NAME`,`LAST_CHECKIN_TIME`,`CHECKIN_INTERVAL`) values ('quartzScheduler','JayLaptop1713147690997',1713161472664,1000);
  120. /*Table structure for table `qrtz_simple_triggers` */
  121. DROP TABLE IF EXISTS `qrtz_simple_triggers`;
  122. CREATE TABLE `qrtz_simple_triggers` (
  123. `SCHED_NAME` varchar(120) NOT NULL,
  124. `TRIGGER_NAME` varchar(190) NOT NULL,
  125. `TRIGGER_GROUP` varchar(190) NOT NULL,
  126. `REPEAT_COUNT` bigint(7) NOT NULL,
  127. `REPEAT_INTERVAL` bigint(12) NOT NULL,
  128. `TIMES_TRIGGERED` bigint(10) NOT NULL,
  129. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
  130. CONSTRAINT `qrtz_simple_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`)
  131. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  132. /*Data for the table `qrtz_simple_triggers` */
  133. /*Table structure for table `qrtz_simprop_triggers` */
  134. DROP TABLE IF EXISTS `qrtz_simprop_triggers`;
  135. CREATE TABLE `qrtz_simprop_triggers` (
  136. `SCHED_NAME` varchar(120) NOT NULL,
  137. `TRIGGER_NAME` varchar(190) NOT NULL,
  138. `TRIGGER_GROUP` varchar(190) NOT NULL,
  139. `STR_PROP_1` varchar(512) DEFAULT NULL,
  140. `STR_PROP_2` varchar(512) DEFAULT NULL,
  141. `STR_PROP_3` varchar(512) DEFAULT NULL,
  142. `INT_PROP_1` int(11) DEFAULT NULL,
  143. `INT_PROP_2` int(11) DEFAULT NULL,
  144. `LONG_PROP_1` bigint(20) DEFAULT NULL,
  145. `LONG_PROP_2` bigint(20) DEFAULT NULL,
  146. `DEC_PROP_1` decimal(13,4) DEFAULT NULL,
  147. `DEC_PROP_2` decimal(13,4) DEFAULT NULL,
  148. `BOOL_PROP_1` varchar(1) DEFAULT NULL,
  149. `BOOL_PROP_2` varchar(1) DEFAULT NULL,
  150. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
  151. CONSTRAINT `qrtz_simprop_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`) REFERENCES `qrtz_triggers` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`)
  152. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  153. /*Data for the table `qrtz_simprop_triggers` */
  154. /*Table structure for table `qrtz_triggers` */
  155. DROP TABLE IF EXISTS `qrtz_triggers`;
  156. CREATE TABLE `qrtz_triggers` (
  157. `SCHED_NAME` varchar(120) NOT NULL,
  158. `TRIGGER_NAME` varchar(190) NOT NULL,
  159. `TRIGGER_GROUP` varchar(190) NOT NULL,
  160. `JOB_NAME` varchar(190) NOT NULL,
  161. `JOB_GROUP` varchar(190) NOT NULL,
  162. `DESCRIPTION` varchar(250) DEFAULT NULL,
  163. `NEXT_FIRE_TIME` bigint(13) DEFAULT NULL,
  164. `PREV_FIRE_TIME` bigint(13) DEFAULT NULL,
  165. `PRIORITY` int(11) DEFAULT NULL,
  166. `TRIGGER_STATE` varchar(16) NOT NULL,
  167. `TRIGGER_TYPE` varchar(8) NOT NULL,
  168. `START_TIME` bigint(13) NOT NULL,
  169. `END_TIME` bigint(13) DEFAULT NULL,
  170. `CALENDAR_NAME` varchar(190) DEFAULT NULL,
  171. `MISFIRE_INSTR` smallint(2) DEFAULT NULL,
  172. `JOB_DATA` blob,
  173. PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
  174. KEY `IDX_QRTZ_T_J` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`),
  175. KEY `IDX_QRTZ_T_JG` (`SCHED_NAME`,`JOB_GROUP`),
  176. KEY `IDX_QRTZ_T_C` (`SCHED_NAME`,`CALENDAR_NAME`),
  177. KEY `IDX_QRTZ_T_G` (`SCHED_NAME`,`TRIGGER_GROUP`),
  178. KEY `IDX_QRTZ_T_STATE` (`SCHED_NAME`,`TRIGGER_STATE`),
  179. KEY `IDX_QRTZ_T_N_STATE` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`),
  180. KEY `IDX_QRTZ_T_N_G_STATE` (`SCHED_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`),
  181. KEY `IDX_QRTZ_T_NEXT_FIRE_TIME` (`SCHED_NAME`,`NEXT_FIRE_TIME`),
  182. KEY `IDX_QRTZ_T_NFT_ST` (`SCHED_NAME`,`TRIGGER_STATE`,`NEXT_FIRE_TIME`),
  183. KEY `IDX_QRTZ_T_NFT_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`),
  184. KEY `IDX_QRTZ_T_NFT_ST_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_STATE`),
  185. KEY `IDX_QRTZ_T_NFT_ST_MISFIRE_GRP` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_GROUP`,`TRIGGER_STATE`),
  186. CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) REFERENCES `qrtz_job_details` (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`)
  187. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  188. /*Data for the table `qrtz_triggers` */
  189. insert into `qrtz_triggers`(`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`JOB_NAME`,`JOB_GROUP`,`DESCRIPTION`,`NEXT_FIRE_TIME`,`PREV_FIRE_TIME`,`PRIORITY`,`TRIGGER_STATE`,`TRIGGER_TYPE`,`START_TIME`,`END_TIME`,`CALENDAR_NAME`,`MISFIRE_INSTR`,`JOB_DATA`) values ('quartzScheduler','__QUARTZ_TASK_KEY__1346347501890191362','DEFAULT','__QUARTZ_TASK_KEY__1346347501890191362','DEFAULT',NULL,1713147750000,-1,5,'PAUSED','CRON',1713147694000,0,NULL,2,''),('quartzScheduler','__QUARTZ_TASK_KEY__1346347612309438465','DEFAULT','__QUARTZ_TASK_KEY__1346347612309438465','DEFAULT',NULL,1713147705000,-1,5,'PAUSED','CRON',1713147694000,0,NULL,2,'');
  190. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  191. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  192. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  193. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;