alter-materialized-view-set.svg 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <svg xmlns="http://www.w3.org/2000/svg" width="543" height="135">
  2. <polygon points="11 17 3 13 3 21"/>
  3. <polygon points="19 17 11 13 11 21"/>
  4. <rect x="33" y="3" width="66" height="32" rx="10"/>
  5. <rect x="31"
  6. y="1"
  7. width="66"
  8. height="32"
  9. class="terminal"
  10. rx="10"/>
  11. <text class="terminal" x="41" y="21">ALTER</text>
  12. <rect x="119" y="3" width="166" height="32" rx="10"/>
  13. <rect x="117"
  14. y="1"
  15. width="166"
  16. height="32"
  17. class="terminal"
  18. rx="10"/>
  19. <text class="terminal" x="127" y="21">MATERIALIZED VIEW</text>
  20. <rect x="305" y="3" width="56" height="32"/>
  21. <rect x="303" y="1" width="56" height="32" class="nonterminal"/>
  22. <text class="nonterminal" x="313" y="21">name</text>
  23. <rect x="381" y="3" width="46" height="32" rx="10"/>
  24. <rect x="379"
  25. y="1"
  26. width="46"
  27. height="32"
  28. class="terminal"
  29. rx="10"/>
  30. <text class="terminal" x="389" y="21">SET</text>
  31. <rect x="447" y="3" width="26" height="32" rx="10"/>
  32. <rect x="445"
  33. y="1"
  34. width="26"
  35. height="32"
  36. class="terminal"
  37. rx="10"/>
  38. <text class="terminal" x="455" y="21">(</text>
  39. <rect x="25" y="69" width="140" height="32" rx="10"/>
  40. <rect x="23"
  41. y="67"
  42. width="140"
  43. height="32"
  44. class="terminal"
  45. rx="10"/>
  46. <text class="terminal" x="33" y="87">RETAIN HISTORY</text>
  47. <rect x="205" y="101" width="28" height="32" rx="10"/>
  48. <rect x="203"
  49. y="99"
  50. width="28"
  51. height="32"
  52. class="terminal"
  53. rx="10"/>
  54. <text class="terminal" x="213" y="119">=</text>
  55. <rect x="273" y="69" width="48" height="32" rx="10"/>
  56. <rect x="271"
  57. y="67"
  58. width="48"
  59. height="32"
  60. class="terminal"
  61. rx="10"/>
  62. <text class="terminal" x="281" y="87">FOR</text>
  63. <rect x="341" y="69" width="128" height="32"/>
  64. <rect x="339" y="67" width="128" height="32" class="nonterminal"/>
  65. <text class="nonterminal" x="349" y="87">retention_period</text>
  66. <rect x="489" y="69" width="26" height="32" rx="10"/>
  67. <rect x="487"
  68. y="67"
  69. width="26"
  70. height="32"
  71. class="terminal"
  72. rx="10"/>
  73. <text class="terminal" x="497" y="87">)</text>
  74. <path class="line"
  75. d="m19 17 h2 m0 0 h10 m66 0 h10 m0 0 h10 m166 0 h10 m0 0 h10 m56 0 h10 m0 0 h10 m46 0 h10 m0 0 h10 m26 0 h10 m2 0 l2 0 m2 0 l2 0 m2 0 l2 0 m-492 66 l2 0 m2 0 l2 0 m2 0 l2 0 m2 0 h10 m140 0 h10 m20 0 h10 m0 0 h38 m-68 0 h20 m48 0 h20 m-88 0 q10 0 10 10 m68 0 q0 -10 10 -10 m-78 10 v12 m68 0 v-12 m-68 12 q0 10 10 10 m48 0 q10 0 10 -10 m-58 10 h10 m28 0 h10 m20 -32 h10 m48 0 h10 m0 0 h10 m128 0 h10 m0 0 h10 m26 0 h10 m3 0 h-3"/>
  76. <polygon points="533 83 541 79 541 87"/>
  77. <polygon points="533 83 525 79 525 87"/>
  78. </svg>