YinBin 1 год назад
Сommit
f9bbe5a0bc
100 измененных файлов с 5472 добавлено и 0 удалено
  1. 119 0
      .gitignore
  2. 5 0
      .idea/codeStyles/codeStyleConfig.xml
  3. 6 0
      .idea/jsLibraryMappings.xml
  4. 8 0
      .idea/modules.xml
  5. 12 0
      .idea/sysm.iml
  6. 244 0
      .idea/workspace.xml
  7. 24 0
      Dockerfile
  8. 240 0
      Gruntfile.js
  9. 1 0
      PROCESS_ID
  10. 36 0
      README.md
  11. 186 0
      app.js
  12. 24 0
      bower.json
  13. 43 0
      config/db.js
  14. 11 0
      config/init-db.sql
  15. 32 0
      docker-compose.yml
  16. 20 0
      docker/mysql/Dockerfile
  17. 2 0
      docker/mysql/auth.sql
  18. 92 0
      docker/mysql/cnf/sysm.cnf
  19. 2 0
      docker/mysql/data/auto.cnf
  20. 0 0
      docker/mysql/data/binlog.index
  21. BIN
      docker/mysql/data/ca-key.pem
  22. BIN
      docker/mysql/data/ca.pem
  23. BIN
      docker/mysql/data/client-cert.pem
  24. BIN
      docker/mysql/data/client-key.pem
  25. 143 0
      docker/mysql/data/ib_buffer_pool
  26. BIN
      docker/mysql/data/mysql/catalogs.ibd
  27. BIN
      docker/mysql/data/mysql/character_sets.ibd
  28. BIN
      docker/mysql/data/mysql/collations.ibd
  29. BIN
      docker/mysql/data/mysql/column_stats.ibd
  30. BIN
      docker/mysql/data/mysql/column_type_elements.ibd
  31. BIN
      docker/mysql/data/mysql/columns.ibd
  32. BIN
      docker/mysql/data/mysql/columns_priv.ibd
  33. BIN
      docker/mysql/data/mysql/component.ibd
  34. BIN
      docker/mysql/data/mysql/db.ibd
  35. BIN
      docker/mysql/data/mysql/default_roles.ibd
  36. BIN
      docker/mysql/data/mysql/engine_cost.ibd
  37. BIN
      docker/mysql/data/mysql/events.ibd
  38. BIN
      docker/mysql/data/mysql/foreign_key_column_usage.ibd
  39. BIN
      docker/mysql/data/mysql/foreign_keys.ibd
  40. BIN
      docker/mysql/data/mysql/func.ibd
  41. BIN
      docker/mysql/data/mysql/general_log.CSM
  42. 205 0
      docker/mysql/data/mysql/general_log_102.SDI
  43. BIN
      docker/mysql/data/mysql/gtid_executed.ibd
  44. BIN
      docker/mysql/data/mysql/help_category.ibd
  45. BIN
      docker/mysql/data/mysql/help_keyword.ibd
  46. BIN
      docker/mysql/data/mysql/help_relation.ibd
  47. BIN
      docker/mysql/data/mysql/help_topic.ibd
  48. BIN
      docker/mysql/data/mysql/index_column_usage.ibd
  49. BIN
      docker/mysql/data/mysql/index_partitions.ibd
  50. BIN
      docker/mysql/data/mysql/index_stats.ibd
  51. BIN
      docker/mysql/data/mysql/indexes.ibd
  52. BIN
      docker/mysql/data/mysql/innodb_index_stats.ibd
  53. BIN
      docker/mysql/data/mysql/innodb_table_stats.ibd
  54. BIN
      docker/mysql/data/mysql/parameter_type_elements.ibd
  55. BIN
      docker/mysql/data/mysql/parameters.ibd
  56. BIN
      docker/mysql/data/mysql/plugin.ibd
  57. BIN
      docker/mysql/data/mysql/procs_priv.ibd
  58. BIN
      docker/mysql/data/mysql/proxies_priv.ibd
  59. BIN
      docker/mysql/data/mysql/role_edges.ibd
  60. BIN
      docker/mysql/data/mysql/routines.ibd
  61. BIN
      docker/mysql/data/mysql/schemata.ibd
  62. BIN
      docker/mysql/data/mysql/server_cost.ibd
  63. BIN
      docker/mysql/data/mysql/servers.ibd
  64. BIN
      docker/mysql/data/mysql/slave_master_info.ibd
  65. BIN
      docker/mysql/data/mysql/slave_relay_log_info.ibd
  66. BIN
      docker/mysql/data/mysql/slave_worker_info.ibd
  67. BIN
      docker/mysql/data/mysql/slow_log.CSM
  68. 201 0
      docker/mysql/data/mysql/slow_log_103.SDI
  69. BIN
      docker/mysql/data/mysql/st_spatial_reference_systems.ibd
  70. BIN
      docker/mysql/data/mysql/table_partition_values.ibd
  71. BIN
      docker/mysql/data/mysql/table_partitions.ibd
  72. BIN
      docker/mysql/data/mysql/table_stats.ibd
  73. BIN
      docker/mysql/data/mysql/tables.ibd
  74. BIN
      docker/mysql/data/mysql/tables_priv.ibd
  75. BIN
      docker/mysql/data/mysql/tablespace_files.ibd
  76. BIN
      docker/mysql/data/mysql/tablespaces.ibd
  77. BIN
      docker/mysql/data/mysql/time_zone.ibd
  78. BIN
      docker/mysql/data/mysql/time_zone_leap_second.ibd
  79. BIN
      docker/mysql/data/mysql/time_zone_name.ibd
  80. BIN
      docker/mysql/data/mysql/time_zone_transition.ibd
  81. BIN
      docker/mysql/data/mysql/time_zone_transition_type.ibd
  82. BIN
      docker/mysql/data/mysql/triggers.ibd
  83. BIN
      docker/mysql/data/mysql/user.ibd
  84. BIN
      docker/mysql/data/mysql/version.ibd
  85. BIN
      docker/mysql/data/mysql/view_routine_usage.ibd
  86. BIN
      docker/mysql/data/mysql/view_table_usage.ibd
  87. 11 0
      docker/mysql/data/performance_sche_3.SDI
  88. 176 0
      docker/mysql/data/performance_schema/accounts_186.SDI
  89. 134 0
      docker/mysql/data/performance_schema/cond_instances_125.SDI
  90. 327 0
      docker/mysql/data/performance_schema/events_errors_su_179.SDI
  91. 292 0
      docker/mysql/data/performance_schema/events_errors_su_180.SDI
  92. 292 0
      docker/mysql/data/performance_schema/events_errors_su_181.SDI
  93. 292 0
      docker/mysql/data/performance_schema/events_errors_su_182.SDI
  94. 257 0
      docker/mysql/data/performance_schema/events_errors_su_183.SDI
  95. 425 0
      docker/mysql/data/performance_schema/events_stages_cu_155.SDI
  96. 425 0
      docker/mysql/data/performance_schema/events_stages_hi_156.SDI
  97. 396 0
      docker/mysql/data/performance_schema/events_stages_hi_157.SDI
  98. 263 0
      docker/mysql/data/performance_schema/events_stages_su_158.SDI
  99. 263 0
      docker/mysql/data/performance_schema/events_stages_su_159.SDI
  100. 263 0
      docker/mysql/data/performance_schema/events_stages_su_160.SDI

+ 119 - 0
.gitignore

