Advertisement
Merevoli

Untitled

Dec 17th, 2021
1,253
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- T+0 | HIGH
  2.  
  3. DO
  4. $do$
  5. BEGIN
  6.     FOR i in 1..100000 LOOP
  7.         INSERT INTO public.case_case(
  8.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  9.             VALUES ('2021-12-17 01:28:45.615371+00', '2021-12-17 01:28:45.615392+00', 'New', 'HIGH', 0, 4, 335, '');
  10.     END LOOP;
  11. END
  12. $do$;
  13.  
  14. -- T+0 | MEDIUM
  15.  
  16. DO
  17. $do$
  18. BEGIN
  19.     FOR i in 1..100000 LOOP
  20.         INSERT INTO public.case_case(
  21.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  22.             VALUES ('2021-12-17 01:28:45.615371+00', '2021-12-17 01:28:45.615392+00', 'New', 'MEDIUM', 0, 4, 335, '');
  23.     END LOOP;
  24. END
  25. $do$;
  26.  
  27. -- T+0 | LOW
  28.  
  29. DO
  30. $do$
  31. BEGIN
  32.     FOR i in 1..100000 LOOP
  33.         INSERT INTO public.case_case(
  34.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  35.             VALUES ('2021-12-17 01:28:45.615371+00', '2021-12-17 01:28:45.615392+00', 'New', 'LOW', 0, 4, 335, '');
  36.     END LOOP;
  37. END
  38. $do$;
  39.  
  40. -- T+1 | HIGH
  41.  
  42. DO
  43. $do$
  44. BEGIN
  45.     FOR i in 1..100000 LOOP
  46.         INSERT INTO public.case_case(
  47.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  48.             VALUES ('2021-12-16 01:28:45.615371+00', '2021-12-16 01:28:45.615392+00', 'New', 'HIGH', 0, 4, 335, '');
  49.     END LOOP;
  50. END
  51. $do$;
  52.  
  53. -- T+1 | MEDIUM
  54.  
  55. DO
  56. $do$
  57. BEGIN
  58.     FOR i in 1..100000 LOOP
  59.         INSERT INTO public.case_case(
  60.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  61.             VALUES ('2021-12-16 01:28:45.615371+00', '2021-12-16 01:28:45.615392+00', 'New', 'MEDIUM', 0, 4, 335, '');
  62.     END LOOP;
  63. END
  64. $do$;
  65.  
  66. -- T+1 | LOW
  67.  
  68. DO
  69. $do$
  70. BEGIN
  71.     FOR i in 1..100000 LOOP
  72.         INSERT INTO public.case_case(
  73.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  74.             VALUES ('2021-12-16 01:28:45.615371+00', '2021-12-16 01:28:45.615392+00', 'New', 'LOW', 0, 4, 335, '');
  75.     END LOOP;
  76. END
  77. $do$;
  78.  
  79. -- T+2 | HIGH
  80.  
  81. DO
  82. $do$
  83. BEGIN
  84.     FOR i in 1..100000 LOOP
  85.         INSERT INTO public.case_case(
  86.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  87.             VALUES ('2021-12-15 01:28:45.615371+00', '2021-12-15 01:28:45.615392+00', 'New', 'HIGH', 0, 4, 335, '');
  88.     END LOOP;
  89. END
  90. $do$;
  91.  
  92. -- T+2 | MEDIUM
  93.  
  94. DO
  95. $do$
  96. BEGIN
  97.     FOR i in 1..100000 LOOP
  98.         INSERT INTO public.case_case(
  99.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  100.             VALUES ('2021-12-15 01:28:45.615371+00', '2021-12-15 01:28:45.615392+00', 'New', 'MEDIUM', 0, 4, 335, '');
  101.     END LOOP;
  102. END
  103. $do$;
  104.  
  105. -- T+2 | LOW
  106.  
  107. DO
  108. $do$
  109. BEGIN
  110.     FOR i in 1..100000 LOOP
  111.         INSERT INTO public.case_case(
  112.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  113.             VALUES ('2021-12-15 01:28:45.615371+00', '2021-12-15 01:28:45.615392+00', 'New', 'LOW', 0, 4, 335, '');
  114.     END LOOP;
  115. END
  116. $do$;
  117.  
  118. -- T+3 | HIGH
  119.  
  120. DO
  121. $do$
  122. BEGIN
  123.     FOR i in 1..100000 LOOP
  124.         INSERT INTO public.case_case(
  125.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  126.             VALUES ('2021-12-14 01:28:45.615371+00', '2021-12-14 01:28:45.615392+00', 'New', 'HIGH', 0, 4, 335, '');
  127.     END LOOP;
  128. END
  129. $do$;
  130.  
  131. -- T+3 | MEDIUM
  132.  
  133. DO
  134. $do$
  135. BEGIN
  136.     FOR i in 1..100000 LOOP
  137.         INSERT INTO public.case_case(
  138.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  139.             VALUES ('2021-12-14 01:28:45.615371+00', '2021-12-14 01:28:45.615392+00', 'New', 'MEDIUM', 0, 4, 335, '');
  140.     END LOOP;
  141. END
  142. $do$;
  143.  
  144. -- T+3 | LOW
  145.  
  146. DO
  147. $do$
  148. BEGIN
  149.     FOR i in 1..100000 LOOP
  150.         INSERT INTO public.case_case(
  151.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  152.             VALUES ('2021-12-14 01:28:45.615371+00', '2021-12-14 01:28:45.615392+00', 'New', 'LOW', 0, 4, 335, '');
  153.     END LOOP;
  154. END
  155. $do$;
  156.  
  157. -- T+4 | HIGH
  158.  
  159. DO
  160. $do$
  161. BEGIN
  162.     FOR i in 1..100000 LOOP
  163.         INSERT INTO public.case_case(
  164.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  165.             VALUES ('2021-12-13 01:28:45.615371+00', '2021-12-13 01:28:45.615392+00', 'New', 'HIGH', 0, 4, 335, '');
  166.     END LOOP;
  167. END
  168. $do$;
  169.  
  170. -- T+4 | MEDIUM
  171.  
  172. DO
  173. $do$
  174. BEGIN
  175.     FOR i in 1..100000 LOOP
  176.         INSERT INTO public.case_case(
  177.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  178.             VALUES ('2021-12-13 01:28:45.615371+00', '2021-12-13 01:28:45.615392+00', 'New', 'MEDIUM', 0, 4, 335, '');
  179.     END LOOP;
  180. END
  181. $do$;
  182.  
  183. -- T+4 | LOW
  184.  
  185. DO
  186. $do$
  187. BEGIN
  188.     FOR i in 1..100000 LOOP
  189.         INSERT INTO public.case_case(
  190.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  191.             VALUES ('2021-12-13 01:28:45.615371+00', '2021-12-13 01:28:45.615392+00', 'New', 'LOW', 0, 4, 335, '');
  192.     END LOOP;
  193. END
  194. $do$;
  195.  
  196. -- T+5 | HIGH
  197.  
  198. DO
  199. $do$
  200. BEGIN
  201.     FOR i in 1..100000 LOOP
  202.         INSERT INTO public.case_case(
  203.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  204.             VALUES ('2021-12-12 01:28:45.615371+00', '2021-12-12 01:28:45.615392+00', 'New', 'HIGH', 0, 4, 335, '');
  205.     END LOOP;
  206. END
  207. $do$;
  208.  
  209. -- T+5 | MEDIUM
  210.  
  211. DO
  212. $do$
  213. BEGIN
  214.     FOR i in 1..100000 LOOP
  215.         INSERT INTO public.case_case(
  216.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  217.             VALUES ('2021-12-12 01:28:45.615371+00', '2021-12-12 01:28:45.615392+00', 'New', 'MEDIUM', 0, 4, 335, '');
  218.     END LOOP;
  219. END
  220. $do$;
  221.  
  222. -- T+5 | LOW
  223.  
  224. DO
  225. $do$
  226. BEGIN
  227.     FOR i in 1..100000 LOOP
  228.         INSERT INTO public.case_case(
  229.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  230.             VALUES ('2021-12-12 01:28:45.615371+00', '2021-12-12 01:28:45.615392+00', 'New', 'LOW', 0, 4, 335, '');
  231.     END LOOP;
  232. END
  233. $do$;
  234.  
  235. -- T+>5 | HIGH
  236.  
  237. DO
  238. $do$
  239. BEGIN
  240.     FOR i in 1..100000 LOOP
  241.         INSERT INTO public.case_case(
  242.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  243.             VALUES ('2021-12-11 01:28:45.615371+00', '2021-12-11 01:28:45.615392+00', 'New', 'HIGH', 0, 4, 335, '');
  244.     END LOOP;
  245. END
  246. $do$;
  247.  
  248. -- T+>5 | MEDIUM
  249.  
  250. DO
  251. $do$
  252. BEGIN
  253.     FOR i in 1..100000 LOOP
  254.         INSERT INTO public.case_case(
  255.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  256.             VALUES ('2021-12-11 01:28:45.615371+00', '2021-12-11 01:28:45.615392+00', 'New', 'MEDIUM', 0, 4, 335, '');
  257.     END LOOP;
  258. END
  259. $do$;
  260.  
  261. -- T+>5 | LOW
  262.  
  263. DO
  264. $do$
  265. BEGIN
  266.     FOR i in 1..100000 LOOP
  267.         INSERT INTO public.case_case(
  268.             created_on, modified_on, case_status, alert_risk_rating, bucket_id, case_subject_1_id, rule_id, case_action)
  269.             VALUES ('2021-12-11 01:28:45.615371+00', '2021-12-11 01:28:45.615392+00', 'New', 'LOW', 0, 4, 335, '');
  270.     END LOOP;
  271. END
  272. $do$;
Advertisement
RAW Paste Data Copied
Advertisement