Guest User

Untitled

a guest
Mar 20th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. digraph G {
  2.  
  3. compound = true;
  4. fontsize = 14;
  5. margin = "0,0";
  6. ranksep = 0.2;
  7. nodesep = 0.5;
  8. penwidth = 0.5;
  9. colorscheme = spectral7;
  10.  
  11. graph [fontname = "Adobe Heiti Std", labelfontname = "Adobe Heiti Std"];
  12. node [fontname = "Adobe Heiti Std", shape = box, fontsize = 14, penwidth = 0.5, style = filled, fillcolor = white, labelfontname = "Adobe Heiti Std"];
  13. edge [fontname = "Adobe Heiti Std", labelfontname = "Adobe Heiti Std", fontsize = 12, penwidth = 0.5];
  14.  
  15. node [width = 4]
  16.  
  17. Start -> "应用切换只读状态"
  18. -> "数据库 a 置入只读状态"
  19. -> "Extract a" -> Translate -> "Load to b" -> "一致性校验"
  20. -> "应用切换正常状态" -> "备份数据库 a" -> End;
  21.  
  22. Start [shape = Msquare, width=0];
  23. End [shape = Msquare, width=0];
  24.  
  25. subgraph cluster0 {
  26. margin = "10,10";
  27. labeljust = "left";
  28. style = "filled, dashed";
  29. fillcolor = 3;
  30.  
  31. label = "发布前准备";
  32.  
  33. "应用切换只读状态" ;
  34. "数据库 a 置入只读状态";
  35. }
  36.  
  37. subgraph cluster1 {
  38. margin = "10,10";
  39. labeljust = "left";
  40. style = "filled, dashed";
  41. fillcolor = 4;
  42.  
  43. label = "ETL";
  44.  
  45. "Extract a";
  46. Translate;
  47. "Load to b";
  48. "一致性校验";
  49. }
  50.  
  51. subgraph cluster2 {
  52. margin = "10,10";
  53. labeljust = "left";
  54. style = "filled, dashed";
  55. fillcolor = 5;
  56.  
  57. label = "发布和后置工作";
  58.  
  59. "应用切换正常状态" ;
  60. "备份数据库 a";
  61. }
  62.  
  63.  
  64. label = "DB a(SQL Server)离线迁移到 DB b(MySQL)";
  65. }
Add Comment
Please, Sign In to add comment