@@ -0,0 +1,119 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Node template
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+lerna-debug.log*
+
+# Diagnostic reports (https://nodejs.org/api/report.html)
+report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
+
+# Runtime data
+pids
+*.pid
+*.seed
+*.pid.lock
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+*.lcov
+
+# nyc test coverage
+.nyc_output
+
+# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# Bower dependency directory (https://bower.io/)
+bower_components
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (https://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directories
+node_modules/
+jspm_packages/
+
+# Snowpack dependency directory (https://snowpack.dev/)
+web_modules/
+
+# TypeScript cache
+*.tsbuildinfo
+
+# Optional npm cache directory
+.npm
+
+# Optional eslint cache
+.eslintcache
+
+# Microbundle cache
+.rpt2_cache/
+.rts2_cache_cjs/
+.rts2_cache_es/
+.rts2_cache_umd/
+
+# Optional REPL history
+.node_repl_history
+
+# Output of 'npm pack'
+*.tgz
+
+# Yarn Integrity file
+.yarn-integrity
+
+# dotenv environment variables file
+.env
+.env.test
+
+# parcel-bundler cache (https://parceljs.org/)
+.cache
+.parcel-cache
+
+# Next.js build output
+.next
+out
+
+# Nuxt.js build / generate output
+.nuxt
+dist
+
+# Gatsby files
+.cache/
+# Comment in the public line in if your project uses Gatsby and not Next.js
+# https://nextjs.org/blog/next-9-1#public-directory-support
+# public
+
+# vuepress build output
+.vuepress/dist
+
+# Serverless directories
+.serverless/
+
+# FuseBox cache
+.fusebox/
+
+# DynamoDB Local files
+.dynamodb/
+
+# TernJS port file
+.tern-port
+
+# Stores VSCode versions used for testing VSCode extensions
+.vscode-test
+
+# yarn v2
+.yarn/cache
+.yarn/unplugged
+.yarn/build-state.yml
+.yarn/install-state.gz
+.pnp.*
+

+ 5 - 0
.idea/codeStyles/codeStyleConfig.xml

@@ -0,0 +1,5 @@
+<component name="ProjectCodeStyleConfiguration">
+  <state>
+    <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
+  </state>
+</component>

+ 6 - 0
.idea/jsLibraryMappings.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="JavaScriptLibraryMappings">
+    <includedPredefinedLibrary name="Node.js Core" />
+  </component>
+</project>

+ 8 - 0
.idea/modules.xml

@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/sysm.iml" filepath="$PROJECT_DIR$/.idea/sysm.iml" />
+    </modules>
+  </component>
+</project>

+ 12 - 0
.idea/sysm.iml

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$">
+      <excludeFolder url="file://$MODULE_DIR$/.tmp" />
+      <excludeFolder url="file://$MODULE_DIR$/temp" />
+      <excludeFolder url="file://$MODULE_DIR$/tmp" />
+    </content>
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>

+ 244 - 0
.idea/workspace.xml

@@ -0,0 +1,244 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="AutoImportSettings">
+    <option name="autoReloadType" value="SELECTIVE" />
+  </component>
+  <component name="BranchesTreeState">
+    <expand>
+      <path>
+        <item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
+        <item name="LOCAL_ROOT" type="e8cecc67:BranchNodeDescriptor" />
+      </path>
+      <path>
+        <item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
+        <item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
+      </path>
+      <path>
+        <item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
+        <item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
+        <item name="GROUP_NODE:origin" type="e8cecc67:BranchNodeDescriptor" />
+      </path>
+    </expand>
+    <select />
+  </component>
+  <component name="ChangeListManager">
+    <list default="true" id="bb1f3005-ed34-4ee2-944a-e491e8603e31" name="Default Changelist" comment="docker">
+      <change beforePath="$PROJECT_DIR$/views/about.jade" beforeDir="false" afterPath="$PROJECT_DIR$/views/about.jade" afterDir="false" />
+    </list>
+    <option name="SHOW_DIALOG" value="false" />
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
+    <option name="LAST_RESOLUTION" value="IGNORE" />
+  </component>
+  <component name="Git.Settings">
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
+  </component>
+  <component name="JsFlowSettings">
+    <service-enabled>true</service-enabled>
+    <exe-path />
+    <other-services-enabled>true</other-services-enabled>
+    <auto-save>true</auto-save>
+  </component>
+  <component name="ProjectId" id="1klqEQgdXoBaRflyIEIDkMMh3cj" />
+  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
+  <component name="ProjectViewState">
+    <option name="hideEmptyMiddlePackages" value="true" />
+    <option name="showLibraryContents" value="true" />
+  </component>
+  <component name="PropertiesComponent">
+    <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
+    <property name="WebServerToolWindowFactoryState" value="false" />
+    <property name="javascript.nodejs.core.library.configured.version" value="10.19.0" />
+    <property name="javascript.nodejs.core.library.typings.version" value="10.17.47" />
+    <property name="js.buildTools.grunt.grunt-cli.package" value="$PROJECT_DIR$/node_modules/grunt" />
+    <property name="last_opened_file_path" value="/usr/local/bin/cnpm" />
+    <property name="nodejs_interpreter_path" value="node" />
+    <property name="nodejs_package_manager_path" value="npm" />
+    <property name="settings.editor.selected.configurable" value="DockerRegistry" />
+    <property name="vue.rearranger.settings.migration" value="true" />
+  </component>
+  <component name="RunManager" selected="Grunt.js.uglify">
+    <configuration default="true" type="js.build_tools.grunt">
+      <node-interpreter value="node" />
+      <envs />
+      <method v="2" />
+    </configuration>
+    <configuration name="uglify" type="js.build_tools.grunt" temporary="true">
+      <node-interpreter value="project" />
+      <gruntfile value="$PROJECT_DIR$/Gruntfile.js" />
+      <tasks>
+        <task value="uglify" />
+      </tasks>
+      <envs />
+      <method v="2" />
+    </configuration>
+    <configuration name="uglify:my_client" type="js.build_tools.grunt" temporary="true">
+      <node-interpreter value="project" />
+      <gruntfile value="$PROJECT_DIR$/Gruntfile.js" />
+      <tasks>
+        <task value="uglify:my_client" />
+      </tasks>
+      <envs />
+      <method v="2" />
+    </configuration>
+    <configuration name="uglify:my_server" type="js.build_tools.grunt" temporary="true">
+      <node-interpreter value="project" />
+      <gruntfile value="$PROJECT_DIR$/Gruntfile.js" />
+      <tasks>
+        <task value="uglify:my_server" />
+      </tasks>
+      <envs />
+      <method v="2" />
+    </configuration>
+    <configuration name="my-install" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
+      <package-json value="$PROJECT_DIR$/package.json" />
+      <command value="run" />
+      <scripts>
+        <script value="my-install" />
+      </scripts>
+      <node-interpreter value="project" />
+      <envs />
+      <method v="2" />
+    </configuration>
+    <configuration name="my-start" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
+      <package-json value="$PROJECT_DIR$/package.json" />
+      <command value="run" />
+      <scripts>
+        <script value="my-start" />
+      </scripts>
+      <node-interpreter value="project" />
+      <envs />
+      <method v="2" />
+    </configuration>
+    <recent_temporary>
+      <list>
+        <item itemvalue="npm.my-start" />
+        <item itemvalue="npm.my-install" />
+        <item itemvalue="Grunt.js.uglify:my_server" />
+        <item itemvalue="Grunt.js.uglify:my_client" />
+        <item itemvalue="Grunt.js.uglify" />
+      </list>
+    </recent_temporary>
+  </component>
+  <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
+  <component name="TaskManager">
+    <task active="true" id="Default" summary="Default task">
+      <changelist id="bb1f3005-ed34-4ee2-944a-e491e8603e31" name="Default Changelist" comment="" />
+      <created>1606285414489</created>
+      <option name="number" value="Default" />
+      <option name="presentableId" value="Default" />
+      <updated>1606285414489</updated>
+      <workItem from="1606285415701" duration="1285000" />
+      <workItem from="1606286707373" duration="228000" />
+      <workItem from="1606287158287" duration="4533000" />
+      <workItem from="1606291700375" duration="9663000" />
+    </task>
+    <task id="LOCAL-00001" summary="docker">
+      <created>1606299579543</created>
+      <option name="number" value="00001" />
+      <option name="presentableId" value="LOCAL-00001" />
+      <option name="project" value="LOCAL" />
+      <updated>1606299579543</updated>
+    </task>
+    <task id="LOCAL-00002" summary="docker">
+      <created>1606308178115</created>
+      <option name="number" value="00002" />
+      <option name="presentableId" value="LOCAL-00002" />
+      <option name="project" value="LOCAL" />
+      <updated>1606308178115</updated>
+    </task>
+    <task id="LOCAL-00003" summary="docker">
+      <created>1606308312624</created>
+      <option name="number" value="00003" />
+      <option name="presentableId" value="LOCAL-00003" />
+      <option name="project" value="LOCAL" />
+      <updated>1606308312624</updated>
+    </task>
+    <option name="localTasksCounter" value="4" />
+    <servers />
+  </component>
+  <component name="TypeScriptGeneratedFilesManager">
+    <option name="version" value="3" />
+  </component>
+  <component name="Vcs.Log.Tabs.Properties">
+    <option name="TAB_STATES">
+      <map>
+        <entry key="MAIN">
+          <value>
+            <State />
+          </value>
+        </entry>
+      </map>
+    </option>
+  </component>
+  <component name="VcsManagerConfiguration">
+    <MESSAGE value="docker" />
+    <option name="LAST_COMMIT_MESSAGE" value="docker" />
+  </component>
+  <component name="WindowStateProjectService">
+    <state x="2536" y="290" width="373" height="384" key="#Docker_Registry" timestamp="1606303136078">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2536" y="290" width="373" height="384" key="#Docker_Registry/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606303136078" />
+    <state x="2581" y="332" width="594" height="414" key="#Notifications" timestamp="1606286735077">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2581" y="332" width="594" height="414" key="#Notifications/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606286735077" />
+    <state x="2673" y="356" width="653" height="225" key="#Push_Image" timestamp="1606305105344">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2673" y="356" width="653" height="225" key="#Push_Image/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606305105344" />
+    <state x="2783" y="223" width="651" height="462" key="#Vim_Emulation" timestamp="1606286779049">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2783" y="223" width="651" height="462" key="#Vim_Emulation/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606286779049" />
+    <state x="2665" y="268" width="424" height="530" key="FileChooserDialogImpl" timestamp="1606286670214">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2665" y="268" width="424" height="530" key="FileChooserDialogImpl/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606286670214" />
+    <state width="1893" height="261" key="GridCell.Tab.0.bottom" timestamp="1606289598975">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state width="1893" height="261" key="GridCell.Tab.0.bottom/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606289598975" />
+    <state width="1893" height="261" key="GridCell.Tab.0.center" timestamp="1606289598974">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state width="1893" height="261" key="GridCell.Tab.0.center/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606289598974" />
+    <state width="1893" height="261" key="GridCell.Tab.0.left" timestamp="1606289598974">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state width="1893" height="261" key="GridCell.Tab.0.left/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606289598974" />
+    <state width="1893" height="261" key="GridCell.Tab.0.right" timestamp="1606289598975">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state width="1893" height="261" key="GridCell.Tab.0.right/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606289598975" />
+    <state x="2364" y="58" width="1031" height="742" key="SettingsEditor" timestamp="1606304990667">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2364" y="58" width="1031" height="742" key="SettingsEditor/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606304990667" />
+    <state x="2478" y="247" width="800" height="543" key="Vcs.Push.Dialog.v2" timestamp="1606308314618">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2478" y="247" width="800" height="543" key="Vcs.Push.Dialog.v2/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606308314618" />
+    <state x="2020" y="80" width="1720" height="890" key="com.intellij.history.integration.ui.views.FileHistoryDialog" timestamp="1606288165284">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2020" y="80" width="1720" height="890" key="com.intellij.history.integration.ui.views.FileHistoryDialog/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606288165284" />
+    <state x="3194" y="278" width="389" height="670" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser" timestamp="1606297900783">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="3194" y="278" width="389" height="670" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606297900783" />
+    <state x="3072" y="138" width="638" height="942" key="find.popup" timestamp="1606308337886">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="3072" y="138" width="638" height="942" key="find.popup/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606308337886" />
+    <state x="2602" y="338" width="550" height="389" key="jetbrains.nodejs.interpreters-dialog" timestamp="1606286671344">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2602" y="338" width="550" height="389" key="jetbrains.nodejs.interpreters-dialog/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606286671344" />
+    <state x="2543" y="231" width="672" height="678" key="search.everywhere.popup" timestamp="1606288063153">
+      <screen x="1920" y="0" width="1920" height="1080" />
+    </state>
+    <state x="2543" y="231" width="672" height="678" key="search.everywhere.popup/0.27.1920.1004/1920.0.1920.1080@1920.0.1920.1080" timestamp="1606288063153" />
+  </component>
+</project>

+ 24 - 0
Dockerfile

@@ -0,0 +1,24 @@
+# 设置基础镜像,如果本地没有该镜像,会从Docker.io服务器pull镜像
+FROM qtrj.i234.me:8084/node:10.19.0
+
+MAINTAINER felixyin<ybkk1027@gmail.com>
+
+# 安装npm模块
+RUN npm install pm2 bower -g --registry=https://registry.npm.taobao.org;
+
+VOLUME /code
+
+WORKDIR /code
+ADD . .
+
+# 安装web静态资源
+RUN bower install --allow-root;
+
+# 安装node依赖库
+RUN npm install --registry=https://registry.npm.taobao.org;
+
+# 暴露container的端口
+EXPOSE 10001
+
+# pm2 启动应用,前台运行,设置日志格式
+CMD  pm2 start index -i 2 --no-daemon --merge-logs --log-date-format="YYYY-MM-DD HH:mm Z"

+ 240 - 0
Gruntfile.js

@@ -0,0 +1,240 @@
+/**
+ * Created by fy on 15-9-13.
+ */
+'use strict';
+
+
+const fs = require('fs');
+const db = require('./config/db');
+
+
+module.exports = function (grunt) {
+
+
+    grunt.initConfig({
+        pkg: grunt.file.readJSON('package.json'),
+        babel: {
+            options: {
+                sourceMap: false,
+                experimental: true
+            },
+            dist: {
+                files: {
+                    'test/es7-test.js': 'test/es7-test.es7.js'
+                }
+            }
+        },
+        watch: {
+            /*scripts: {
+             files: ['test/es7-test.es7.js'],
+             tasks: ['babel'],
+             options: {
+             spawn: false
+             }
+             },*/
+            scripts: {
+                files: ["**/**/fragment/*.jade"],
+                tasks: ['jade', 'includeTemplateScript'],
+                options: {
+                    spawn: false
+                }
+            }/*,
+             live: {
+             files: '**!/!*',
+             options: {
+             livereload: true /!*35729*!/
+             }
+             }*/
+        },
+        jade: {
+            node: {
+                src: ["**/**/fragment/*.jade"],
+                dest: 'public/javascripts/fragment',
+                options: {
+                    client: true,
+                    compileDebug: false
+                }
+            }
+        },
+        uglify: {
+            my_client: {
+                files: [{
+                    expand: true,
+                    cwd: 'public/',
+                    src: ['**/*.js', '!**/*.min.js'],
+                    dest: '../dest/lrs/public'
+                }]
+            },
+            my_server: {
+                files: {
+                    '../dest/lrs/config/db.js': ['config/db.js'],
+                    '../dest/lrs/lib/date/index.js': ['lib/date/index.js'],
+                    '../dest/lrs/lib/pager/select-pager.js': ['lib/pager/select-pager.js'],
+                    '../dest/lrs/lib/pdf/index.js': ['lib/pdf/index.js'],
+                    '../dest/lrs/lib/pinyin/index.js': ['lib/pinyin/index.js'],
+                    '../dest/lrs/lib/utils.js': ['lib/utils.js'],
+                    //'../dest/lrs/lib/myfs/digui.js': ['lib/myfs/digui.js'],
+                    '../dest/lrs/routes/book/category.js': ['routes/book/category.js'],
+                    '../dest/lrs/routes/book/pdf.js': ['routes/book/pdf.js'],
+                    '../dest/lrs/routes/user/index.js': ['routes/user/index.js'],
+                    '../dest/lrs/routes/import/index.js': ['routes/import/index.js'],
+                    '../dest/lrs/routes/about.js': ['routes/about.js'],
+                    '../dest/lrs/routes/index.js': ['routes/index.js'],
+                    '../dest/lrs/service/api/service.js': ['service/api/service.js'],
+                    '../dest/lrs/service/book/category.js': ['service/book/category.js'],
+                    '../dest/lrs/service/book/pdf.js': ['service/book/pdf.js'],
+                    '../dest/lrs/service/user/index.js': ['service/user/index.js'],
+                    //'../dest/lrs/service/import/index.js': ['service/import/index.js'],
+                    '../dest/lrs/app.js': ['app.js']
+                }
+            }
+        },
+        cssmin: {
+            files: {
+                expand: true,
+                cwd: 'public',
+                src: ['**/*.css', '!**/*.min.css'],
+                dest: '../dest/lrs/public'
+                //ext: '.css'
+            }
+        },
+        copy: {
+            my_erweima: {
+                flatten: true,
+                src: 'public/erweima/shu.png',
+                dest: '../dest/lrs/'
+            },
+            my_pdf_img: {
+                flatten: true,
+                src: 'public/files/**/*.txt',
+                dest: '../dest/lrs/'
+            },
+            my_sql: {
+                flatten: true,
+                src: 'config/init-db.sql',
+                dest: '../dest/lrs/'
+            },
+            my_img: {
+                flatten: true,
+                src: 'public/assets/images/*',
+                dest: '../dest/lrs/'
+            },
+            my_package: {
+                flatten: true,
+                src: 'package.json',
+                dest: '../dest/lrs/package.json'
+            },
+            my_rpc: {
+                flatten: true,
+                src: 'lib/rpc/**/*',
+                dest: '../dest/lrs/'
+            },
+            my_views: {
+                flatten: true,
+                src: 'views/**/*',
+                dest: '../dest/lrs/'
+            },
+            my_css: {
+                flatten: true,
+                src: 'public/**/*.min.css',
+                dest: '../dest/lrs/'
+            },
+            my_js: {
+                flatten: true,
+                src: 'public/**/*.min.js',
+                dest: '../dest/lrs/'
+            },
+            my_unzip: {
+                flatten: true,
+                src: 'lib/unzip/**/*',
+                dest: '../dest/lrs/'
+            },
+            // fixme 这个地方可能有问题
+            //my_node_modules: {
+            //    flatten: true,
+            //    src: 'node_modules/**/*',
+            //    dest: '../dest/lrs/'
+            //},
+            my_font: {
+                flatten: true,
+                src: 'public/**/font/*',
+                dest: '../dest/lrs/'
+            },
+            my_main: {
+                flatten: true,
+                src: 'index',
+                dest: '../dest/lrs/index'
+            },
+            my_digui: {
+                flatten: true,
+                src: 'lib/myfs/digui.js',
+                dest: '../dest/lrs/'
+            },
+            my_import: {
+                flatten: true,
+                src: 'service/import/index.js',
+                dest: '../dest/lrs/'
+            },
+            my_excel: {
+                flatten: true,
+                src: 'public/excel/用户导入模板.xlsx',
+                dest: '../dest/lrs/'
+            },
+            my_zip: {
+                flatten: true,
+                src: 'public/zip/zip-upload-template.zip',
+                dest: '../dest/lrs/'
+            }
+        }
+    });
+
+    //require('load-grunt-tasks')(grunt);
+
+    //grunt.loadNpmTasks('grunt-babel');
+    grunt.loadNpmTasks('grunt-contrib-watch');
+    grunt.loadNpmTasks('grunt-contrib-uglify');
+    grunt.loadNpmTasks('grunt-contrib-cssmin');
+    grunt.loadNpmTasks('grunt-contrib-copy');
+    grunt.loadNpmTasks('grunt-jade-runtime');
+
+    //grunt.registerTask('my-babel-watch', 'watch');
+    grunt.registerTask('default', ['cssmin', 'uglify', 'copy']);
+    grunt.registerTask('watch', ['jade', 'watch']);
+
+    grunt.registerTask('includeTemplateScript', '自动生成模板导入script', function () {
+        var scriptFolder = '/javascripts/fragment';
+        var path = [__dirname, '/public', scriptFolder].join('');
+        var files = fs.readdirSync(path);
+        fs.writeFileSync(__dirname + '/views/include/template.jade', files.filter(function (item) {
+            return item.toString().indexOf('runtime.js') == -1; //排除jade模板运行时
+        }).map(function (item) {
+            return ['script(src="', scriptFolder, '/', item, '")\n'].join('');
+        }).join(''));
+    });
+    //
+    // grunt.registerTask('genForm', '生成form表单', function () {
+    //
+    //     let sql = `SELECT  t.COLUMN_NAME as cn, t.COLUMN_COMMENT as cc, t.COLUMN_TYPE as ct
+    //         FROM information_schema.COLUMNS t
+    //         WHERE t.TABLE_NAME = 'dna_flow'`;
+    //
+    //     db.pool.query(sql, function (err, result) {
+    //         for (let idx in result) {
+    //             let row = result[idx];
+    //
+    //             let input = `    .form-group
+    //     label.col-sm-3.control-label.no-padding-right(for='ff-${idx}') ${row.cc}
+    //     .col-sm-9
+    //         input#ff-${idx}.col-sm-6(type='text', name='${row.cn}', value='#{${row.cn}||""}', placeholder='')
+    //         span.help-inline.col-xs-12.col-sm-6
+    //             span.middle.hide Inline help text
+    // .space-4`;
+    //             print(input)
+    //             console.error(input);
+    //         }
+    //
+    //     });
+    //
+    // });
+
+};

+ 1 - 0
PROCESS_ID

@@ -0,0 +1 @@
+25

+ 36 - 0
README.md

@@ -0,0 +1,36 @@
+# sysm
+兴瑞实验室管理系统
+
+运行环境:docker 17.03.1
+
+
+
+## 全自动运行方法:
+ - 创建容器和启动:docker-compose up -d
+ - 打开浏览器访问:http://localhost:8081
+ - 停止请用:docker-compose down
+
+
+## 手动运行方法:
+1. 安装mysql、redis依赖:
+  - 安装mysql和初始化数据库,参照docker/mysql/readme.md
+  - 安装redis,参照docker/redis/readme.md
+  
+2. 运行项目:
+  - cd [root目录]
+  - 编译镜像:docker build -t felixyin/sysm ./  或者是:docker pull felixyin/sysm
+  - 运行:docker run  -d --name sysm-web -p 8081:8080 --link sysm-mysql:db --link sysm-redis:redis felixyin/sysm
+  
+
+## 数据目录:
+
+1. mysql数据目录:
+  系统启动后,会自动"挂载" **docker/mysql/data** 目录作为mysql的数据存放位置
+2. redis数据目录:
+  系统启动后,会自动"挂载" **docker/redis/data** 目录作为mysql的数据存放位置
+
+
+## 代码提交和持续集成
+1. 支持git,代码提交到github
+2. 代码更新:docker exec -it felixyin/sysm-web bash update
+2. 重新启动:docker-compose restart

+ 186 - 0
app.js

@@ -0,0 +1,186 @@
+const express = require('express');
+const path = require('path');
+const favicon = require('serve-favicon');
+const logger = require('morgan');
+const bodyParser = require('body-parser');
+const serveStatic = require('serve-static');
+const session = require('express-session');
+const cookieParser = require('cookie-parser');
+const RedisStore = require('connect-redis')(session);
+
+const app = express();
+
+
+// view engine setup
+app.set('views', path.join(__dirname, 'views'));
+app.set('view engine', 'jade');
+
+// uncomment after placing your favicon in /public
+//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
+app.disable('etag');
+// app.use(logger('dev'));
+app.use(bodyParser.json());
+app.use(bodyParser.urlencoded({extended: false}));
+app.use(express.static(path.join(__dirname, 'public')));
+//app.use(express.static(path.join(__dirname, 'node_modules')));
+app.use(serveStatic('bower_components'));
+app.use(cookieParser('fy_'));
+
+// app.use(session({
+//    secret: 'felix yin',
+//    name: 'LrsGame',   //这里的name值得是cookie的name,默认cookie的name是:connect.sid
+//    cookie: {maxAge: 60000 * 300},  //设置maxAge是80000ms,即80s后session和相应的cookie失效过期
+//    resave: true,
+//    saveUninitialized: true
+// }));
+app.use(session({
+    name: 'sid',
+    secret: 'sysm-felix-',
+    resave: true,
+    rolling: true,
+    saveUninitialized: true,
+    cookie: {maxAge: 60000 * 3000},
+    store: new RedisStore({
+        // "host": "redis",
+        "host": "qtrj.i234.me",
+        // "host": "localhost",
+        "port": "6380",
+        // "pass": "123456",
+        "db": 4,
+        "ttl": 1800,
+        "logErrors": true
+    })
+}));
+
+app.use(function (req, res, next) {
+    let url = req.originalUrl;
+    if (url !== "/login" && url !== "/sessionLess" && url !== "/" && !req.session.username) {
+        return res.redirect("/sessionLess");
+    }
+    next();
+});
+
+app.use(function (req, res, next) {
+    res.locals.userid = req.session.userid || null;
+    res.locals.auth = req.session.auth || null;
+    res.locals.username = req.session.username || null;
+    //res.locals.menus = req.session.menus || null;
+    next();
+});
+
+
+// =================================================================================
+
+//注册登陆等
+let index = require('./routes/index');
+app.use('/', index);
+//标签接收管理模块
+app.use('/dna/receive', require('./routes/dna/receive'));
+//DNA提取管理模块
+app.use('/dna/extract', require('./routes/dna/extract'));
+//建库管理
+app.use('/dna/storage', require('./routes/dna/storage'));
+//上机管理
+app.use('/dna/operate', require('./routes/dna/operate'));
+//分析报告管理
+app.use('/dna/report', require('./routes/dna/report'));
+//超级管理
+app.use('/dna/admin', require('./routes/dna/admin'));
+//重做模块
+app.use('/dna/redo', require('./routes/dna/redo'));
+
+//用户管理模块
+let user = require('./routes/user');
+app.use('/user', user);
+//基本设置
+let settings = require('./routes/settings/index');
+app.use('/settings', settings);
+//关于模块
+let about = require('./routes/about');
+app.use('/about', about);
+//公共模块
+let common = require('./routes/common');
+app.use('/common', common);
+
+
+//自动注册所有service为rpc服务
+let rpc = require('./lib/rpc');
+let dirWalk = require('./lib/myfs/digui');
+let _s = require('underscore.string');
+let serviceFileFolder = __dirname + '/service';
+let serviceFileList = dirWalk.syncWalk(serviceFileFolder, 0);
+// console.info('页面需引入RPC注册的服务地址是: ');
+let rpcScripts = serviceFileList.map(function (o) {
+    let service = require('.' + o.rpcPath),
+        ret = o.rpcPath.split('/'),
+        clientName = _s.capitalize(ret[ret.length - 2]) + _s.capitalize(ret[ret.length - 1].replace('.js', '')),
+        script = ['script(src=\'', o.rpcPath, '/helper.js', '\')\n', "script var ", clientName, " = new ", clientName, "('", o.rpcPath, "');\n"].join('');
+    app.use(o.rpcPath, rpc(express, '/helper.js', clientName, service));
+    // console.log(script);
+    return script;
+});
+let fs = require('fs');
+let rpcJadePath = __dirname + '/views/include/rpc.jade';
+try {
+    fs.unlinkSync(rpcJadePath);
+} catch (e) {
+}
+fs.writeFile(rpcJadePath, rpcScripts.join('\n'), function (err, x) {
+});
+
+//生成jade模板的导入script
+let scriptFolder = '/javascripts/fragment';
+let spath = [__dirname, '/public', scriptFolder].join('');
+let files = fs.readdirSync(spath);
+fs.writeFileSync(__dirname + '/views/include/template.jade', files.filter(function (item) {
+    return item.toString().indexOf('runtime.js') === -1; //排除jade模板运行时
+}).map(function (item) {
+    return ['script(src="', scriptFolder, '/', item, '")\n'].join('');
+}).join(''));
+//let serviceList = require('./service/api/service');
+//app.use('/rpc', rpc(express, '/helper.js', 'APIClient', serviceList));
+
+// =================================================================================
+
+/*app.use('/test_session', function (req, res, next) {
+ let u = req.session.user;
+ res.send(u);
+ });*/
+
+// catch 404 and forward to error handler
+app.use(function (req, res, next) {
+    let err = new Error('Not Found');
+    err.status = 404;
+    // next(err);
+    res.render('404', {
+        message: err.message,
+        error: err
+    });
+});
+
+// error handlers
+// development error handler
+// will print stacktrace
+if (app.get('env') === 'development') {
+    app.use(function (err, req, res, next) {
+        res.status(err.status || 500);
+        console.error(err);
+        res.render('500', {
+            message: err.message,
+            error: err
+        });
+    });
+}
+
+// production error handler
+// no stacktraces leaked to user
+app.use(function (err, req, res, next) {
+    res.status(err.status || 500);
+    console.error(JSON.stringify(err));
+    res.render('500', {
+        message: err.message,
+        error: {}
+    });
+});
+
+module.exports = app;

+ 24 - 0
bower.json

@@ -0,0 +1,24 @@
+{
+  "name": "sysm",
+  "version": "0.0.1",
+  "homepage": "",
+  "authors": [
+    "hchtz <ybkk1027@foxmail.com>"
+  ],
+  "moduleType": [
+    "node"
+  ],
+  "license": "MIT",
+  "ignore": [
+    "**/.*",
+    "node_modules",
+    "bower_components",
+    "test",
+    "tests"
+  ],
+  "dependencies": {
+    "underscore": "~1.8.3",
+    "clipboard": "^1.5.16",
+    "animsition": "blivesta/animsition#~4.0.1"
+  }
+}

+ 43 - 0
config/db.js

@@ -0,0 +1,43 @@
+/**
+ * Created by yinbin on 2015/9/4.
+ */
+'use strict';
+
+const mysql = require('mysql');
+
+/**
+ * 生产机配置
+ */
+let poolOptions = {
+    host: 'qtrj.i234.me',
+    // host: 'mysql',
+    // host: 'localhost',
+    user: 'root',
+    port: 3308,
+    password: 'Ybkk1027',
+    database: 'items_xingrui',
+    dateStrings: true,
+    connectionLimit: 2
+};
+/*
+ var poolOptions = {
+ connectionLimit: process.env.MYSQL_CONNECTION_LIMIT || 50,
+ host: process.env.MYSQL_IP || 'localhost',
+ database: process.env.MYSQL_SCHEMA || 'lrs',
+ user: process.env.MYSQL_USERNAME || 'root',
+ password: process.env.MYSQL_PASSWORD || '123456'
+ };
+ */
+let pool = mysql.createPool(poolOptions);
+
+setInterval(function () {
+    pool.query('SELECT 1');
+}, 10000);
+
+
+exports.getConn = function () {
+    return mysql.createConnection(poolOptions);
+};
+
+
+exports.pool = pool;

+ 11 - 0
config/init-db.sql

@@ -0,0 +1,11 @@
+[
+"CREATE DATABASE `#SCHAME#`",
+"CREATE TABLE `dic_category` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(45) COLLATE utf8_bin NOT NULL, `img_path` varchar(200) COLLATE utf8_bin, `status` tinyint(4) NOT NULL DEFAULT '0', `cdate` datetime DEFAULT NULL, `udate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_bin",
+"CREATE TABLE `dic_pdf` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(60) COLLATE utf8_bin NOT NULL, `desc` varchar(100) COLLATE utf8_bin NOT NULL, `img_path` varchar(200) COLLATE utf8_bin DEFAULT NULL, `pdf_path` varchar(200) COLLATE utf8_bin NOT NULL, `html_dist` varchar(200) COLLATE utf8_bin DEFAULT NULL, `html_name` varchar(60) COLLATE utf8_bin DEFAULT NULL, `json` text COLLATE utf8_bin, `status` tinyint(4) NOT NULL DEFAULT '0', `cdate` datetime DEFAULT NULL, `udate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `dic_category_id` int(11) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name_UNIQUE` (`name`), KEY `fk_dic_book_dic_category_idx` (`dic_category_id`), CONSTRAINT `fk_dic_book_dic_category` FOREIGN KEY (`dic_category_id`) REFERENCES `dic_category` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COLLATE=utf8_bin",
+"CREATE TABLE `sys_user` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(20) COLLATE utf8_bin NOT NULL, `password` varchar(15) COLLATE utf8_bin NOT NULL, `company` varchar(45) COLLATE utf8_bin DEFAULT NULL, `department` varchar(45) COLLATE utf8_bin DEFAULT NULL, `name` varchar(25) COLLATE utf8_bin DEFAULT NULL, `phone` varchar(15) COLLATE utf8_bin DEFAULT NULL, `status` tinyint(4) NOT NULL DEFAULT '0', `cdate` datetime DEFAULT NULL, `udate` timestamp NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `username_UNIQUE` (`username`) ) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8 COLLATE=utf8_bin",
+"INSERT INTO `dic_category` (`id`, `name`, `img_path`, `status`, `cdate`, `udate`) VALUES (1, '铁人精神', NULL, '1', NOW(), NOW())",
+"INSERT INTO `dic_category` (`id`, `name`, `img_path`, `status`, `cdate`, `udate`) VALUES (2, '国学', NULL, '1', NOW(), NOW())",
+"INSERT INTO `dic_category` (`id`, `name`, `img_path`, `status`, `cdate`, `udate`) VALUES (3, '励志', NULL, '1', NOW(), NOW())",
+"INSERT INTO `dic_category` (`id`, `name`, `img_path`, `status`, `cdate`, `udate`) VALUES (4, '企业管理', NULL, '1', NOW(), NOW())"
+]
+

+ 32 - 0
docker-compose.yml

@@ -0,0 +1,32 @@
+version: '3.3'
+services:
+    web:
+      container_name: items_xingrui
+      build: .
+#      image: felixyin/sysm-web:latest
+      volumes:
+        - .:/code
+      ports:
+        - '10001:10001'
+#      links:
+#        - mysql
+#        - redis
+#    mysql:
+#      container_name: sysm-mysql
+#      build: ./docker/mysql/
+##      image: felixyin/sysm-mysql
+#      ports:
+#        - '3308:3308'
+#      volumes:
+#        - ./docker/mysql/data:/var/lib/mysql
+#      environment:
+#        - MYSQL_ROOT_PASSWORD=Ybkk1027
+#    redis:
+#      container_name: sysm-redis
+#      build: ./docker/redis/
+##      image: felixyin/sysm-redis
+#      ports:
+#        - '6380:6380'
+#      volumes:
+#        - ./docker/redis/data:/data
+#

+ 20 - 0
docker/mysql/Dockerfile

@@ -0,0 +1,20 @@
+FROM qtrj.i234.me:8084/mysql/mysql-server
+
+MAINTAINER FelixYin<ybkk1027@gmail.com>
+
+WORKDIR ./
+
+VOLUME /var/lib/mysql /etc/mysql/conf.d/
+
+COPY auth.sql /docker-entrypoint-initdb.d/
+
+COPY dump.sql /docker-entrypoint-initdb.d/
+
+#RUN service mysql start
+
+#RUN mysqldump -u root -p Ybkk1027 < /Dump20170325-2.sql
+
+#RUN service mysql stop
+
+EXPOSE 3308
+

+ 2 - 0
docker/mysql/auth.sql

@@ -0,0 +1,2 @@
+GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'Ybkk1027' WITH GRANT OPTION;
+update user set host='%' where user='root' and host='localhost';

+ 92 - 0
docker/mysql/cnf/sysm.cnf

@@ -0,0 +1,92 @@
+# Example MySQL config file for small systems.
+#
+# This is for a system with little memory (<= 64M) where MySQL is only used
+# from time to time and it's important that the mysqld daemon
+# doesn't use much resources.
+#
+# MySQL programs look for option files in a set of
+# locations which depend on the deployment platform.
+# You can copy this option file to one of those
+# locations. For information about these locations, see:
+# http://dev.mysql.com/doc/mysql/en/option-files.html
+#
+# In this file, you can use all long options that a program supports.
+# If you want to know which options a program supports, run the program
+# with the "--help" option.
+
+# The following options will be passed to all MySQL clients
+[client]
+default-character-set=utf8
+#password   = your_password
+port        = 3306
+
+# Here follows entries for some specific programs
+
+# The MySQL server
+[mysqld]
+default-storage-engine=INNODB
+character-set-server=utf8
+collation-server=utf8_general_ci
+port        = 3306
+skip-external-locking
+key_buffer_size = 16K
+max_allowed_packet = 1M
+table_open_cache = 4
+sort_buffer_size = 64K
+read_buffer_size = 256K
+read_rnd_buffer_size = 256K
+net_buffer_length = 2K
+thread_stack = 128K
+
+# Don't listen on a TCP/IP port at all. This can be a security enhancement,
+# if all processes that need to connect to mysqld run on the same host.
+# All interaction with mysqld must be made via Unix sockets or named pipes.
+# Note that using this option without enabling named pipes on Windows
+# (using the "enable-named-pipe" option) will render mysqld useless!
+#
+#skip-networking
+#server-id   = 1
+bind-address=0.0.0.0
+
+# Uncomment the following if you want to log updates
+#log-bin=mysql-bin
+
+# binary logging format - mixed recommended
+#binlog_format=mixed
+
+# Causes updates to non-transactional engines using statement format to be
+# written directly to binary log. Before using this option make sure that
+# there are no dependencies between transactional and non-transactional
+# tables such as in the statement INSERT INTO t_myisam SELECT * FROM
+# t_innodb; otherwise, slaves may diverge from the master.
+#binlog_direct_non_transactional_updates=TRUE
+
+# Uncomment the following if you are using InnoDB tables
+#innodb_data_home_dir = /usr/local/mysql/data
+#innodb_data_file_path = ibdata1:10M:autoextend
+#innodb_log_group_home_dir = /usr/local/mysql/data
+# You can set .._buffer_pool_size up to 50 - 80 %
+# of RAM but beware of setting memory usage too high
+#innodb_buffer_pool_size = 16M
+#innodb_additional_mem_pool_size = 2M
+# Set .._log_file_size to 25 % of buffer pool size
+#innodb_log_file_size = 5M
+#innodb_log_buffer_size = 8M
+#innodb_flush_log_at_trx_commit = 1
+#innodb_lock_wait_timeout = 50
+
+[mysqldump]
+quick
+max_allowed_packet = 16M
+
+[mysql]
+no-auto-rehash
+# Remove the next comment character if you are not familiar with SQL
+#safe-updates
+
+[myisamchk]
+key_buffer_size = 8M
+sort_buffer_size = 8M
+
+[mysqlhotcopy]
+interactive-timeout

+ 2 - 0
docker/mysql/data/auto.cnf

@@ -0,0 +1,2 @@
+[auto]
+server-uuid=c388bfca-152f-11e7-a906-0242ac110002

+ 0 - 0
docker/mysql/data/binlog.index


BIN
docker/mysql/data/ca-key.pem


BIN
docker/mysql/data/ca.pem


BIN
docker/mysql/data/client-cert.pem


BIN
docker/mysql/data/client-key.pem


+ 143 - 0
docker/mysql/data/ib_buffer_pool

@@ -0,0 +1,143 @@
+65,5
+66,8
+66,2
+66,5
+48,2
+13,59
+13,61
+14,9
+10,12
+67,141
+67,140
+67,139
+67,138
+67,137
+3,6
+3,2
+67,136
+3,5
+67,1
+66,19
+66,18
+66,17
+66,16
+66,15
+66,14
+66,13
+66,12
+66,1
+65,9
+65,8
+65,1
+58,6
+58,5
+58,2
+58,1
+56,5
+56,2
+56,1
+55,5
+55,2
+55,1
+54,5
+0,399
+0,240
+0,322
+54,1
+50,5
+50,1
+4,7
+49,6
+4,6
+49,5
+4,2
+49,2
+4,1
+49,1
+4,5
+48,5
+48,1
+39,5
+39,2
+39,1
+38,6
+38,5
+38,2
+38,1
+36,5
+36,2
+36,1
+13,17
+34,5
+34,2
+11,6
+34,1
+33,5
+11,2
+33,2
+11,1
+33,1
+11,5
+32,5
+12,2
+32,2
+32,1
+10,34
+10,14
+10,16
+10,30
+10,31
+31,6
+10,19
+31,5
+10,2
+31,2
+31,1
+14,2
+28,2
+21,7
+21,6
+21,5
+21,2
+21,1
+20,5
+20,2
+13,46
+20,1
+19,10
+19,9
+13,63
+19,8
+19,7
+13,55
+19,6
+19,5
+13,129
+19,2
+13,51
+19,1
+18,7
+13,64
+13,18
+18,6
+18,5
+13,72
+18,2
+13,32
+18,1
+17,8
+13,2
+17,7
+17,6
+17,5
+17,2
+17,1
+16,8
+16,7
+16,6
+16,5
+16,2
+16,1
+15,9
+15,2
+13,58

BIN
docker/mysql/data/mysql/catalogs.ibd


BIN
docker/mysql/data/mysql/character_sets.ibd


BIN
docker/mysql/data/mysql/collations.ibd


BIN
docker/mysql/data/mysql/column_stats.ibd


BIN
docker/mysql/data/mysql/column_type_elements.ibd


BIN
docker/mysql/data/mysql/columns.ibd


BIN
docker/mysql/data/mysql/columns_priv.ibd


BIN
docker/mysql/data/mysql/component.ibd


BIN
docker/mysql/data/mysql/db.ibd


BIN
docker/mysql/data/mysql/default_roles.ibd


BIN
docker/mysql/data/mysql/engine_cost.ibd


BIN
docker/mysql/data/mysql/events.ibd


BIN
docker/mysql/data/mysql/foreign_key_column_usage.ibd


BIN
docker/mysql/data/mysql/foreign_keys.ibd


BIN
docker/mysql/data/mysql/func.ibd


BIN
docker/mysql/data/mysql/general_log.CSM


+ 205 - 0
docker/mysql/data/mysql/general_log_102.SDI

@@ -0,0 +1,205 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "general_log",
+        "mysql_version_id": 80000,
+        "created": 20170330100055,
+        "last_altered": 20170330100055,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "event_time",
+                "type": 18,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 26,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 6,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAA==",
+                "default_option": "CURRENT_TIMESTAMP(6)",
+                "update_option": "CURRENT_TIMESTAMP(6)",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp(6)",
+                "elements": [],
+                "collation_id": 8
+            },
+            {
+                "name": "user_host",
+                "type": 25,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 8,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "mediumtext",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "thread_id",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 21,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(21) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "server_id",
+                "type": 4,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 10,
+                "numeric_precision": 10,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "int(10) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "command_type",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "argument",
+                "type": 25,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 8,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "mediumblob",
+                "elements": [],
+                "collation_id": 63
+            }
+        ],
+        "schema_ref": "mysql",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "CSV",
+        "comment": "General log",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

