create-source-mysql.svg 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <svg xmlns="http://www.w3.org/2000/svg" width="707" height="959">
  2. <polygon points="9 17 1 13 1 21"/>
  3. <polygon points="17 17 9 13 9 21"/>
  4. <rect x="31" y="3" width="140" height="32" rx="10"/>
  5. <rect x="29"
  6. y="1"
  7. width="140"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="39" y="21">CREATE SOURCE</text>
  12. <rect x="211" y="35" width="120" height="32" rx="10"/>
  13. <rect x="209"
  14. y="33"
  15. width="120"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="219" y="53">IF NOT EXISTS</text>
  20. <rect x="371" y="3" width="82" height="32"/>
  21. <rect x="369" y="1" width="82" height="32" class="nonterminal"/>
  22. <text class="nonterminal" x="379" y="21">src_name</text>
  23. <rect x="154" y="133" width="104" height="32" rx="10"/>
  24. <rect x="152"
  25. y="131"
  26. width="104"
  27. height="32"
  28. class="terminal"
  29. rx="10"/>
  30. <text class="terminal" x="162" y="151">IN CLUSTER</text>
  31. <rect x="278" y="133" width="108" height="32"/>
  32. <rect x="276" y="131" width="108" height="32" class="nonterminal"/>
  33. <text class="nonterminal" x="286" y="151">cluster_name</text>
  34. <rect x="426" y="101" width="60" height="32" rx="10"/>
  35. <rect x="424"
  36. y="99"
  37. width="60"
  38. height="32"
  39. class="terminal"
  40. rx="10"/>
  41. <text class="terminal" x="434" y="119">FROM</text>
  42. <rect x="506" y="101" width="70" height="32" rx="10"/>
  43. <rect x="504"
  44. y="99"
  45. width="70"
  46. height="32"
  47. class="terminal"
  48. rx="10"/>
  49. <text class="terminal" x="514" y="119">MYSQL</text>
  50. <rect x="219" y="199" width="116" height="32" rx="10"/>
  51. <rect x="217"
  52. y="197"
  53. width="116"
  54. height="32"
  55. class="terminal"
  56. rx="10"/>
  57. <text class="terminal" x="227" y="217">CONNECTION</text>
  58. <rect x="355" y="199" width="136" height="32"/>
  59. <rect x="353" y="197" width="136" height="32" class="nonterminal"/>
  60. <text class="nonterminal" x="363" y="217">connection_name</text>
  61. <rect x="114" y="309" width="26" height="32" rx="10"/>
  62. <rect x="112"
  63. y="307"
  64. width="26"
  65. height="32"
  66. class="terminal"
  67. rx="10"/>
  68. <text class="terminal" x="122" y="327">(</text>
  69. <rect x="160" y="309" width="134" height="32" rx="10"/>
  70. <rect x="158"
  71. y="307"
  72. width="134"
  73. height="32"
  74. class="terminal"
  75. rx="10"/>
  76. <text class="terminal" x="168" y="327">TEXT COLUMNS</text>
  77. <rect x="334" y="309" width="26" height="32" rx="10"/>
  78. <rect x="332"
  79. y="307"
  80. width="26"
  81. height="32"
  82. class="terminal"
  83. rx="10"/>
  84. <text class="terminal" x="342" y="327">(</text>
  85. <rect x="400" y="309" width="110" height="32"/>
  86. <rect x="398" y="307" width="110" height="32" class="nonterminal"/>
  87. <text class="nonterminal" x="408" y="327">column_name</text>
  88. <rect x="400" y="265" width="24" height="32" rx="10"/>
  89. <rect x="398"
  90. y="263"
  91. width="24"
  92. height="32"
  93. class="terminal"
  94. rx="10"/>
  95. <text class="terminal" x="408" y="283">,</text>
  96. <rect x="550" y="309" width="26" height="32" rx="10"/>
  97. <rect x="548"
  98. y="307"
  99. width="26"
  100. height="32"
  101. class="terminal"
  102. rx="10"/>
  103. <text class="terminal" x="558" y="327">)</text>
  104. <rect x="78" y="451" width="24" height="32" rx="10"/>
  105. <rect x="76"
  106. y="449"
  107. width="24"
  108. height="32"
  109. class="terminal"
  110. rx="10"/>
  111. <text class="terminal" x="86" y="469">,</text>
  112. <rect x="122" y="451" width="162" height="32" rx="10"/>
  113. <rect x="120"
  114. y="449"
  115. width="162"
  116. height="32"
  117. class="terminal"
  118. rx="10"/>
  119. <text class="terminal" x="130" y="469">EXCLUDE COLUMNS</text>
  120. <rect x="324" y="451" width="26" height="32" rx="10"/>
  121. <rect x="322"
  122. y="449"
  123. width="26"
  124. height="32"
  125. class="terminal"
  126. rx="10"/>
  127. <text class="terminal" x="332" y="469">(</text>
  128. <rect x="390" y="451" width="110" height="32"/>
  129. <rect x="388" y="449" width="110" height="32" class="nonterminal"/>
  130. <text class="nonterminal" x="398" y="469">column_name</text>
  131. <rect x="390" y="407" width="24" height="32" rx="10"/>
  132. <rect x="388"
  133. y="405"
  134. width="24"
  135. height="32"
  136. class="terminal"
  137. rx="10"/>
  138. <text class="terminal" x="398" y="425">,</text>
  139. <rect x="540" y="451" width="26" height="32" rx="10"/>
  140. <rect x="538"
  141. y="449"
  142. width="26"
  143. height="32"
  144. class="terminal"
  145. rx="10"/>
  146. <text class="terminal" x="548" y="469">)</text>
  147. <rect x="606" y="451" width="26" height="32" rx="10"/>
  148. <rect x="604"
  149. y="449"
  150. width="26"
  151. height="32"
  152. class="terminal"
  153. rx="10"/>
  154. <text class="terminal" x="614" y="469">)</text>
  155. <rect x="45" y="549" width="138" height="32" rx="10"/>
  156. <rect x="43"
  157. y="547"
  158. width="138"
  159. height="32"
  160. class="terminal"
  161. rx="10"/>
  162. <text class="terminal" x="53" y="567">FOR ALL TABLES</text>
  163. <rect x="65" y="637" width="106" height="32" rx="10"/>
  164. <rect x="63"
  165. y="635"
  166. width="106"
  167. height="32"
  168. class="terminal"
  169. rx="10"/>
  170. <text class="terminal" x="73" y="655">FOR TABLES</text>
  171. <rect x="191" y="637" width="26" height="32" rx="10"/>
  172. <rect x="189"
  173. y="635"
  174. width="26"
  175. height="32"
  176. class="terminal"
  177. rx="10"/>
  178. <text class="terminal" x="199" y="655">(</text>
  179. <rect x="257" y="637" width="96" height="32"/>
  180. <rect x="255" y="635" width="96" height="32" class="nonterminal"/>
  181. <text class="nonterminal" x="265" y="655">table_name</text>
  182. <rect x="393" y="669" width="40" height="32" rx="10"/>
  183. <rect x="391"
  184. y="667"
  185. width="40"
  186. height="32"
  187. class="terminal"
  188. rx="10"/>
  189. <text class="terminal" x="401" y="687">AS</text>
  190. <rect x="453" y="669" width="106" height="32"/>
  191. <rect x="451" y="667" width="106" height="32" class="nonterminal"/>
  192. <text class="nonterminal" x="461" y="687">subsrc_name</text>
  193. <rect x="257" y="593" width="24" height="32" rx="10"/>
  194. <rect x="255"
  195. y="591"
  196. width="24"
  197. height="32"
  198. class="terminal"
  199. rx="10"/>
  200. <text class="terminal" x="265" y="611">,</text>
  201. <rect x="65" y="757" width="124" height="32" rx="10"/>
  202. <rect x="63"
  203. y="755"
  204. width="124"
  205. height="32"
  206. class="terminal"
  207. rx="10"/>
  208. <text class="terminal" x="73" y="775">FOR SCHEMAS</text>
  209. <rect x="209" y="757" width="26" height="32" rx="10"/>
  210. <rect x="207"
  211. y="755"
  212. width="26"
  213. height="32"
  214. class="terminal"
  215. rx="10"/>
  216. <text class="terminal" x="217" y="775">(</text>
  217. <rect x="275" y="757" width="114" height="32"/>
  218. <rect x="273" y="755" width="114" height="32" class="nonterminal"/>
  219. <text class="nonterminal" x="283" y="775">schema_name</text>
  220. <rect x="275" y="713" width="24" height="32" rx="10"/>
  221. <rect x="273"
  222. y="711"
  223. width="24"
  224. height="32"
  225. class="terminal"
  226. rx="10"/>
  227. <text class="terminal" x="283" y="731">,</text>
  228. <rect x="639" y="637" width="26" height="32" rx="10"/>
  229. <rect x="637"
  230. y="635"
  231. width="26"
  232. height="32"
  233. class="terminal"
  234. rx="10"/>
  235. <text class="terminal" x="647" y="655">)</text>
  236. <rect x="121" y="839" width="76" height="32" rx="10"/>
  237. <rect x="119"
  238. y="837"
  239. width="76"
  240. height="32"
  241. class="terminal"
  242. rx="10"/>
  243. <text class="terminal" x="129" y="857">EXPOSE</text>
  244. <rect x="217" y="839" width="96" height="32" rx="10"/>
  245. <rect x="215"
  246. y="837"
  247. width="96"
  248. height="32"
  249. class="terminal"
  250. rx="10"/>
  251. <text class="terminal" x="225" y="857">PROGRESS</text>
  252. <rect x="333" y="839" width="40" height="32" rx="10"/>
  253. <rect x="331"
  254. y="837"
  255. width="40"
  256. height="32"
  257. class="terminal"
  258. rx="10"/>
  259. <text class="terminal" x="341" y="857">AS</text>
  260. <rect x="393" y="839" width="196" height="32"/>
  261. <rect x="391" y="837" width="196" height="32" class="nonterminal"/>
  262. <text class="nonterminal" x="401" y="857">progress_subsource_name</text>
  263. <rect x="557" y="925" width="102" height="32"/>
  264. <rect x="555" y="923" width="102" height="32" class="nonterminal"/>
  265. <text class="nonterminal" x="565" y="943">with_options</text>
  266. <path class="line"
  267. d="m17 17 h2 m0 0 h10 m140 0 h10 m20 0 h10 m0 0 h130 m-160 0 h20 m140 0 h20 m-180 0 q10 0 10 10 m160 0 q0 -10 10 -10 m-170 10 v12 m160 0 v-12 m-160 12 q0 10 10 10 m140 0 q10 0 10 -10 m-150 10 h10 m120 0 h10 m20 -32 h10 m82 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-363 98 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h242 m-272 0 h20 m252 0 h20 m-292 0 q10 0 10 10 m272 0 q0 -10 10 -10 m-282 10 v12 m272 0 v-12 m-272 12 q0 10 10 10 m252 0 q10 0 10 -10 m-262 10 h10 m104 0 h10 m0 0 h10 m108 0 h10 m20 -32 h10 m60 0 h10 m0 0 h10 m70 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-401 98 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m116 0 h10 m0 0 h10 m136 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-441 110 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m26 0 h10 m0 0 h10 m134 0 h10 m20 0 h10 m26 0 h10 m20 0 h10 m110 0 h10 m-150 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m130 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-130 0 h10 m24 0 h10 m0 0 h86 m20 44 h10 m26 0 h10 m-282 0 h20 m262 0 h20 m-302 0 q10 0 10 10 m282 0 q0 -10 10 -10 m-292 10 v14 m282 0 v-14 m-282 14 q0 10 10 10 m262 0 q10 0 10 -10 m-272 10 h10 m0 0 h252 m-502 -34 h20 m502 0 h20 m-542 0 q10 0 10 10 m522 0 q0 -10 10 -10 m-532 10 v30 m522 0 v-30 m-522 30 q0 10 10 10 m502 0 q10 0 10 -10 m-512 10 h10 m0 0 h492 m22 -50 l2 0 m2 0 l2 0 m2 0 l2 0 m-602 142 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m24 0 h10 m0 0 h10 m162 0 h10 m20 0 h10 m26 0 h10 m20 0 h10 m110 0 h10 m-150 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m130 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-130 0 h10 m24 0 h10 m0 0 h86 m20 44 h10 m26 0 h10 m-282 0 h20 m262 0 h20 m-302 0 q10 0 10 10 m282 0 q0 -10 10 -10 m-292 10 v14 m282 0 v-14 m-282 14 q0 10 10 10 m262 0 q10 0 10 -10 m-272 10 h10 m0 0 h252 m20 -34 h10 m26 0 h10 m-594 0 h20 m574 0 h20 m-614 0 q10 0 10 10 m594 0 q0 -10 10 -10 m-604 10 v30 m594 0 v-30 m-594 30 q0 10 10 10 m574 0 q10 0 10 -10 m-584 10 h10 m0 0 h564 m22 -50 l2 0 m2 0 l2 0 m2 0 l2 0 m-671 98 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m138 0 h10 m0 0 h482 m-660 0 h20 m640 0 h20 m-680 0 q10 0 10 10 m660 0 q0 -10 10 -10 m-670 10 v68 m660 0 v-68 m-660 68 q0 10 10 10 m640 0 q10 0 10 -10 m-630 10 h10 m106 0 h10 m0 0 h10 m26 0 h10 m20 0 h10 m96 0 h10 m20 0 h10 m0 0 h176 m-206 0 h20 m186 0 h20 m-226 0 q10 0 10 10 m206 0 q0 -10 10 -10 m-216 10 v12 m206 0 v-12 m-206 12 q0 10 10 10 m186 0 q10 0 10 -10 m-196 10 h10 m40 0 h10 m0 0 h10 m106 0 h10 m-342 -32 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m342 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-342 0 h10 m24 0 h10 m0 0 h298 m-554 44 h20 m554 0 h20 m-594 0 q10 0 10 10 m574 0 q0 -10 10 -10 m-584 10 v100 m574 0 v-100 m-574 100 q0 10 10 10 m554 0 q10 0 10 -10 m-564 10 h10 m124 0 h10 m0 0 h10 m26 0 h10 m20 0 h10 m114 0 h10 m-154 0 l20 0 m-1 0 q-9 0 -9 -10 l0 -24 q0 -10 10 -10 m134 44 l20 0 m-20 0 q10 0 10 -10 l0 -24 q0 -10 -10 -10 m-134 0 h10 m24 0 h10 m0 0 h90 m20 44 h190 m20 -120 h10 m26 0 h10 m22 -88 l2 0 m2 0 l2 0 m2 0 l2 0 m-628 258 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h478 m-508 0 h20 m488 0 h20 m-528 0 q10 0 10 10 m508 0 q0 -10 10 -10 m-518 10 v12 m508 0 v-12 m-508 12 q0 10 10 10 m488 0 q10 0 10 -10 m-498 10 h10 m76 0 h10 m0 0 h10 m96 0 h10 m0 0 h10 m40 0 h10 m0 0 h10 m196 0 h10 m22 -32 l2 0 m2 0 l2 0 m2 0 l2 0 m-116 86 l2 0 m2 0 l2 0 m2 0 l2 0 m22 0 h10 m0 0 h112 m-142 0 h20 m122 0 h20 m-162 0 q10 0 10 10 m142 0 q0 -10 10 -10 m-152 10 v12 m142 0 v-12 m-142 12 q0 10 10 10 m122 0 q10 0 10 -10 m-132 10 h10 m102 0 h10 m23 -32 h-3"/>
  268. <polygon points="697 907 705 903 705 911"/>
  269. <polygon points="697 907 689 903 689 911"/>
  270. </svg>