BIN
docker/mysql/data/mysql/gtid_executed.ibd


BIN
docker/mysql/data/mysql/help_category.ibd


BIN
docker/mysql/data/mysql/help_keyword.ibd


BIN
docker/mysql/data/mysql/help_relation.ibd


BIN
docker/mysql/data/mysql/help_topic.ibd


BIN
docker/mysql/data/mysql/index_column_usage.ibd


BIN
docker/mysql/data/mysql/index_partitions.ibd


BIN
docker/mysql/data/mysql/index_stats.ibd


BIN
docker/mysql/data/mysql/indexes.ibd


BIN
docker/mysql/data/mysql/innodb_index_stats.ibd


BIN
docker/mysql/data/mysql/innodb_table_stats.ibd


BIN
docker/mysql/data/mysql/parameter_type_elements.ibd


BIN
docker/mysql/data/mysql/parameters.ibd


BIN
docker/mysql/data/mysql/plugin.ibd


BIN
docker/mysql/data/mysql/procs_priv.ibd


BIN
docker/mysql/data/mysql/proxies_priv.ibd


BIN
docker/mysql/data/mysql/role_edges.ibd


BIN
docker/mysql/data/mysql/routines.ibd


BIN
docker/mysql/data/mysql/schemata.ibd


BIN
docker/mysql/data/mysql/server_cost.ibd


BIN
docker/mysql/data/mysql/servers.ibd


BIN
docker/mysql/data/mysql/slave_master_info.ibd


BIN
docker/mysql/data/mysql/slave_relay_log_info.ibd


BIN
docker/mysql/data/mysql/slave_worker_info.ibd


BIN
docker/mysql/data/mysql/slow_log.CSM


Разница между файлами не показана из-за своего большого размера
+ 201 - 0
docker/mysql/data/mysql/slow_log_103.SDI


BIN
docker/mysql/data/mysql/st_spatial_reference_systems.ibd


BIN
docker/mysql/data/mysql/table_partition_values.ibd


BIN
docker/mysql/data/mysql/table_partitions.ibd


BIN
docker/mysql/data/mysql/table_stats.ibd


BIN
docker/mysql/data/mysql/tables.ibd


BIN
docker/mysql/data/mysql/tables_priv.ibd


BIN
docker/mysql/data/mysql/tablespace_files.ibd


BIN
docker/mysql/data/mysql/tablespaces.ibd


BIN
docker/mysql/data/mysql/time_zone.ibd


BIN
docker/mysql/data/mysql/time_zone_leap_second.ibd


BIN
docker/mysql/data/mysql/time_zone_name.ibd


BIN
docker/mysql/data/mysql/time_zone_transition.ibd


BIN
docker/mysql/data/mysql/time_zone_transition_type.ibd


BIN
docker/mysql/data/mysql/triggers.ibd


BIN
docker/mysql/data/mysql/user.ibd


BIN
docker/mysql/data/mysql/version.ibd


BIN
docker/mysql/data/mysql/view_routine_usage.ibd


BIN
docker/mysql/data/mysql/view_table_usage.ibd


+ 11 - 0
docker/mysql/data/performance_sche_3.SDI

@@ -0,0 +1,11 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Schema",
+    "dd_object": {
+        "name": "performance_schema",
+        "default_collation_id": 33,
+        "created": 0,
+        "last_altered": 0
+    }
+}

+ 176 - 0
docker/mysql/data/performance_schema/accounts_186.SDI

@@ -0,0 +1,176 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "accounts",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=0;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "USER",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 96,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "char(32)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "HOST",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 180,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "char(60)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "CURRENT_CONNECTIONS",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 20,
+                "numeric_precision": 19,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TOTAL_CONNECTIONS",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 20,
+                "numeric_precision": 19,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20)",
+                "elements": [],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 1,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "ACCOUNT",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=2;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 96,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 180,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 134 - 0
docker/mysql/data/performance_schema/cond_instances_125.SDI

@@ -0,0 +1,134 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "cond_instances",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "NAME",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 384,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "varchar(128)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "OBJECT_INSTANCE_BEGIN",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 2,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "PRIMARY",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=0;",
+                "se_private_data": "",
+                "type": 1,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 8,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            },
+            {
+                "name": "NAME",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 2,
+                "comment": "",
+                "options": "flags=32;",
+                "se_private_data": "",
+                "type": 3,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 384,
+                        "order": 1,
+                        "column_opx": 0
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 327 - 0
docker/mysql/data/performance_schema/events_errors_su_179.SDI

@@ -0,0 +1,327 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_errors_summary_by_account_by_error",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "USER",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 96,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "char(32)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "HOST",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 180,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "char(60)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "ERROR_NUMBER",
+                "type": 4,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 11,
+                "numeric_precision": 10,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "int(11)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "ERROR_NAME",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SQL_STATE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 15,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(5)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_RAISED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_HANDLED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "FIRST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 8,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            },
+            {
+                "name": "LAST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 9,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "ACCOUNT",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=2;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 96,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 180,
+                        "order": 1,
+                        "column_opx": 1
+                    },
+                    {
+                        "ordinal_position": 3,
+                        "length": 4,
+                        "order": 1,
+                        "column_opx": 2
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 292 - 0
docker/mysql/data/performance_schema/events_errors_su_180.SDI

@@ -0,0 +1,292 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_errors_summary_by_host_by_error",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "HOST",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 180,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "char(60)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "ERROR_NUMBER",
+                "type": 4,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 11,
+                "numeric_precision": 10,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "int(11)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "ERROR_NAME",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SQL_STATE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 15,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(5)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_RAISED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_HANDLED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "FIRST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            },
+            {
+                "name": "LAST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 8,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "HOST",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=2;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 180,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 4,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 292 - 0
docker/mysql/data/performance_schema/events_errors_su_181.SDI

@@ -0,0 +1,292 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_errors_summary_by_user_by_error",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "USER",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 96,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "char(32)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "ERROR_NUMBER",
+                "type": 4,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 11,
+                "numeric_precision": 10,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "int(11)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "ERROR_NAME",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SQL_STATE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 15,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(5)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_RAISED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_HANDLED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "FIRST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            },
+            {
+                "name": "LAST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 8,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "USER",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=2;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 96,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 4,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 292 - 0
docker/mysql/data/performance_schema/events_errors_su_182.SDI

@@ -0,0 +1,292 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_errors_summary_by_thread_by_error",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "THREAD_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "ERROR_NUMBER",
+                "type": 4,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 11,
+                "numeric_precision": 10,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "int(11)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "ERROR_NAME",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SQL_STATE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 15,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(5)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_RAISED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_HANDLED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "FIRST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            },
+            {
+                "name": "LAST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 8,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "THREAD_ID",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=0;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 8,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 4,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 257 - 0
docker/mysql/data/performance_schema/events_errors_su_183.SDI

@@ -0,0 +1,257 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_errors_summary_global_by_error",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "ERROR_NUMBER",
+                "type": 4,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 11,
+                "numeric_precision": 10,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 3,
+                "column_type_utf8": "int(11)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "ERROR_NAME",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SQL_STATE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 15,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(5)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_RAISED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_ERROR_HANDLED",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "FIRST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            },
+            {
+                "name": "LAST_SEEN",
+                "type": 18,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 19,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": false,
+                "default_value": "AAAAAA==",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "timestamp",
+                "elements": [],
+                "collation_id": 8
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "ERROR_NUMBER",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=0;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 4,
+                        "order": 1,
+                        "column_opx": 0
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 425 - 0
docker/mysql/data/performance_schema/events_stages_cu_155.SDI

@@ -0,0 +1,425 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_stages_current",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "THREAD_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 2,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "EVENT_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 2,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "END_EVENT_ID",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "EVENT_NAME",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 384,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(128)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SOURCE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_START",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_END",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_WAIT",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 8,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "WORK_COMPLETED",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 9,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "WORK_ESTIMATED",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 10,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "NESTING_EVENT_ID",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 11,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "NESTING_EVENT_TYPE",
+                "type": 22,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 12,
+                "char_length": 33,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=4;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "enum('TRANSACTION','STATEMENT','STAGE','WAIT')",
+                "elements": [
+                    {
+                        "name": "VFJBTlNBQ1RJT04=",
+                        "index": 1
+                    },
+                    {
+                        "name": "U1RBVEVNRU5U",
+                        "index": 2
+                    },
+                    {
+                        "name": "U1RBR0U=",
+                        "index": 3
+                    },
+                    {
+                        "name": "V0FJVA==",
+                        "index": 4
+                    }
+                ],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "PRIMARY",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=0;",
+                "se_private_data": "",
+                "type": 1,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 8,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 8,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 425 - 0
docker/mysql/data/performance_schema/events_stages_hi_156.SDI

@@ -0,0 +1,425 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_stages_history",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "THREAD_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 2,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "EVENT_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 2,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "END_EVENT_ID",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "EVENT_NAME",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 384,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(128)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SOURCE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_START",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_END",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_WAIT",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 8,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "WORK_COMPLETED",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 9,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "WORK_ESTIMATED",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 10,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "NESTING_EVENT_ID",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 11,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "NESTING_EVENT_TYPE",
+                "type": 22,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 12,
+                "char_length": 33,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=4;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "enum('TRANSACTION','STATEMENT','STAGE','WAIT')",
+                "elements": [
+                    {
+                        "name": "VFJBTlNBQ1RJT04=",
+                        "index": 1
+                    },
+                    {
+                        "name": "U1RBVEVNRU5U",
+                        "index": 2
+                    },
+                    {
+                        "name": "U1RBR0U=",
+                        "index": 3
+                    },
+                    {
+                        "name": "V0FJVA==",
+                        "index": 4
+                    }
+                ],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "PRIMARY",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=0;",
+                "se_private_data": "",
+                "type": 1,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 8,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 8,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 396 - 0
docker/mysql/data/performance_schema/events_stages_hi_157.SDI

@@ -0,0 +1,396 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_stages_history_long",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "THREAD_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "EVENT_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "END_EVENT_ID",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "EVENT_NAME",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 384,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(128)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SOURCE",
+                "type": 16,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 192,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(64)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_START",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_END",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "TIMER_WAIT",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 8,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "WORK_COMPLETED",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 9,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "WORK_ESTIMATED",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 10,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "NESTING_EVENT_ID",
+                "type": 9,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 11,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "NESTING_EVENT_TYPE",
+                "type": 22,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 12,
+                "char_length": 33,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=4;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "enum('TRANSACTION','STATEMENT','STAGE','WAIT')",
+                "elements": [
+                    {
+                        "name": "VFJBTlNBQ1RJT04=",
+                        "index": 1
+                    },
+                    {
+                        "name": "U1RBVEVNRU5U",
+                        "index": 2
+                    },
+                    {
+                        "name": "U1RBR0U=",
+                        "index": 3
+                    },
+                    {
+                        "name": "V0FJVA==",
+                        "index": 4
+                    }
+                ],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 263 - 0
docker/mysql/data/performance_schema/events_stages_su_158.SDI

@@ -0,0 +1,263 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_stages_summary_by_thread_by_event_name",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "THREAD_ID",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 2,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "EVENT_NAME",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 384,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 2,
+                "column_type_utf8": "varchar(128)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "COUNT_STAR",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "MIN_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "AVG_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "MAX_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "PRIMARY",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=32;",
+                "se_private_data": "",
+                "type": 1,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 8,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 384,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 263 - 0
docker/mysql/data/performance_schema/events_stages_su_159.SDI

@@ -0,0 +1,263 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_stages_summary_by_host_by_event_name",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "HOST",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 180,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "char(60)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "EVENT_NAME",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 384,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(128)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "COUNT_STAR",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "MIN_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "AVG_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "MAX_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "HOST",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=34;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 180,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 384,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

+ 263 - 0
docker/mysql/data/performance_schema/events_stages_su_160.SDI

@@ -0,0 +1,263 @@
+{
+    "sdi_version": 1,
+    "dd_version": 1,
+    "dd_object_type": "Table",
+    "dd_object": {
+        "name": "events_stages_summary_by_user_by_event_name",
+        "mysql_version_id": 80000,
+        "created": 20170330100056,
+        "last_altered": 20170330100056,
+        "options": "avg_row_length=0;key_block_size=0;keys_disabled=0;pack_record=1;stats_auto_recalc=0;stats_sample_pages=0;",
+        "columns": [
+            {
+                "name": "USER",
+                "type": 29,
+                "is_nullable": true,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 1,
+                "char_length": 96,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": false,
+                "default_value_null": true,
+                "default_value": "",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 4,
+                "column_type_utf8": "char(32)",
+                "elements": [],
+                "collation_id": 83
+            },
+            {
+                "name": "EVENT_NAME",
+                "type": 16,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": false,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 2,
+                "char_length": 384,
+                "numeric_precision": 0,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\nAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "varchar(128)",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "COUNT_STAR",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 3,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "SUM_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 4,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "MIN_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 5,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "AVG_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 6,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            },
+            {
+                "name": "MAX_TIMER_WAIT",
+                "type": 9,
+                "is_nullable": false,
+                "is_zerofill": false,
+                "is_unsigned": true,
+                "is_auto_increment": false,
+                "is_virtual": false,
+                "hidden": false,
+                "ordinal_position": 7,
+                "char_length": 20,
+                "numeric_precision": 20,
+                "numeric_scale": 0,
+                "datetime_precision": 0,
+                "has_no_default": true,
+                "default_value_null": false,
+                "default_value": "AAAAAAAAAAA=",
+                "default_option": "",
+                "update_option": "",
+                "comment": "",
+                "generation_expression": "",
+                "generation_expression_utf8": "",
+                "options": "interval_count=0;",
+                "se_private_data": "",
+                "column_key": 1,
+                "column_type_utf8": "bigint(20) unsigned",
+                "elements": [],
+                "collation_id": 33
+            }
+        ],
+        "schema_ref": "performance_schema",
+        "hidden": false,
+        "se_private_id": 18446744073709551615,
+        "engine": "PERFORMANCE_SCHEMA",
+        "comment": "",
+        "se_private_data": "",
+        "row_format": 2,
+        "partition_type": 0,
+        "partition_expression": "",
+        "default_partitioning": 0,
+        "subpartition_type": 0,
+        "subpartition_expression": "",
+        "default_subpartitioning": 0,
+        "indexes": [
+            {
+                "name": "USER",
+                "hidden": false,
+                "is_generated": false,
+                "ordinal_position": 1,
+                "comment": "",
+                "options": "flags=34;",
+                "se_private_data": "",
+                "type": 2,
+                "algorithm": 4,
+                "is_algorithm_explicit": false,
+                "is_visible": true,
+                "engine": "PERFORMANCE_SCHEMA",
+                "elements": [
+                    {
+                        "ordinal_position": 1,
+                        "length": 96,
+                        "order": 1,
+                        "column_opx": 0
+                    },
+                    {
+                        "ordinal_position": 2,
+                        "length": 384,
+                        "order": 1,
+                        "column_opx": 1
+                    }
+                ]
+            }
+        ],
+        "foreign_keys": [],
+        "partitions": [],
+        "collation_id": 33
+    }
+}

Некоторые файлы не были показаны из-за большого количества измененных файлов