diff --git a/database/database/.gitignore b/database/database/.gitignore
new file mode 100644
index 0000000..5ff6309
--- /dev/null
+++ b/database/database/.gitignore
@@ -0,0 +1,38 @@
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### IntelliJ IDEA ###
+.idea/modules.xml
+.idea/jarRepositories.xml
+.idea/compiler.xml
+.idea/libraries/
+*.iws
+*.iml
+*.ipr
+
+### Eclipse ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
+
+### Mac OS ###
+.DS_Store
\ No newline at end of file
diff --git a/database/database/.idea/.gitignore b/database/database/.idea/.gitignore
new file mode 100644
index 0000000..359bb53
--- /dev/null
+++ b/database/database/.idea/.gitignore
@@ -0,0 +1,3 @@
+# 默认忽略的文件
+/shelf/
+/workspace.xml
diff --git a/database/database/.idea/dataSources.local.xml b/database/database/.idea/dataSources.local.xml
new file mode 100644
index 0000000..5d22aa1
--- /dev/null
+++ b/database/database/.idea/dataSources.local.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+ #@
+ `
+
+
+ master_key
+ zbl
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/database/database/.idea/dataSources.xml b/database/database/.idea/dataSources.xml
new file mode 100644
index 0000000..a2165ca
--- /dev/null
+++ b/database/database/.idea/dataSources.xml
@@ -0,0 +1,17 @@
+
+
+
+
+ mysql.8
+ true
+ com.mysql.cj.jdbc.Driver
+ jdbc:mysql://localhost:3306
+
+
+
+
+
+ $ProjectFileDir$
+
+
+
\ No newline at end of file
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f.xml b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f.xml
new file mode 100644
index 0000000..0dccb52
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f.xml
@@ -0,0 +1,26504 @@
+
+
+
+
+ lower/lower
+ InnoDB
+ InnoDB
+ |root||admin||ALLOW_NONEXISTENT_DEFINER|G
+|root||root|localhost|ALLOW_NONEXISTENT_DEFINER|G
+|root||admin||ALTER|G
+|root||root|localhost|ALTER|G
+|root||zbl|localhost|ALTER|G
+|root||admin||ALTER ROUTINE|G
+|root||root|localhost|ALTER ROUTINE|G
+|root||zbl|localhost|ALTER ROUTINE|G
+|root||admin||APPLICATION_PASSWORD_ADMIN|G
+|root||root|localhost|APPLICATION_PASSWORD_ADMIN|G
+|root||admin||AUDIT_ABORT_EXEMPT|G
+|root||mysql.infoschema|localhost|AUDIT_ABORT_EXEMPT|G
+|root||mysql.session|localhost|AUDIT_ABORT_EXEMPT|G
+|root||mysql.sys|localhost|AUDIT_ABORT_EXEMPT|G
+|root||root|localhost|AUDIT_ABORT_EXEMPT|G
+|root||admin||AUDIT_ADMIN|G
+|root||root|localhost|AUDIT_ADMIN|G
+|root||admin||AUTHENTICATION_POLICY_ADMIN|G
+|root||mysql.session|localhost|AUTHENTICATION_POLICY_ADMIN|G
+|root||root|localhost|AUTHENTICATION_POLICY_ADMIN|G
+|root||admin||BACKUP_ADMIN|G
+|root||mysql.session|localhost|BACKUP_ADMIN|G
+|root||root|localhost|BACKUP_ADMIN|G
+|root||admin||BINLOG_ADMIN|G
+|root||root|localhost|BINLOG_ADMIN|G
+|root||admin||BINLOG_ENCRYPTION_ADMIN|G
+|root||root|localhost|BINLOG_ENCRYPTION_ADMIN|G
+|root||admin||CLONE_ADMIN|G
+|root||mysql.session|localhost|CLONE_ADMIN|G
+|root||root|localhost|CLONE_ADMIN|G
+|root||admin||CONNECTION_ADMIN|G
+|root||mysql.session|localhost|CONNECTION_ADMIN|G
+|root||root|localhost|CONNECTION_ADMIN|G
+|root||admin||CREATE|G
+|root||root|localhost|CREATE|G
+|root||zbl|localhost|CREATE|G
+|root||admin||CREATE ROLE|G
+|root||root|localhost|CREATE ROLE|G
+|root||admin||CREATE ROUTINE|G
+|root||root|localhost|CREATE ROUTINE|G
+|root||zbl|localhost|CREATE ROUTINE|G
+|root||admin||CREATE TABLESPACE|G
+|root||root|localhost|CREATE TABLESPACE|G
+|root||zbl|localhost|CREATE TABLESPACE|G
+|root||admin||CREATE TEMPORARY TABLES|G
+|root||root|localhost|CREATE TEMPORARY TABLES|G
+|root||zbl|localhost|CREATE TEMPORARY TABLES|G
+|root||admin||CREATE USER|G
+|root||root|localhost|CREATE USER|G
+|root||zbl|localhost|CREATE USER|G
+|root||admin||CREATE VIEW|G
+|root||root|localhost|CREATE VIEW|G
+|root||zbl|localhost|CREATE VIEW|G
+|root||admin||DELETE|G
+|root||root|localhost|DELETE|G
+|root||zbl|localhost|DELETE|G
+|root||admin||DROP|G
+|root||root|localhost|DROP|G
+|root||zbl|localhost|DROP|G
+|root||admin||DROP ROLE|G
+|root||root|localhost|DROP ROLE|G
+|root||admin||ENCRYPTION_KEY_ADMIN|G
+|root||root|localhost|ENCRYPTION_KEY_ADMIN|G
+|root||admin||EVENT|G
+|root||root|localhost|EVENT|G
+|root||zbl|localhost|EVENT|G
+|root||admin||EXECUTE|G
+|root||root|localhost|EXECUTE|G
+|root||zbl|localhost|EXECUTE|G
+|root||admin||FILE|G
+|root||root|localhost|FILE|G
+|root||zbl|localhost|FILE|G
+|root||admin||FIREWALL_EXEMPT|G
+|root||mysql.infoschema|localhost|FIREWALL_EXEMPT|G
+|root||mysql.session|localhost|FIREWALL_EXEMPT|G
+|root||mysql.sys|localhost|FIREWALL_EXEMPT|G
+|root||root|localhost|FIREWALL_EXEMPT|G
+|root||admin||FLUSH_OPTIMIZER_COSTS|G
+|root||root|localhost|FLUSH_OPTIMIZER_COSTS|G
+|root||admin||FLUSH_PRIVILEGES|G
+|root||root|localhost|FLUSH_PRIVILEGES|G
+|root||admin||FLUSH_STATUS|G
+|root||root|localhost|FLUSH_STATUS|G
+|root||admin||FLUSH_TABLES|G
+|root||root|localhost|FLUSH_TABLES|G
+|root||admin||FLUSH_USER_RESOURCES|G
+|root||root|localhost|FLUSH_USER_RESOURCES|G
+|root||admin||GROUP_REPLICATION_ADMIN|G
+|root||root|localhost|GROUP_REPLICATION_ADMIN|G
+|root||admin||GROUP_REPLICATION_STREAM|G
+|root||root|localhost|GROUP_REPLICATION_STREAM|G
+|root||admin||INDEX|G
+|root||root|localhost|INDEX|G
+|root||zbl|localhost|INDEX|G
+|root||admin||INNODB_REDO_LOG_ARCHIVE|G
+|root||root|localhost|INNODB_REDO_LOG_ARCHIVE|G
+|root||admin||INNODB_REDO_LOG_ENABLE|G
+|root||root|localhost|INNODB_REDO_LOG_ENABLE|G
+|root||admin||INSERT|G
+|root||root|localhost|INSERT|G
+|root||zbl|localhost|INSERT|G
+|root||admin||LOCK TABLES|G
+|root||root|localhost|LOCK TABLES|G
+|root||zbl|localhost|LOCK TABLES|G
+|root||admin||OPTIMIZE_LOCAL_TABLE|G
+|root||root|localhost|OPTIMIZE_LOCAL_TABLE|G
+|root||admin||PASSWORDLESS_USER_ADMIN|G
+|root||root|localhost|PASSWORDLESS_USER_ADMIN|G
+|root||admin||PERSIST_RO_VARIABLES_ADMIN|G
+|root||mysql.session|localhost|PERSIST_RO_VARIABLES_ADMIN|G
+|root||root|localhost|PERSIST_RO_VARIABLES_ADMIN|G
+|root||admin||PROCESS|G
+|root||root|localhost|PROCESS|G
+|root||zbl|localhost|PROCESS|G
+|root||admin||REFERENCES|G
+|root||root|localhost|REFERENCES|G
+|root||zbl|localhost|REFERENCES|G
+|root||admin||RELOAD|G
+|root||root|localhost|RELOAD|G
+|root||zbl|localhost|RELOAD|G
+|root||admin||REPLICATION CLIENT|G
+|root||root|localhost|REPLICATION CLIENT|G
+|root||zbl|localhost|REPLICATION CLIENT|G
+|root||admin||REPLICATION SLAVE|G
+|root||root|localhost|REPLICATION SLAVE|G
+|root||zbl|localhost|REPLICATION SLAVE|G
+|root||admin||REPLICATION_APPLIER|G
+|root||root|localhost|REPLICATION_APPLIER|G
+|root||admin||REPLICATION_SLAVE_ADMIN|G
+|root||root|localhost|REPLICATION_SLAVE_ADMIN|G
+|root||admin||RESOURCE_GROUP_ADMIN|G
+|root||root|localhost|RESOURCE_GROUP_ADMIN|G
+|root||admin||RESOURCE_GROUP_USER|G
+|root||root|localhost|RESOURCE_GROUP_USER|G
+|root||admin||ROLE_ADMIN|G
+|root||root|localhost|ROLE_ADMIN|G
+|root||admin||SELECT|G
+|root||mysql.infoschema|localhost|SELECT|G
+|root||root|localhost|SELECT|G
+|root||zbl|localhost|SELECT|G
+|root||admin||SENSITIVE_VARIABLES_OBSERVER|G
+|root||root|localhost|SENSITIVE_VARIABLES_OBSERVER|G
+|root||admin||SERVICE_CONNECTION_ADMIN|G
+|root||root|localhost|SERVICE_CONNECTION_ADMIN|G
+|root||admin||SESSION_VARIABLES_ADMIN|G
+|root||mysql.session|localhost|SESSION_VARIABLES_ADMIN|G
+|root||root|localhost|SESSION_VARIABLES_ADMIN|G
+|root||admin||SET_ANY_DEFINER|G
+|root||root|localhost|SET_ANY_DEFINER|G
+|root||admin||SHOW DATABASES|G
+|root||root|localhost|SHOW DATABASES|G
+|root||zbl|localhost|SHOW DATABASES|G
+|root||admin||SHOW VIEW|G
+|root||root|localhost|SHOW VIEW|G
+|root||zbl|localhost|SHOW VIEW|G
+|root||admin||SHOW_ROUTINE|G
+|root||root|localhost|SHOW_ROUTINE|G
+|root||admin||SHUTDOWN|G
+|root||mysql.session|localhost|SHUTDOWN|G
+|root||root|localhost|SHUTDOWN|G
+|root||zbl|localhost|SHUTDOWN|G
+|root||admin||SUPER|G
+|root||mysql.session|localhost|SUPER|G
+|root||root|localhost|SUPER|G
+|root||zbl|localhost|SUPER|G
+|root||admin||SYSTEM_USER|G
+|root||mysql.infoschema|localhost|SYSTEM_USER|G
+|root||mysql.session|localhost|SYSTEM_USER|G
+|root||mysql.sys|localhost|SYSTEM_USER|G
+|root||root|localhost|SYSTEM_USER|G
+|root||admin||SYSTEM_VARIABLES_ADMIN|G
+|root||mysql.session|localhost|SYSTEM_VARIABLES_ADMIN|G
+|root||root|localhost|SYSTEM_VARIABLES_ADMIN|G
+|root||admin||TABLE_ENCRYPTION_ADMIN|G
+|root||root|localhost|TABLE_ENCRYPTION_ADMIN|G
+|root||admin||TELEMETRY_LOG_ADMIN|G
+|root||root|localhost|TELEMETRY_LOG_ADMIN|G
+|root||admin||TRANSACTION_GTID_TAG|G
+|root||root|localhost|TRANSACTION_GTID_TAG|G
+|root||admin||TRIGGER|G
+|root||root|localhost|TRIGGER|G
+|root||zbl|localhost|TRIGGER|G
+|root||admin||UPDATE|G
+|root||root|localhost|UPDATE|G
+|root||zbl|localhost|UPDATE|G
+|root||admin||XA_RECOVER_ADMIN|G
+|root||root|localhost|XA_RECOVER_ADMIN|G
+|root||admin||grant option|G
+|root||root|localhost|grant option|G
+|root||zbl|localhost|grant option|G
+performance_schema|schema||mysql.session|localhost|SELECT|G
+sys|schema||mysql.sys|localhost|TRIGGER|G
+ 9.1.0
+
+
+ armscii8
+
+
+ armscii8
+ 1
+
+
+ ascii
+
+
+ ascii
+ 1
+
+
+ big5
+
+
+ big5
+ 1
+
+
+ binary
+ 1
+
+
+ cp1250
+
+
+ cp1250
+
+
+ cp1250
+
+
+ cp1250
+ 1
+
+
+ cp1250
+
+
+ cp1251
+
+
+ cp1251
+
+
+ cp1251
+ 1
+
+
+ cp1251
+
+
+ cp1251
+
+
+ cp1256
+
+
+ cp1256
+ 1
+
+
+ cp1257
+
+
+ cp1257
+ 1
+
+
+ cp1257
+
+
+ cp850
+
+
+ cp850
+ 1
+
+
+ cp852
+
+
+ cp852
+ 1
+
+
+ cp866
+
+
+ cp866
+ 1
+
+
+ cp932
+
+
+ cp932
+ 1
+
+
+ dec8
+
+
+ dec8
+ 1
+
+
+ eucjpms
+
+
+ eucjpms
+ 1
+
+
+ euckr
+
+
+ euckr
+ 1
+
+
+ gb18030
+
+
+ gb18030
+ 1
+
+
+ gb18030
+
+
+ gb2312
+
+
+ gb2312
+ 1
+
+
+ gbk
+
+
+ gbk
+ 1
+
+
+ geostd8
+
+
+ geostd8
+ 1
+
+
+ greek
+
+
+ greek
+ 1
+
+
+ hebrew
+
+
+ hebrew
+ 1
+
+
+ hp8
+
+
+ hp8
+ 1
+
+
+ keybcs2
+
+
+ keybcs2
+ 1
+
+
+ koi8r
+
+
+ koi8r
+ 1
+
+
+ koi8u
+
+
+ koi8u
+ 1
+
+
+ latin1
+
+
+ latin1
+
+
+ latin1
+
+
+ latin1
+
+
+ latin1
+
+
+ latin1
+
+
+ latin1
+
+
+ latin1
+ 1
+
+
+ latin2
+
+
+ latin2
+
+
+ latin2
+
+
+ latin2
+ 1
+
+
+ latin2
+
+
+ latin5
+
+
+ latin5
+ 1
+
+
+ latin7
+
+
+ latin7
+
+
+ latin7
+ 1
+
+
+ latin7
+
+
+ macce
+
+
+ macce
+ 1
+
+
+ macroman
+
+
+ macroman
+ 1
+
+
+ sjis
+
+
+ sjis
+ 1
+
+
+ swe7
+
+
+ swe7
+ 1
+
+
+ tis620
+
+
+ tis620
+ 1
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+ 1
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ucs2
+
+
+ ujis
+
+
+ ujis
+ 1
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+ 1
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16
+
+
+ utf16le
+
+
+ utf16le
+ 1
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+ 1
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf32
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+ 1
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb3
+
+
+ utf8mb4
+ 1
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ utf8mb4
+
+
+ classes|||teacher||INSERT|G
+classes|||teacher||SELECT|G
+classes|||teacher||UPDATE|G
+students|||teacher||INSERT|G
+students|||teacher||SELECT|G
+students|||teacher||UPDATE|G
+ 2024-12-28.06:21:30
+ utf8mb4_unicode_ci
+
+
+ 2024-12-28.06:21:31
+ utf8mb3_general_ci
+
+
+ user|||mysql.session|localhost|SELECT|G
+ 2024-12-28.06:21:31
+ utf8mb4_0900_ai_ci
+
+
+ 2024-12-28.06:21:32
+ utf8mb4_0900_ai_ci
+
+
+ 2024-12-28.06:21:32
+ utf8mb4_0900_ai_ci
+
+
+ sys_config|||mysql.sys|localhost|SELECT|G
+ 2024-12-28.06:21:32
+ utf8mb4_0900_ai_ci
+
+
+ 2024-12-28.06:21:33
+ utf8mb4_0900_ai_ci
+
+
+ caching_sha2_password
+
+
+ 0
+ localhost
+ caching_sha2_password
+
+
+ 0
+ localhost
+ caching_sha2_password
+
+
+ 0
+ localhost
+ caching_sha2_password
+
+
+ localhost
+ caching_sha2_password
+
+
+ caching_sha2_password
+
+
+ localhost
+ caching_sha2_password
+
+
+ root@localhost
+ procedure
+ 82
+
+
+ root@localhost
+ procedure
+ 258
+
+
+ root@localhost
+ procedure
+ 275
+
+
+ root@localhost
+ procedure
+ 146
+
+
+ root@localhost
+ procedure
+ 146
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ InnoDB
+ utf8mb4_unicode_ci
+
+
+ root@localhost
+ 379
+
+
+ root@localhost
+ 256
+
+
+ root@localhost
+ 328
+
+
+ root@localhost
+ 370
+
+
+ root@localhost
+ 264
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 721
+ 1
+
+
+ 4653
+ 1
+
+
+ 262
+ 1
+
+
+ 562
+ 1
+
+
+ 475
+ 1
+
+
+ 187
+ 1
+
+
+ 3836
+ 1
+
+
+ 787
+ 1
+
+
+ 383
+ 1
+
+
+ 931
+ 1
+
+
+ 1910
+ 1
+
+
+ 2568
+ 1
+
+
+ 377
+ 1
+
+
+ 543
+ 1
+
+
+ 935
+ 1
+
+
+ 708
+ 1
+
+
+ 677
+ 1
+
+
+ 11316
+ 1
+
+
+ 2342
+ 1
+
+
+ 3216
+ 1
+
+
+ 6114
+ 1
+
+
+ 861
+ 1
+
+
+ 376
+ 1
+
+
+ 4597
+ 1
+
+
+ 4465
+ 1
+
+
+ 4363
+ 1
+
+
+ 4472
+ 1
+
+
+ 589
+ 1
+
+
+ 324
+ 1
+
+
+ 2536
+ 1
+
+
+ 763
+ 1
+
+
+ 472
+ 1
+
+
+ 2788
+ 1
+
+
+ 4565
+ 1
+
+
+ 123
+ 1
+
+
+ 486
+ 1
+
+
+ 1424
+ 1
+
+
+ 619
+ 1
+
+
+ 1719
+ 1
+
+
+ 253
+ 1
+
+
+ 1167
+ 1
+
+
+ 1007
+ 1
+
+
+ 810
+ 1
+
+
+ Column privileges
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ Components
+ InnoDB
+ row_format
+DYNAMIC
+ utf8mb3_general_ci
+
+
+ Database privileges
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ Default roles
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ User defined functions
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ General log
+ CSV
+ utf8mb3_general_ci
+
+
+ Extended global grants
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb4_0900_ai_ci
+
+
+ help categories
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ help keywords
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ keyword-topic relation
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ help topics
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ latin1_swedish_ci
+
+
+ Password history for user accounts
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ MySQL plugins
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Procedure privileges
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ User proxy privileges
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ The source configuration details
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ The managed source configuration details
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ The group configuration version.
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb4_0900_ai_ci
+
+
+ The member actions configuration.
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb4_0900_ai_ci
+
+
+ Role hierarchy and role grants
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ MySQL Foreign Servers table
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Master Information
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Relay Log Information
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Worker Information
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Slow log
+ CSV
+ utf8mb3_general_ci
+
+
+ Table privileges
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ Time zones
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Leap seconds information for time zones
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Time zone names
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Time zone transitions
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Time zone transition types
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_general_ci
+
+
+ Users and global privileges
+ InnoDB
+ row_format
+DYNAMIC
+stats_persistent
+0
+ utf8mb3_bin
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_bin
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_bin
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_bin
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ PERFORMANCE_SCHEMA
+ utf8mb4_0900_ai_ci
+
+
+ root@localhost
+ procedure
+ 329
+ reads-sql-data
+
+
+ root@localhost
+ procedure
+ 337
+ reads-sql-data
+
+
+ root@localhost
+ 1
+ function
+ 1609
+ reads-sql-data
+
+
+ root@localhost
+ function
+ 233
+ reads-sql-data
+
+
+ root@localhost
+ function
+ 610
+ reads-sql-data
+
+
+ Provides a customizable report on best customers
+ root@localhost
+ procedure
+ 1656
+ reads-sql-data
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ root@localhost
+ 855
+
+
+ root@localhost
+ 582
+
+
+ root@localhost
+ 891
+
+
+ root@localhost
+ 1113
+
+
+ root@localhost
+ 502
+
+
+ root@localhost
+ 731
+
+
+ root@localhost
+ 529
+
+
+
+Description
+-----------
+
+Takes a source database name and synonym name, and then creates the
+synonym database with views that point to all of the tables within
+the source database.
+
+Useful for creating a "ps" synonym for "performance_schema",
+or "is" instead of "information_schema", for example.
+
+Parameters
+-----------
+
+in_db_name (VARCHAR(64)):
+ The database name that you would like to create a synonym for.
+in_synonym (VARCHAR(64)):
+ The database synonym name.
+
+Example
+-----------
+
+mysql> SHOW DATABASES;
++--------------------+
+| Database |
++--------------------+
+| information_schema |
+| mysql |
+| performance_schema |
+| sys |
+| test |
++--------------------+
+5 rows in set (0.00 sec)
+
+mysql> CALL sys.create_synonym_db('performance_schema', 'ps');
++---------------------------------------+
+| summary |
++---------------------------------------+
+| Created 74 views in the `ps` database |
++---------------------------------------+
+1 row in set (8.57 sec)
+
+Query OK, 0 rows affected (8.57 sec)
+
+mysql> SHOW DATABASES;
++--------------------+
+| Database |
++--------------------+
+| information_schema |
+| mysql |
+| performance_schema |
+| ps |
+| sys |
+| test |
++--------------------+
+6 rows in set (0.00 sec)
+
+mysql> SHOW FULL TABLES FROM ps;
++------------------------------------------------------+------------+
+| Tables_in_ps | Table_type |
++------------------------------------------------------+------------+
+| accounts | VIEW |
+| cond_instances | VIEW |
+| events_stages_current | VIEW |
+| events_stages_history | VIEW |
+...
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 2490
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Create a report of the current status of the server for diagnostics purposes. Data collected includes (some items depends on versions and settings):
+
+ * The GLOBAL VARIABLES
+ * Several sys schema views including metrics or equivalent (depending on version and settings)
+ * Queries in the 95th percentile
+ * Several ndbinfo views for MySQL Cluster
+ * Replication (both master and slave) information.
+
+Some of the sys schema views are calculated as initial (optional), overall, delta:
+
+ * The initial view is the content of the view at the start of this procedure.
+ This output will be the same as the the start values used for the delta view.
+ The initial view is included if @sys.diagnostics.include_raw = 'ON'.
+ * The overall view is the content of the view at the end of this procedure.
+ This output is the same as the end values used for the delta view.
+ The overall view is always included.
+ * The delta view is the difference from the beginning to the end. Note that for min and max values
+ they are simply the min or max value from the end view respectively, so does not necessarily reflect
+ the minimum/maximum value in the monitored period.
+ Note: except for the metrics views the delta is only calculation between the first and last outputs.
+
+Requires the SUPER privilege for "SET sql_log_bin = 0;".
+
+Parameters
+-----------
+
+in_max_runtime (INT UNSIGNED):
+ The maximum time to keep collecting data.
+ Use NULL to get the default which is 60 seconds, otherwise enter a value greater than 0.
+in_interval (INT UNSIGNED):
+ How long to sleep between data collections.
+ Use NULL to get the default which is 30 seconds, otherwise enter a value greater than 0.
+in_auto_config (ENUM('current', 'medium', 'full'))
+ Automatically enable Performance Schema instruments and consumers.
+ NOTE: The more that are enabled, the more impact on the performance.
+ Supported values are:
+ * current - use the current settings.
+ * medium - enable some settings. This requires the SUPER privilege.
+ * full - enables all settings. This will have a big impact on the
+ performance - be careful using this option. This requires
+ the SUPER privilege.
+ If another setting the 'current' is chosen, the current settings
+ are restored at the end of the procedure.
+
+
+Configuration Options
+----------------------
+
+sys.diagnostics.allow_i_s_tables
+ Specifies whether it is allowed to do table scan queries on information_schema.TABLES. This can be expensive if there
+ are many tables. Set to 'ON' to allow, 'OFF' to not allow.
+ Default is 'OFF'.
+
+sys.diagnostics.include_raw
+ Set to 'ON' to include the raw data (e.g. the original output of "SELECT * FROM sys.metrics").
+ Use this to get the initial values of the various views.
+ Default is 'OFF'.
+
+sys.statement_truncate_len
+ How much of queries in the process list output to include.
+ Default is 64.
+
+sys.debug
+ Whether to provide debugging output.
+ Default is 'OFF'. Set to 'ON' to include.
+
+
+Example
+--------
+
+To create a report and append it to the file diag.out:
+
+mysql> TEE diag.out;
+mysql> CALL sys.diagnostics(120, 30, 'current');
+...
+mysql> NOTEE;
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 51150
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Takes the query in the argument and executes it using a prepared statement. The prepared statement is deallocated,
+so the procedure is mainly useful for executing one off dynamically created queries.
+
+The sys_execute_prepared_stmt prepared statement name is used for the query and is required not to exist.
+
+
+Parameters
+-----------
+
+in_query (longtext CHARACTER SET UTF8MB4):
+ The query to execute.
+
+
+Configuration Options
+----------------------
+
+sys.debug
+ Whether to provide debugging output.
+ Default is 'OFF'. Set to 'ON' to include.
+
+
+Example
+--------
+
+mysql> CALL sys.execute_prepared_stmt('SELECT * FROM sys.sys_config');
++------------------------+-------+---------------------+--------+
+| variable | value | set_time | set_by |
++------------------------+-------+---------------------+--------+
+| statement_truncate_len | 64 | 2015-06-30 13:06:00 | NULL |
++------------------------+-------+---------------------+--------+
+1 row in set (0.00 sec)
+
+Query OK, 0 rows affected (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 774
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Takes a raw file path, and attempts to extract the schema name from it.
+
+Useful for when interacting with Performance Schema data
+concerning IO statistics, for example.
+
+Currently relies on the fact that a table data file will be within a
+specified database directory (will not work with partitions or tables
+that specify an individual DATA_DIRECTORY).
+
+Parameters
+-----------
+
+path (VARCHAR(512)):
+ The full file path to a data file to extract the schema name from.
+
+Returns
+-----------
+
+VARCHAR(64)
+
+Example
+-----------
+
+mysql> SELECT sys.extract_schema_from_file_name('/var/lib/mysql/employees/employee.ibd');
++----------------------------------------------------------------------------+
+| sys.extract_schema_from_file_name('/var/lib/mysql/employees/employee.ibd') |
++----------------------------------------------------------------------------+
+| employees |
++----------------------------------------------------------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 107
+ no-sql
+
+
+
+Description
+-----------
+
+Takes a raw file path, and extracts the table name from it.
+
+Useful for when interacting with Performance Schema data
+concerning IO statistics, for example.
+
+Parameters
+-----------
+
+path (VARCHAR(512)):
+ The full file path to a data file to extract the table name from.
+
+Returns
+-----------
+
+VARCHAR(64)
+
+Example
+-----------
+
+mysql> SELECT sys.extract_table_from_file_name('/var/lib/mysql/employees/employee.ibd');
++---------------------------------------------------------------------------+
+| sys.extract_table_from_file_name('/var/lib/mysql/employees/employee.ibd') |
++---------------------------------------------------------------------------+
+| employee |
++---------------------------------------------------------------------------+
+1 row in set (0.02 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 130
+ no-sql
+
+
+
+Description
+-----------
+
+Takes a raw bytes value, and converts it to a human readable format.
+
+Parameters
+-----------
+
+bytes (TEXT):
+ A raw bytes value.
+
+Returns
+-----------
+
+TEXT
+
+Example
+-----------
+
+mysql> SELECT sys.format_bytes(2348723492723746) AS size;
++----------+
+| size |
++----------+
+| 2.09 PiB |
++----------+
+1 row in set (0.00 sec)
+
+mysql> SELECT sys.format_bytes(2348723492723) AS size;
++----------+
+| size |
++----------+
+| 2.14 TiB |
++----------+
+1 row in set (0.00 sec)
+
+mysql> SELECT sys.format_bytes(23487234) AS size;
++-----------+
+| size |
++-----------+
+| 22.40 MiB |
++-----------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 101
+ no-sql
+
+
+
+Description
+-----------
+
+Takes a raw path value, and strips out the datadir or tmpdir
+replacing with @@datadir and @@tmpdir respectively.
+
+Also normalizes the paths across operating systems, so backslashes
+on Windows are converted to forward slashes
+
+Parameters
+-----------
+
+path (VARCHAR(512)):
+ The raw file path value to format.
+
+Returns
+-----------
+
+VARCHAR(512) CHARSET UTF8MB4
+
+Example
+-----------
+
+mysql> select @@datadir;
++-----------------------------------------------+
+| @@datadir |
++-----------------------------------------------+
+| /Users/mark/sandboxes/SmallTree/AMaster/data/ |
++-----------------------------------------------+
+1 row in set (0.06 sec)
+
+mysql> select format_path('/Users/mark/sandboxes/SmallTree/AMaster/data/mysql/proc.MYD') AS path;
++--------------------------+
+| path |
++--------------------------+
+| @@datadir/mysql/proc.MYD |
++--------------------------+
+1 row in set (0.03 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 2986
+ no-sql
+
+
+
+Description
+-----------
+
+Formats a normalized statement, truncating it if it is > 64 characters long by default.
+
+To configure the length to truncate the statement to by default, update the `statement_truncate_len`
+variable with `sys_config` table to a different value. Alternatively, to change it just for just
+your particular session, use `SET @sys.statement_truncate_len := <some new value>`.
+
+Useful for printing statement related data from Performance Schema from
+the command line.
+
+Parameters
+-----------
+
+statement (LONGTEXT):
+ The statement to format.
+
+Returns
+-----------
+
+LONGTEXT
+
+Example
+-----------
+
+mysql> SELECT sys.format_statement(digest_text)
+ -> FROM performance_schema.events_statements_summary_by_digest
+ -> ORDER by sum_timer_wait DESC limit 5;
++-------------------------------------------------------------------+
+| sys.format_statement(digest_text) |
++-------------------------------------------------------------------+
+| CREATE SQL SECURITY INVOKER VI ... KE ? AND `variable_value` > ? |
+| CREATE SQL SECURITY INVOKER VI ... ait` IS NOT NULL , `esc` . ... |
+| CREATE SQL SECURITY INVOKER VI ... ait` IS NOT NULL , `sys` . ... |
+| CREATE SQL SECURITY INVOKER VI ... , `compressed_size` ) ) DESC |
+| CREATE SQL SECURITY INVOKER VI ... LIKE ? ORDER BY `timer_start` |
++-------------------------------------------------------------------+
+5 rows in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 492
+ no-sql
+
+
+
+Description
+-----------
+
+Takes a raw picoseconds value, and converts it to a human readable form.
+
+Picoseconds are the precision that all latency values are printed in
+within Performance Schema, however are not user friendly when wanting
+to scan output from the command line.
+
+Parameters
+-----------
+
+picoseconds (TEXT):
+ The raw picoseconds value to convert.
+
+Returns
+-----------
+
+TEXT CHARSET UTF8MB4
+
+Example
+-----------
+
+mysql> select format_time(342342342342345);
++------------------------------+
+| format_time(342342342342345) |
++------------------------------+
+| 00:05:42 |
++------------------------------+
+1 row in set (0.00 sec)
+
+mysql> select format_time(342342342);
++------------------------+
+| format_time(342342342) |
++------------------------+
+| 342.34 us |
++------------------------+
+1 row in set (0.00 sec)
+
+mysql> select format_time(34234);
++--------------------+
+| format_time(34234) |
++--------------------+
+| 34.23 ns |
++--------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 921
+ no-sql
+
+
+
+Description
+-----------
+
+Takes a list, and a value to add to the list, and returns the resulting list.
+
+Useful for altering certain session variables, like sql_mode or optimizer_switch for instance.
+
+Parameters
+-----------
+
+in_list (TEXT):
+ The comma separated list to add a value to
+
+in_add_value (TEXT):
+ The value to add to the input list
+
+Returns
+-----------
+
+TEXT
+
+Example
+--------
+
+mysql> select @@sql_mode;
++-----------------------------------------------------------------------------------+
+| @@sql_mode |
++-----------------------------------------------------------------------------------+
+| ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
++-----------------------------------------------------------------------------------+
+1 row in set (0.00 sec)
+
+mysql> set sql_mode = sys.list_add(@@sql_mode, 'ANSI_QUOTES');
+Query OK, 0 rows affected (0.06 sec)
+
+mysql> select @@sql_mode;
++-----------------------------------------------------------------------------------------------+
+| @@sql_mode |
++-----------------------------------------------------------------------------------------------+
+| ANSI_QUOTES,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
++-----------------------------------------------------------------------------------------------+
+1 row in set (0.00 sec)
+
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 457
+
+
+
+Description
+-----------
+
+Takes a list, and a value to attempt to remove from the list, and returns the resulting list.
+
+Useful for altering certain session variables, like sql_mode or optimizer_switch for instance.
+
+Parameters
+-----------
+
+in_list (TEXT):
+ The comma separated list to drop a value from
+
+in_drop_value (TEXT):
+ The value to drop from the input list
+
+Returns
+-----------
+
+TEXT
+
+Example
+--------
+
+mysql> select @@sql_mode;
++-----------------------------------------------------------------------------------------------+
+| @@sql_mode |
++-----------------------------------------------------------------------------------------------+
+| ANSI_QUOTES,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
++-----------------------------------------------------------------------------------------------+
+1 row in set (0.00 sec)
+
+mysql> set sql_mode = sys.list_drop(@@sql_mode, 'ONLY_FULL_GROUP_BY');
+Query OK, 0 rows affected (0.03 sec)
+
+mysql> select @@sql_mode;
++----------------------------------------------------------------------------+
+| @@sql_mode |
++----------------------------------------------------------------------------+
+| ANSI_QUOTES,STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION |
++----------------------------------------------------------------------------+
+1 row in set (0.00 sec)
+
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 623
+
+
+
+Description
+-----------
+
+Determines whether instrumentation of an account is enabled
+within Performance Schema.
+
+Parameters
+-----------
+
+in_host VARCHAR(255):
+ The hostname of the account to check.
+in_user VARCHAR(32):
+ The username of the account to check.
+
+Returns
+-----------
+
+ENUM('YES', 'NO', 'PARTIAL')
+
+Example
+-----------
+
+mysql> SELECT sys.ps_is_account_enabled('localhost', 'root');
++------------------------------------------------+
+| sys.ps_is_account_enabled('localhost', 'root') |
++------------------------------------------------+
+| YES |
++------------------------------------------------+
+1 row in set (0.01 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 339
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Determines whether a consumer is enabled (taking the consumer hierarchy into consideration)
+within the Performance Schema.
+
+An exception with errno 3047 is thrown if an unknown consumer name is passed to the function.
+A consumer name of NULL returns NULL.
+
+Parameters
+-----------
+
+in_consumer VARCHAR(64):
+ The name of the consumer to check.
+
+Returns
+-----------
+
+ENUM('YES', 'NO')
+
+Example
+-----------
+
+mysql> SELECT sys.ps_is_consumer_enabled('events_stages_history');
++-----------------------------------------------------+
+| sys.ps_is_consumer_enabled('events_stages_history') |
++-----------------------------------------------------+
+| NO |
++-----------------------------------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 1929
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Returns whether an instrument is enabled by default in this version of MySQL.
+
+Parameters
+-----------
+
+in_instrument VARCHAR(128):
+ The instrument to check.
+
+Returns
+-----------
+
+ENUM('YES', 'NO')
+
+Example
+-----------
+
+mysql> SELECT sys.ps_is_instrument_default_enabled('statement/sql/select');
++--------------------------------------------------------------+
+| sys.ps_is_instrument_default_enabled('statement/sql/select') |
++--------------------------------------------------------------+
+| YES |
++--------------------------------------------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 746
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Returns whether an instrument is timed by default in this version of MySQL.
+
+Parameters
+-----------
+
+in_instrument VARCHAR(128):
+ The instrument to check.
+
+Returns
+-----------
+
+ENUM('YES', 'NO')
+
+Example
+-----------
+
+mysql> SELECT sys.ps_is_instrument_default_timed('statement/sql/select');
++------------------------------------------------------------+
+| sys.ps_is_instrument_default_timed('statement/sql/select') |
++------------------------------------------------------------+
+| YES |
++------------------------------------------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 820
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Checks whether the provided connection id is instrumented within Performance Schema.
+
+Parameters
+-----------
+
+in_connection_id (BIGINT UNSIGNED):
+ The id of the connection to check.
+
+Returns
+-----------
+
+ENUM('YES', 'NO', 'UNKNOWN')
+
+Example
+-----------
+
+mysql> SELECT sys.ps_is_thread_instrumented(CONNECTION_ID());
++------------------------------------------------+
+| sys.ps_is_thread_instrumented(CONNECTION_ID()) |
++------------------------------------------------+
+| YES |
++------------------------------------------------+
+
+ mysql.sys@localhost
+ function
+ 0
+ 362
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Disable all background thread instrumentation within Performance Schema.
+
+Parameters
+-----------
+
+None.
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_disable_background_threads();
++--------------------------------+
+| summary |
++--------------------------------+
+| Disabled 18 background threads |
++--------------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 222
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Disables consumers within Performance Schema
+matching the input pattern.
+
+Parameters
+-----------
+
+consumer (VARCHAR(128)):
+ A LIKE pattern match (using "%consumer%") of consumers to disable
+
+Example
+-----------
+
+To disable all consumers:
+
+mysql> CALL sys.ps_setup_disable_consumer('');
++--------------------------+
+| summary |
++--------------------------+
+| Disabled 15 consumers |
++--------------------------+
+1 row in set (0.02 sec)
+
+To disable just the event_stage consumers:
+
+mysql> CALL sys.ps_setup_disable_comsumers('stage');
++------------------------+
+| summary |
++------------------------+
+| Disabled 3 consumers |
++------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 233
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Disables instruments within Performance Schema
+matching the input pattern.
+
+Parameters
+-----------
+
+in_pattern (VARCHAR(128)):
+ A LIKE pattern match (using "%in_pattern%") of events to disable
+
+Example
+-----------
+
+To disable all mutex instruments:
+
+mysql> CALL sys.ps_setup_disable_instrument('wait/synch/mutex');
++--------------------------+
+| summary |
++--------------------------+
+| Disabled 155 instruments |
++--------------------------+
+1 row in set (0.02 sec)
+
+To disable just a specific TCP/IP based network IO instrument:
+
+mysql> CALL sys.ps_setup_disable_instrument('wait/io/socket/sql/server_tcpip_socket');
++------------------------+
+| summary |
++------------------------+
+| Disabled 1 instruments |
++------------------------+
+1 row in set (0.00 sec)
+
+To disable all instruments:
+
+mysql> CALL sys.ps_setup_disable_instrument('');
++--------------------------+
+| summary |
++--------------------------+
+| Disabled 547 instruments |
++--------------------------+
+1 row in set (0.01 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 253
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Disable the given connection/thread in Performance Schema.
+
+Parameters
+-----------
+
+in_connection_id (BIGINT):
+ The connection ID (PROCESSLIST_ID from performance_schema.threads
+ or the ID shown within SHOW PROCESSLIST)
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_disable_thread(3);
++-------------------+
+| summary |
++-------------------+
+| Disabled 1 thread |
++-------------------+
+1 row in set (0.01 sec)
+
+To disable the current connection:
+
+mysql> CALL sys.ps_setup_disable_thread(CONNECTION_ID());
++-------------------+
+| summary |
++-------------------+
+| Disabled 1 thread |
++-------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 225
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Enable all background thread instrumentation within Performance Schema.
+
+Parameters
+-----------
+
+None.
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_enable_background_threads();
++-------------------------------+
+| summary |
++-------------------------------+
+| Enabled 18 background threads |
++-------------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 222
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Enables consumers within Performance Schema
+matching the input pattern.
+
+Parameters
+-----------
+
+consumer (VARCHAR(128)):
+ A LIKE pattern match (using "%consumer%") of consumers to enable
+
+Example
+-----------
+
+To enable all consumers:
+
+mysql> CALL sys.ps_setup_enable_consumer('');
++-------------------------+
+| summary |
++-------------------------+
+| Enabled 10 consumers |
++-------------------------+
+1 row in set (0.02 sec)
+
+Query OK, 0 rows affected (0.02 sec)
+
+To enable just "waits" consumers:
+
+mysql> CALL sys.ps_setup_enable_consumer('waits');
++-----------------------+
+| summary |
++-----------------------+
+| Enabled 3 consumers |
++-----------------------+
+1 row in set (0.00 sec)
+
+Query OK, 0 rows affected (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 233
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Enables instruments within Performance Schema
+matching the input pattern.
+
+Parameters
+-----------
+
+in_pattern (VARCHAR(128)):
+ A LIKE pattern match (using "%in_pattern%") of events to enable
+
+Example
+-----------
+
+To enable all mutex instruments:
+
+mysql> CALL sys.ps_setup_enable_instrument('wait/synch/mutex');
++-------------------------+
+| summary |
++-------------------------+
+| Enabled 155 instruments |
++-------------------------+
+1 row in set (0.02 sec)
+
+Query OK, 0 rows affected (0.02 sec)
+
+To enable just a specific TCP/IP based network IO instrument:
+
+mysql> CALL sys.ps_setup_enable_instrument('wait/io/socket/sql/server_tcpip_socket');
++-----------------------+
+| summary |
++-----------------------+
+| Enabled 1 instruments |
++-----------------------+
+1 row in set (0.00 sec)
+
+Query OK, 0 rows affected (0.00 sec)
+
+To enable all instruments:
+
+mysql> CALL sys.ps_setup_enable_instrument('');
++-------------------------+
+| summary |
++-------------------------+
+| Enabled 547 instruments |
++-------------------------+
+1 row in set (0.01 sec)
+
+Query OK, 0 rows affected (0.01 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 254
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Enable the given connection/thread in Performance Schema.
+
+Parameters
+-----------
+
+in_connection_id (BIGINT):
+ The connection ID (PROCESSLIST_ID from performance_schema.threads
+ or the ID shown within SHOW PROCESSLIST)
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_enable_thread(3);
++------------------+
+| summary |
++------------------+
+| Enabled 1 thread |
++------------------+
+1 row in set (0.01 sec)
+
+To enable the current connection:
+
+mysql> CALL sys.ps_setup_enable_thread(CONNECTION_ID());
++------------------+
+| summary |
++------------------+
+| Enabled 1 thread |
++------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 225
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Reloads a saved Performance Schema configuration,
+so that you can alter the setup for debugging purposes,
+but restore it to a previous state.
+
+Use the companion procedure - ps_setup_save(), to
+save a configuration.
+
+Requires the SUPER privilege for "SET sql_log_bin = 0;".
+
+Parameters
+-----------
+
+None.
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_save();
+Query OK, 0 rows affected (0.08 sec)
+
+mysql> UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES';
+Query OK, 547 rows affected (0.40 sec)
+Rows matched: 784 Changed: 547 Warnings: 0
+
+/* Run some tests that need more detailed instrumentation here */
+
+mysql> CALL sys.ps_setup_reload_saved();
+Query OK, 0 rows affected (0.32 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 3154
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Resets the Performance Schema setup to the default settings.
+
+Parameters
+-----------
+
+in_verbose (BOOLEAN):
+ Whether to print each setup stage (including the SQL) whilst running.
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_reset_to_default(true)\G
+*************************** 1. row ***************************
+status: Resetting: setup_actors
+DELETE
+FROM performance_schema.setup_actors
+ WHERE NOT (HOST = '%' AND USER = '%' AND `ROLE` = '%')
+1 row in set (0.00 sec)
+
+*************************** 1. row ***************************
+status: Resetting: setup_actors
+INSERT IGNORE INTO performance_schema.setup_actors
+VALUES ('%', '%', '%')
+1 row in set (0.00 sec)
+...
+
+mysql> CALL sys.ps_setup_reset_to_default(false)\G
+Query OK, 0 rows affected (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 4996
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Saves the current configuration of Performance Schema,
+so that you can alter the setup for debugging purposes,
+but restore it to a previous state.
+
+Use the companion procedure - ps_setup_reload_saved(), to
+restore the saved config.
+
+The named lock "sys.ps_setup_save" is taken before the
+current configuration is saved. If the attempt to get the named
+lock times out, an error occurs.
+
+The lock is released after the settings have been restored by
+calling ps_setup_reload_saved().
+
+Requires the SUPER privilege for "SET sql_log_bin = 0;".
+
+Parameters
+-----------
+
+in_timeout INT
+ The timeout in seconds used when trying to obtain the lock.
+ A negative timeout means infinite timeout.
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_save(-1);
+Query OK, 0 rows affected (0.08 sec)
+
+mysql> UPDATE performance_schema.setup_instruments
+ -> SET enabled = 'YES', timed = 'YES';
+Query OK, 547 rows affected (0.40 sec)
+Rows matched: 784 Changed: 547 Warnings: 0
+
+/* Run some tests that need more detailed instrumentation here */
+
+mysql> CALL sys.ps_setup_reload_saved();
+Query OK, 0 rows affected (0.32 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 1431
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Shows all currently disable Performance Schema configuration.
+
+Disabled users is only available for MySQL 5.7.6 and later.
+In earlier versions it was only possible to enable users.
+
+Parameters
+-----------
+
+in_show_instruments (BOOLEAN):
+ Whether to print disabled instruments (can print many items)
+
+in_show_threads (BOOLEAN):
+ Whether to print disabled threads
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_show_disabled(TRUE, TRUE);
++----------------------------+
+| performance_schema_enabled |
++----------------------------+
+| 1 |
++----------------------------+
+1 row in set (0.00 sec)
+
++--------------------+
+| disabled_users |
++--------------------+
+| 'mark'@'localhost' |
++--------------------+
+1 row in set (0.00 sec)
+
++-------------+----------------------+---------+-------+
+| object_type | objects | enabled | timed |
++-------------+----------------------+---------+-------+
+| EVENT | mysql.% | NO | NO |
+| EVENT | performance_schema.% | NO | NO |
+| EVENT | information_schema.% | NO | NO |
+| FUNCTION | mysql.% | NO | NO |
+| FUNCTION | performance_schema.% | NO | NO |
+| FUNCTION | information_schema.% | NO | NO |
+| PROCEDURE | mysql.% | NO | NO |
+| PROCEDURE | performance_schema.% | NO | NO |
+| PROCEDURE | information_schema.% | NO | NO |
+| TABLE | mysql.% | NO | NO |
+| TABLE | performance_schema.% | NO | NO |
+| TABLE | information_schema.% | NO | NO |
+| TRIGGER | mysql.% | NO | NO |
+| TRIGGER | performance_schema.% | NO | NO |
+| TRIGGER | information_schema.% | NO | NO |
++-------------+----------------------+---------+-------+
+15 rows in set (0.00 sec)
+
++----------------------------------+
+| disabled_consumers |
++----------------------------------+
+| events_stages_current |
+| events_stages_history |
+| events_stages_history_long |
+| events_statements_history |
+| events_statements_history_long |
+| events_transactions_history |
+| events_transactions_history_long |
+| events_waits_current |
+| events_waits_history |
+| events_waits_history_long |
++----------------------------------+
+10 rows in set (0.00 sec)
+
+Empty set (0.00 sec)
+
++---------------------------------------------------------------------------------------+-------+
+| disabled_instruments | timed |
++---------------------------------------------------------------------------------------+-------+
+| wait/synch/mutex/sql/TC_LOG_MMAP::LOCK_tc | NO |
+| wait/synch/mutex/sql/LOCK_des_key_file | NO |
+| wait/synch/mutex/sql/MYSQL_BIN_LOG::LOCK_commit | NO |
+...
+| memory/sql/servers_cache | NO |
+| memory/sql/udf_mem | NO |
+| wait/lock/metadata/sql/mdl | NO |
++---------------------------------------------------------------------------------------+-------+
+547 rows in set (0.00 sec)
+
+Query OK, 0 rows affected (0.01 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 1223
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Shows all currently disabled consumers.
+
+Parameters
+-----------
+
+None
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_show_disabled_consumers();
+
++---------------------------+
+| disabled_consumers |
++---------------------------+
+| events_statements_current |
+| global_instrumentation |
+| thread_instrumentation |
+| statements_digest |
++---------------------------+
+4 rows in set (0.05 sec)
+
+ mysql.sys@localhost
+ 1
+ procedure
+ 0
+ 153
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Shows all currently disabled instruments.
+
+Parameters
+-----------
+
+None
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_show_disabled_instruments();
+
+ mysql.sys@localhost
+ 1
+ procedure
+ 0
+ 166
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Shows all currently enabled Performance Schema configuration.
+
+Parameters
+-----------
+
+in_show_instruments (BOOLEAN):
+ Whether to print enabled instruments (can print many items)
+
+in_show_threads (BOOLEAN):
+ Whether to print enabled threads
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_show_enabled(TRUE, TRUE);
++----------------------------+
+| performance_schema_enabled |
++----------------------------+
+| 1 |
++----------------------------+
+1 row in set (0.00 sec)
+
++---------------+
+| enabled_users |
++---------------+
+| '%'@'%' |
++---------------+
+1 row in set (0.01 sec)
+
++-------------+---------+---------+-------+
+| object_type | objects | enabled | timed |
++-------------+---------+---------+-------+
+| EVENT | %.% | YES | YES |
+| FUNCTION | %.% | YES | YES |
+| PROCEDURE | %.% | YES | YES |
+| TABLE | %.% | YES | YES |
+| TRIGGER | %.% | YES | YES |
++-------------+---------+---------+-------+
+5 rows in set (0.01 sec)
+
++---------------------------+
+| enabled_consumers |
++---------------------------+
+| events_statements_current |
+| global_instrumentation |
+| thread_instrumentation |
+| statements_digest |
++---------------------------+
+4 rows in set (0.05 sec)
+
++---------------------------------+-------------+
+| enabled_threads | thread_type |
++---------------------------------+-------------+
+| sql/main | BACKGROUND |
+| sql/thread_timer_notifier | BACKGROUND |
+| innodb/io_ibuf_thread | BACKGROUND |
+| innodb/io_log_thread | BACKGROUND |
+| innodb/io_read_thread | BACKGROUND |
+| innodb/io_read_thread | BACKGROUND |
+| innodb/io_write_thread | BACKGROUND |
+| innodb/io_write_thread | BACKGROUND |
+| innodb/page_cleaner_thread | BACKGROUND |
+| innodb/srv_lock_timeout_thread | BACKGROUND |
+| innodb/srv_error_monitor_thread | BACKGROUND |
+| innodb/srv_monitor_thread | BACKGROUND |
+| innodb/srv_master_thread | BACKGROUND |
+| innodb/srv_purge_thread | BACKGROUND |
+| innodb/srv_worker_thread | BACKGROUND |
+| innodb/srv_worker_thread | BACKGROUND |
+| innodb/srv_worker_thread | BACKGROUND |
+| innodb/buf_dump_thread | BACKGROUND |
+| innodb/dict_stats_thread | BACKGROUND |
+| sql/signal_handler | BACKGROUND |
+| sql/compress_gtid_table | FOREGROUND |
+| root@localhost | FOREGROUND |
++---------------------------------+-------------+
+22 rows in set (0.01 sec)
+
++-------------------------------------+-------+
+| enabled_instruments | timed |
++-------------------------------------+-------+
+| wait/io/file/sql/map | YES |
+| wait/io/file/sql/binlog | YES |
+...
+| statement/com/Error | YES |
+| statement/com/ | YES |
+| idle | YES |
++-------------------------------------+-------+
+210 rows in set (0.08 sec)
+
+Query OK, 0 rows affected (0.89 sec)
+
+ mysql.sys@localhost
+ 1
+ procedure
+ 0
+ 1220
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Shows all currently enabled consumers.
+
+Parameters
+-----------
+
+None
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_show_enabled_consumers();
+
++---------------------------+
+| enabled_consumers |
++---------------------------+
+| events_statements_current |
+| global_instrumentation |
+| thread_instrumentation |
+| statements_digest |
++---------------------------+
+4 rows in set (0.05 sec)
+
+ mysql.sys@localhost
+ 1
+ procedure
+ 0
+ 152
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Shows all currently enabled instruments.
+
+Parameters
+-----------
+
+None
+
+Example
+-----------
+
+mysql> CALL sys.ps_setup_show_enabled_instruments();
+
+ mysql.sys@localhost
+ 1
+ procedure
+ 0
+ 165
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Outputs a textual histogram graph of the average latency values
+across all normalized queries tracked within the Performance Schema
+events_statements_summary_by_digest table.
+
+Can be used to show a very high level picture of what kind of
+latency distribution statements running within this instance have.
+
+Parameters
+-----------
+
+None.
+
+Example
+-----------
+
+mysql> CALL sys.ps_statement_avg_latency_histogram()\G
+*************************** 1. row ***************************
+Performance Schema Statement Digest Average Latency Histogram:
+
+ . = 1 unit
+ * = 2 units
+ # = 3 units
+
+(0 - 38ms) 240 | ################################################################################
+(38 - 77ms) 38 | ......................................
+(77 - 115ms) 3 | ...
+(115 - 154ms) 62 | *******************************
+(154 - 192ms) 3 | ...
+(192 - 231ms) 0 |
+(231 - 269ms) 0 |
+(269 - 307ms) 0 |
+(307 - 346ms) 0 |
+(346 - 384ms) 1 | .
+(384 - 423ms) 1 | .
+(423 - 461ms) 0 |
+(461 - 499ms) 0 |
+(499 - 538ms) 0 |
+(538 - 576ms) 0 |
+(576 - 615ms) 1 | .
+
+ Total Statements: 350; Buckets: 16; Bucket Size: 38 ms;
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 14845
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Return the user@host account for the given Performance Schema thread id.
+
+Parameters
+-----------
+
+in_thread_id (BIGINT UNSIGNED):
+ The id of the thread to return the account for.
+
+Example
+-----------
+
+mysql> select thread_id, processlist_user, processlist_host from performance_schema.threads where type = 'foreground';
++-----------+------------------+------------------+
+| thread_id | processlist_user | processlist_host |
++-----------+------------------+------------------+
+| 23 | NULL | NULL |
+| 30 | root | localhost |
+| 31 | msandbox | localhost |
+| 32 | msandbox | localhost |
++-----------+------------------+------------------+
+4 rows in set (0.00 sec)
+
+mysql> select sys.ps_thread_account(31);
++---------------------------+
+| sys.ps_thread_account(31) |
++---------------------------+
+| msandbox@localhost |
++---------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ function
+ 0
+ 303
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Return the Performance Schema THREAD_ID for the specified connection ID.
+
+Parameters
+-----------
+
+in_connection_id (BIGINT UNSIGNED):
+ The id of the connection to return the thread id for. If NULL, the current
+ connection thread id is returned.
+
+Example
+-----------
+
+mysql> SELECT sys.ps_thread_id(79);
++----------------------+
+| sys.ps_thread_id(79) |
++----------------------+
+| 98 |
++----------------------+
+1 row in set (0.00 sec)
+
+mysql> SELECT sys.ps_thread_id(CONNECTION_ID());
++-----------------------------------+
+| sys.ps_thread_id(CONNECTION_ID()) |
++-----------------------------------+
+| 98 |
++-----------------------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ function
+ 0
+ 141
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Outputs a JSON formatted stack of all statements, stages and events
+within Performance Schema for the specified thread.
+
+Parameters
+-----------
+
+thd_id (BIGINT UNSIGNED):
+ The id of the thread to trace. This should match the thread_id
+ column from the performance_schema.threads table.
+in_verbose (BOOLEAN):
+ Include file:lineno information in the events.
+
+Example
+-----------
+
+(line separation added for output)
+
+mysql> SELECT sys.ps_thread_stack(37, FALSE) AS thread_stack\G
+*************************** 1. row ***************************
+thread_stack: {"rankdir": "LR","nodesep": "0.10","stack_created": "2014-02-19 13:39:03",
+"mysql_version": "5.7.3-m13","mysql_user": "root@localhost","events":
+[{"nesting_event_id": "0", "event_id": "10", "timer_wait": 256.35, "event_info":
+"sql/select", "wait_info": "select @@version_comment limit 1\nerrors: 0\nwarnings: 0\nlock time:
+...
+
+ mysql.sys@localhost
+ function
+ 0
+ 6438
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Returns a JSON object with info on the given threads current transaction,
+and the statements it has already executed, derived from the
+performance_schema.events_transactions_current and
+performance_schema.events_statements_history tables (so the consumers
+for these also have to be enabled within Performance Schema to get full
+data in the object).
+
+When the output exceeds the default truncation length (65535), a JSON error
+object is returned, such as:
+
+{ "error": "Trx info truncated: Row 6 was cut by GROUP_CONCAT()" }
+
+Similar error objects are returned for other warnings/and exceptions raised
+when calling the function.
+
+The max length of the output of this function can be controlled with the
+ps_thread_trx_info.max_length variable set via sys_config, or the
+@sys.ps_thread_trx_info.max_length user variable, as appropriate.
+
+Parameters
+-----------
+
+in_thread_id (BIGINT UNSIGNED):
+ The id of the thread to return the transaction info for.
+
+Example
+-----------
+
+SELECT sys.ps_thread_trx_info(48)\G
+*************************** 1. row ***************************
+sys.ps_thread_trx_info(48): [
+ {
+ "time": "790.70 us",
+ "state": "COMMITTED",
+ "mode": "READ WRITE",
+ "autocommitted": "NO",
+ "gtid": "AUTOMATIC",
+ "isolation": "REPEATABLE READ",
+ "statements_executed": [
+ {
+ "sql_text": "INSERT INTO info VALUES (1, 'foo')",
+ "time": "471.02 us",
+ "schema": "trx",
+ "rows_examined": 0,
+ "rows_affected": 1,
+ "rows_sent": 0,
+ "tmp_tables": 0,
+ "tmp_disk_tables": 0,
+ "sort_rows": 0,
+ "sort_merge_passes": 0
+ },
+ {
+ "sql_text": "COMMIT",
+ "time": "254.42 us",
+ "schema": "trx",
+ "rows_examined": 0,
+ "rows_affected": 0,
+ "rows_sent": 0,
+ "tmp_tables": 0,
+ "tmp_disk_tables": 0,
+ "sort_rows": 0,
+ "sort_merge_passes": 0
+ }
+ ]
+ },
+ {
+ "time": "426.20 us",
+ "state": "COMMITTED",
+ "mode": "READ WRITE",
+ "autocommitted": "NO",
+ "gtid": "AUTOMATIC",
+ "isolation": "REPEATABLE READ",
+ "statements_executed": [
+ {
+ "sql_text": "INSERT INTO info VALUES (2, 'bar')",
+ "time": "107.33 us",
+ "schema": "trx",
+ "rows_examined": 0,
+ "rows_affected": 1,
+ "rows_sent": 0,
+ "tmp_tables": 0,
+ "tmp_disk_tables": 0,
+ "sort_rows": 0,
+ "sort_merge_passes": 0
+ },
+ {
+ "sql_text": "COMMIT",
+ "time": "213.23 us",
+ "schema": "trx",
+ "rows_examined": 0,
+ "rows_affected": 0,
+ "rows_sent": 0,
+ "tmp_tables": 0,
+ "tmp_disk_tables": 0,
+ "sort_rows": 0,
+ "sort_merge_passes": 0
+ }
+ ]
+ }
+]
+1 row in set (0.03 sec)
+
+ mysql.sys@localhost
+ function
+ 0
+ 5388
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Traces all instrumentation within Performance Schema for a specific
+Statement Digest.
+
+When finding a statement of interest within the
+performance_schema.events_statements_summary_by_digest table, feed
+the DIGEST value in to this procedure, set how long to poll for,
+and at what interval to poll, and it will generate a report of all
+statistics tracked within Performance Schema for that digest for the
+interval.
+
+It will also attempt to generate an EXPLAIN for the longest running
+example of the digest during the interval. Note this may fail, as:
+
+ * Performance Schema truncates long SQL_TEXT values (and hence the
+ EXPLAIN will fail due to parse errors)
+ * the default schema is sys (so tables that are not fully qualified
+ in the query may not be found)
+ * some queries such as SHOW are not supported in EXPLAIN.
+
+When the EXPLAIN fails, the error will be ignored and no EXPLAIN
+output generated.
+
+Requires the SUPER privilege for "SET sql_log_bin = 0;".
+
+Parameters
+-----------
+
+in_digest (VARCHAR(64)):
+ The statement digest identifier you would like to analyze
+in_runtime (INT):
+ The number of seconds to run analysis for
+in_interval (DECIMAL(2,2)):
+ The interval (in seconds, may be fractional) at which to try
+ and take snapshots
+in_start_fresh (BOOLEAN):
+ Whether to TRUNCATE the events_statements_history_long and
+ events_stages_history_long tables before starting
+in_auto_enable (BOOLEAN):
+ Whether to automatically turn on required consumers
+
+Example
+-----------
+
+mysql> call ps_trace_statement_digest('891ec6860f98ba46d89dd20b0c03652c', 10, 0.1, true, true);
++--------------------+
+| SUMMARY STATISTICS |
++--------------------+
+| SUMMARY STATISTICS |
++--------------------+
+1 row in set (9.11 sec)
+
++------------+-----------+-----------+-----------+---------------+------------+------------+
+| executions | exec_time | lock_time | rows_sent | rows_examined | tmp_tables | full_scans |
++------------+-----------+-----------+-----------+---------------+------------+------------+
+| 21 | 4.11 ms | 2.00 ms | 0 | 21 | 0 | 0 |
++------------+-----------+-----------+-----------+---------------+------------+------------+
+1 row in set (9.11 sec)
+
++------------------------------------------+-------+-----------+
+| event_name | count | latency |
++------------------------------------------+-------+-----------+
+| stage/sql/checking query cache for query | 16 | 724.37 us |
+| stage/sql/statistics | 16 | 546.92 us |
+| stage/sql/freeing items | 18 | 520.11 us |
+| stage/sql/init | 51 | 466.80 us |
+...
+| stage/sql/cleaning up | 18 | 11.92 us |
+| stage/sql/executing | 16 | 6.95 us |
++------------------------------------------+-------+-----------+
+17 rows in set (9.12 sec)
+
++---------------------------+
+| LONGEST RUNNING STATEMENT |
++---------------------------+
+| LONGEST RUNNING STATEMENT |
++---------------------------+
+1 row in set (9.16 sec)
+
++-----------+-----------+-----------+-----------+---------------+------------+-----------+
+| thread_id | exec_time | lock_time | rows_sent | rows_examined | tmp_tables | full_scan |
++-----------+-----------+-----------+-----------+---------------+------------+-----------+
+| 166646 | 618.43 us | 1.00 ms | 0 | 1 | 0 | 0 |
++-----------+-----------+-----------+-----------+---------------+------------+-----------+
+1 row in set (9.16 sec)
+
+// Truncated for clarity...
++-----------------------------------------------------------------+
+| sql_text |
++-----------------------------------------------------------------+
+| select hibeventhe0_.id as id1382_, hibeventhe0_.createdTime ... |
++-----------------------------------------------------------------+
+1 row in set (9.17 sec)
+
++------------------------------------------+-----------+
+| event_name | latency |
++------------------------------------------+-----------+
+| stage/sql/init | 8.61 us |
+| stage/sql/Waiting for query cache lock | 453.23 us |
+| stage/sql/init | 331.07 ns |
+| stage/sql/checking query cache for query | 43.04 us |
+...
+| stage/sql/freeing items | 30.46 us |
+| stage/sql/cleaning up | 662.13 ns |
++------------------------------------------+-----------+
+18 rows in set (9.23 sec)
+
++----+-------------+--------------+-------+---------------+-----------+---------+-------------+------+-------+
+| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
++----+-------------+--------------+-------+---------------+-----------+---------+-------------+------+-------+
+| 1 | SIMPLE | hibeventhe0_ | const | fixedTime | fixedTime | 775 | const,const | 1 | NULL |
++----+-------------+--------------+-------+---------------+-----------+---------+-------------+------+-------+
+1 row in set (9.27 sec)
+
+Query OK, 0 rows affected (9.28 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 6010
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Dumps all data within Performance Schema for an instrumented thread,
+to create a DOT formatted graph file.
+
+Each resultset returned from the procedure should be used for a complete graph
+
+Requires the SUPER privilege for "SET sql_log_bin = 0;".
+
+Parameters
+-----------
+
+in_thread_id (BIGINT UNSIGNED):
+ The thread that you would like a stack trace for
+in_outfile (VARCHAR(255)):
+ The filename the dot file will be written to
+in_max_runtime (DECIMAL(20,2)):
+ The maximum time to keep collecting data.
+ Use NULL to get the default which is 60 seconds.
+in_interval (DECIMAL(20,2)):
+ How long to sleep between data collections.
+ Use NULL to get the default which is 1 second.
+in_start_fresh (BOOLEAN):
+ Whether to reset all Performance Schema data before tracing.
+in_auto_setup (BOOLEAN):
+ Whether to disable all other threads and enable all consumers/instruments.
+ This will also reset the settings at the end of the run.
+in_debug (BOOLEAN):
+ Whether you would like to include file:lineno in the graph
+
+Example
+-----------
+
+mysql> CALL sys.ps_trace_thread(25, CONCAT('/tmp/stack-', REPLACE(NOW(), ' ', '-'), '.dot'), NULL, NULL, TRUE, TRUE, TRUE);
++-------------------+
+| summary |
++-------------------+
+| Disabled 1 thread |
++-------------------+
+1 row in set (0.00 sec)
+
++---------------------------------------------+
+| Info |
++---------------------------------------------+
+| Data collection starting for THREAD_ID = 25 |
++---------------------------------------------+
+1 row in set (0.03 sec)
+
++-----------------------------------------------------------+
+| Info |
++-----------------------------------------------------------+
+| Stack trace written to /tmp/stack-2014-02-16-21:18:41.dot |
++-----------------------------------------------------------+
+1 row in set (60.07 sec)
+
++-------------------------------------------------------------------+
+| Convert to PDF |
++-------------------------------------------------------------------+
+| dot -Tpdf -o /tmp/stack_25.pdf /tmp/stack-2014-02-16-21:18:41.dot |
++-------------------------------------------------------------------+
+1 row in set (60.07 sec)
+
++-------------------------------------------------------------------+
+| Convert to PNG |
++-------------------------------------------------------------------+
+| dot -Tpng -o /tmp/stack_25.png /tmp/stack-2014-02-16-21:18:41.dot |
++-------------------------------------------------------------------+
+1 row in set (60.07 sec)
+
++------------------+
+| summary |
++------------------+
+| Enabled 1 thread |
++------------------+
+1 row in set (60.32 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 12394
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Truncates all summary tables within Performance Schema,
+resetting all aggregated instrumentation as a snapshot.
+
+Parameters
+-----------
+
+in_verbose (BOOLEAN):
+ Whether to print each TRUNCATE statement before running
+
+Example
+-----------
+
+mysql> CALL sys.ps_truncate_all_tables(false);
++---------------------+
+| summary |
++---------------------+
+| Truncated 44 tables |
++---------------------+
+1 row in set (0.10 sec)
+
+Query OK, 0 rows affected (0.10 sec)
+
+ mysql.sys@localhost
+ 1
+ procedure
+ 0
+ 1064
+ modifies-sql-data
+
+
+
+Description
+-----------
+
+Takes an unquoted identifier (schema name, table name, etc.) and
+returns the identifier quoted with backticks.
+
+Parameters
+-----------
+
+in_identifier (TEXT):
+ The identifier to quote.
+
+Returns
+-----------
+
+TEXT CHARSET UTF8MB4
+
+Example
+-----------
+
+mysql> SELECT sys.quote_identifier('my_identifier') AS Identifier;
++-----------------+
+| Identifier |
++-----------------+
+| `my_identifier` |
++-----------------+
+1 row in set (0.00 sec)
+
+mysql> SELECT sys.quote_identifier('my`idenfier') AS Identifier;
++----------------+
+| Identifier |
++----------------+
+| `my``idenfier` |
++----------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 73
+ no-sql
+
+
+
+Description
+-----------
+
+Create a report of the statements running on the server.
+
+The views are calculated based on the overall and/or delta activity.
+
+Requires the SUPER privilege for "SET sql_log_bin = 0;".
+
+Parameters
+-----------
+
+in_action (ENUM('snapshot', 'overall', 'delta', 'create_tmp', 'create_table', 'save', 'cleanup')):
+ The action to take. Supported actions are:
+ * snapshot Store a snapshot. The default is to make a snapshot of the current content of
+ performance_schema.events_statements_summary_by_digest, but by setting in_table
+ this can be overwritten to copy the content of the specified table.
+ The snapshot is stored in the sys.tmp_digests temporary table.
+ * overall Generate analyzis based on the content specified by in_table. For the overall analyzis,
+ in_table can be NOW() to use a fresh snapshot. This will overwrite an existing snapshot.
+ Use NULL for in_table to use the existing snapshot. If in_table IS NULL and no snapshot
+ exists, a new will be created.
+ See also in_views and @sys.statement_performance_analyzer.limit.
+ * delta Generate a delta analysis. The delta will be calculated between the reference table in
+ in_table and the snapshot. An existing snapshot must exist.
+ The action uses the sys.tmp_digests_delta temporary table.
+ See also in_views and @sys.statement_performance_analyzer.limit.
+ * create_table Create a regular table suitable for storing the snapshot for later use, e.g. for
+ calculating deltas.
+ * create_tmp Create a temporary table suitable for storing the snapshot for later use, e.g. for
+ calculating deltas.
+ * save Save the snapshot in the table specified by in_table. The table must exists and have
+ the correct structure.
+ If no snapshot exists, a new is created.
+ * cleanup Remove the temporary tables used for the snapshot and delta.
+
+in_table (VARCHAR(129)):
+ The table argument used for some actions. Use the format 'db1.t1' or 't1' without using any backticks (`)
+ for quoting. Periods (.) are not supported in the database and table names.
+
+ The meaning of the table for each action supporting the argument is:
+
+ * snapshot The snapshot is created based on the specified table. Set to NULL or NOW() to use
+ the current content of performance_schema.events_statements_summary_by_digest.
+ * overall The table with the content to create the overall analyzis for. The following values
+ can be used:
+ - A table name - use the content of that table.
+ - NOW() - create a fresh snapshot and overwrite the existing snapshot.
+ - NULL - use the last stored snapshot.
+ * delta The table name is mandatory and specified the reference view to compare the currently
+ stored snapshot against. If no snapshot exists, a new will be created.
+ * create_table The name of the regular table to create.
+ * create_tmp The name of the temporary table to create.
+ * save The name of the table to save the currently stored snapshot into.
+
+in_views (SET ('with_runtimes_in_95th_percentile', 'analysis', 'with_errors_or_warnings',
+ 'with_full_table_scans', 'with_sorting', 'with_temp_tables', 'custom'))
+ Which views to include:
+
+ * with_runtimes_in_95th_percentile Based on the sys.statements_with_runtimes_in_95th_percentile view
+ * analysis Based on the sys.statement_analysis view
+ * with_errors_or_warnings Based on the sys.statements_with_errors_or_warnings view
+ * with_full_table_scans Based on the sys.statements_with_full_table_scans view
+ * with_sorting Based on the sys.statements_with_sorting view
+ * with_temp_tables Based on the sys.statements_with_temp_tables view
+ * custom Use a custom view. This view must be specified in @sys.statement_performance_analyzer.view to an existing view or a query
+
+Default is to include all except 'custom'.
+
+
+Configuration Options
+----------------------
+
+sys.statement_performance_analyzer.limit
+ The maximum number of rows to include for the views that does not have a built-in limit (e.g. the 95th percentile view).
+ If not set the limit is 100.
+
+sys.statement_performance_analyzer.view
+ Used together with the 'custom' view. If the value contains a space, it is considered a query, otherwise it must be
+ an existing view querying the performance_schema.events_statements_summary_by_digest table. There cannot be any limit
+ clause including in the query or view definition if @sys.statement_performance_analyzer.limit > 0.
+ If specifying a view, use the same format as for in_table.
+
+sys.debug
+ Whether to provide debugging output.
+ Default is 'OFF'. Set to 'ON' to include.
+
+
+Example
+--------
+
+To create a report with the queries in the 95th percentile since last truncate of performance_schema.events_statements_summary_by_digest
+and the delta for a 1 minute period:
+
+ 1. Create a temporary table to store the initial snapshot.
+ 2. Create the initial snapshot.
+ 3. Save the initial snapshot in the temporary table.
+ 4. Wait one minute.
+ 5. Create a new snapshot.
+ 6. Perform analyzis based on the new snapshot.
+ 7. Perform analyzis based on the delta between the initial and new snapshots.
+
+mysql> CALL sys.statement_performance_analyzer('create_tmp', 'mydb.tmp_digests_ini', NULL);
+Query OK, 0 rows affected (0.08 sec)
+
+mysql> CALL sys.statement_performance_analyzer('snapshot', NULL, NULL);
+Query OK, 0 rows affected (0.02 sec)
+
+mysql> CALL sys.statement_performance_analyzer('save', 'mydb.tmp_digests_ini', NULL);
+Query OK, 0 rows affected (0.00 sec)
+
+mysql> DO SLEEP(60);
+Query OK, 0 rows affected (1 min 0.00 sec)
+
+mysql> CALL sys.statement_performance_analyzer('snapshot', NULL, NULL);
+Query OK, 0 rows affected (0.02 sec)
+
+mysql> CALL sys.statement_performance_analyzer('overall', NULL, 'with_runtimes_in_95th_percentile');
++-----------------------------------------+
+| Next Output |
++-----------------------------------------+
+| Queries with Runtime in 95th Percentile |
++-----------------------------------------+
+1 row in set (0.05 sec)
+
+...
+
+mysql> CALL sys.statement_performance_analyzer('delta', 'mydb.tmp_digests_ini', 'with_runtimes_in_95th_percentile');
++-----------------------------------------+
+| Next Output |
++-----------------------------------------+
+| Queries with Runtime in 95th Percentile |
++-----------------------------------------+
+1 row in set (0.03 sec)
+
+...
+
+
+To create an overall report of the 95th percentile queries and the top 10 queries with full table scans:
+
+mysql> CALL sys.statement_performance_analyzer('snapshot', NULL, NULL);
+Query OK, 0 rows affected (0.01 sec)
+
+mysql> SET @sys.statement_performance_analyzer.limit = 10;
+Query OK, 0 rows affected (0.00 sec)
+
+mysql> CALL sys.statement_performance_analyzer('overall', NULL, 'with_runtimes_in_95th_percentile,with_full_table_scans');
++-----------------------------------------+
+| Next Output |
++-----------------------------------------+
+| Queries with Runtime in 95th Percentile |
++-----------------------------------------+
+1 row in set (0.01 sec)
+
+...
+
++-------------------------------------+
+| Next Output |
++-------------------------------------+
+| Top 10 Queries with Full Table Scan |
++-------------------------------------+
+1 row in set (0.09 sec)
+
+...
+
+
+Use a custom view showing the top 10 query sorted by total execution time refreshing the view every minute using
+the watch command in Linux.
+
+mysql> CREATE OR REPLACE VIEW mydb.my_statements AS
+ -> SELECT sys.format_statement(DIGEST_TEXT) AS query,
+ -> SCHEMA_NAME AS db,
+ -> COUNT_STAR AS exec_count,
+ -> format_pico_time(SUM_TIMER_WAIT) AS total_latency,
+ -> format_pico_time(AVG_TIMER_WAIT) AS avg_latency,
+ -> ROUND(IFNULL(SUM_ROWS_SENT / NULLIF(COUNT_STAR, 0), 0)) AS rows_sent_avg,
+ -> ROUND(IFNULL(SUM_ROWS_EXAMINED / NULLIF(COUNT_STAR, 0), 0)) AS rows_examined_avg,
+ -> ROUND(IFNULL(SUM_ROWS_AFFECTED / NULLIF(COUNT_STAR, 0), 0)) AS rows_affected_avg,
+ -> DIGEST AS digest
+ -> FROM performance_schema.events_statements_summary_by_digest
+ -> ORDER BY SUM_TIMER_WAIT DESC;
+Query OK, 0 rows affected (0.01 sec)
+
+mysql> CALL sys.statement_performance_analyzer('create_table', 'mydb.digests_prev', NULL);
+Query OK, 0 rows affected (0.10 sec)
+
+shell$ watch -n 60 "mysql sys --table -e "
+> SET @sys.statement_performance_analyzer.view = 'mydb.my_statements';
+> SET @sys.statement_performance_analyzer.limit = 10;
+> CALL statement_performance_analyzer('snapshot', NULL, NULL);
+> CALL statement_performance_analyzer('delta', 'mydb.digests_prev', 'custom');
+> CALL statement_performance_analyzer('save', 'mydb.digests_prev', NULL);
+> ""
+
+Every 60.0s: mysql sys --table -e " ... Mon Dec 22 10:58:51 2014
+
++----------------------------------+
+| Next Output |
++----------------------------------+
+| Top 10 Queries Using Custom View |
++----------------------------------+
++-------------------+-------+------------+---------------+-------------+---------------+-------------------+-------------------+----------------------------------+
+| query | db | exec_count | total_latency | avg_latency | rows_sent_avg | rows_examined_avg | rows_affected_avg | digest |
++-------------------+-------+------------+---------------+-------------+---------------+-------------------+-------------------+----------------------------------+
+...
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 26603
+
+
+
+Description
+-----------
+
+Returns the value for the requested variable using the following logic:
+
+ 1. If the option exists in sys.sys_config return the value from there.
+ 2. Else fall back on the provided default value.
+
+Notes for using sys_get_config():
+
+ * If the default value argument to sys_get_config() is NULL and case 2. is reached, NULL is returned.
+ It is then expected that the caller is able to handle NULL for the given configuration option.
+ * The convention is to name the user variables @sys.<name of variable>. It is <name of variable> that
+ is stored in the sys_config table and is what is expected as the argument to sys_get_config().
+ * If you want to check whether the configuration option has already been set and if not assign with
+ the return value of sys_get_config() you can use IFNULL(...) (see example below). However this should
+ not be done inside a loop (e.g. for each row in a result set) as for repeated calls where assignment
+ is only needed in the first iteration using IFNULL(...) is expected to be significantly slower than
+ using an IF (...) THEN ... END IF; block (see example below).
+
+Parameters
+-----------
+
+in_variable_name (VARCHAR(128)):
+ The name of the config option to return the value for.
+
+in_default_value (VARCHAR(128)):
+ The default value to return if the variable does not exist in sys.sys_config.
+
+Returns
+-----------
+
+VARCHAR(128)
+
+Example
+-----------
+
+-- Get the configuration value from sys.sys_config falling back on 128 if the option is not present in the table.
+mysql> SELECT sys.sys_get_config('statement_truncate_len', 128) AS Value;
++-------+
+| Value |
++-------+
+| 64 |
++-------+
+1 row in set (0.00 sec)
+
+-- Check whether the option is already set, if not assign - IFNULL(...) one liner example.
+mysql> SET @sys.statement_truncate_len = IFNULL(@sys.statement_truncate_len, sys.sys_get_config('statement_truncate_len', 64));
+Query OK, 0 rows affected (0.00 sec)
+
+-- Check whether the option is already set, if not assign - IF ... THEN ... END IF example.
+IF (@sys.statement_truncate_len IS NULL) THEN
+ SET @sys.statement_truncate_len = sys.sys_get_config('statement_truncate_len', 64);
+END IF;
+
+ mysql.sys@localhost
+ 1
+ function
+ 0
+ 377
+ reads-sql-data
+
+
+
+Description
+-----------
+
+Tests whether the table specified in in_db and in_table exists either as a regular
+table, or as a temporary table. The returned value corresponds to the table that
+will be used, so if there's both a temporary and a permanent table with the given
+name, then 'TEMPORARY' will be returned.
+
+Parameters
+-----------
+
+in_db (VARCHAR(64)):
+ The database name to check for the existance of the table in.
+
+in_table (VARCHAR(64)):
+ The name of the table to check the existance of.
+
+out_exists ENUM('', 'BASE TABLE', 'VIEW', 'TEMPORARY'):
+ The return value: whether the table exists. The value is one of:
+ * '' - the table does not exist neither as a base table, view, nor temporary table.
+ * 'BASE TABLE' - the table name exists as a permanent base table table.
+ * 'VIEW' - the table name exists as a view.
+ * 'TEMPORARY' - the table name exists as a temporary table.
+
+Example
+--------
+
+mysql> CREATE DATABASE db1;
+Query OK, 1 row affected (0.07 sec)
+
+mysql> use db1;
+Database changed
+mysql> CREATE TABLE t1 (id INT PRIMARY KEY);
+Query OK, 0 rows affected (0.08 sec)
+
+mysql> CREATE TABLE t2 (id INT PRIMARY KEY);
+Query OK, 0 rows affected (0.08 sec)
+
+mysql> CREATE view v_t1 AS SELECT * FROM t1;
+Query OK, 0 rows affected (0.00 sec)
+
+mysql> CREATE TEMPORARY TABLE t1 (id INT PRIMARY KEY);
+Query OK, 0 rows affected (0.00 sec)
+
+mysql> CALL sys.table_exists('db1', 't1', @exists); SELECT @exists;
+Query OK, 0 rows affected (0.00 sec)
+
++------------+
+| @exists |
++------------+
+| TEMPORARY |
++------------+
+1 row in set (0.00 sec)
+
+mysql> CALL sys.table_exists('db1', 't2', @exists); SELECT @exists;
+Query OK, 0 rows affected (0.00 sec)
+
++------------+
+| @exists |
++------------+
+| BASE TABLE |
++------------+
+1 row in set (0.01 sec)
+
+mysql> CALL sys.table_exists('db1', 'v_t1', @exists); SELECT @exists;
+Query OK, 0 rows affected (0.00 sec)
+
++---------+
+| @exists |
++---------+
+| VIEW |
++---------+
+1 row in set (0.00 sec)
+
+mysql> CALL sys.table_exists('db1', 't3', @exists); SELECT @exists;
+Query OK, 0 rows affected (0.01 sec)
+
++---------+
+| @exists |
++---------+
+| |
++---------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ procedure
+ 0
+ 2021
+
+
+
+Description
+-----------
+
+Returns the major version of MySQL Server.
+
+Returns
+-----------
+
+TINYINT UNSIGNED
+
+Example
+-----------
+
+mysql> SELECT VERSION(), sys.version_major();
++--------------------------------------+---------------------+
+| VERSION() | sys.version_major() |
++--------------------------------------+---------------------+
+| 5.7.9-enterprise-commercial-advanced | 5 |
++--------------------------------------+---------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ function
+ 0
+ 81
+ no-sql
+
+
+
+Description
+-----------
+
+Returns the minor (release series) version of MySQL Server.
+
+Returns
+-----------
+
+TINYINT UNSIGNED
+
+Example
+-----------
+
+mysql> SELECT VERSION(), sys.server_minor();
++--------------------------------------+---------------------+
+| VERSION() | sys.version_minor() |
++--------------------------------------+---------------------+
+| 5.7.9-enterprise-commercial-advanced | 7 |
++--------------------------------------+---------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ function
+ 0
+ 107
+ no-sql
+
+
+
+Description
+-----------
+
+Returns the patch release version of MySQL Server.
+
+Returns
+-----------
+
+TINYINT UNSIGNED
+
+Example
+-----------
+
+mysql> SELECT VERSION(), sys.version_patch();
++--------------------------------------+---------------------+
+| VERSION() | sys.version_patch() |
++--------------------------------------+---------------------+
+| 5.7.9-enterprise-commercial-advanced | 9 |
++--------------------------------------+---------------------+
+1 row in set (0.00 sec)
+
+ mysql.sys@localhost
+ function
+ 0
+ 82
+ no-sql
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ mysql.sys@localhost
+ 1412
+
+
+ mysql.sys@localhost
+ 868
+
+
+ mysql.sys@localhost
+ 1152
+
+
+ mysql.sys@localhost
+ 1060
+
+
+ mysql.sys@localhost
+ 1740
+
+
+ mysql.sys@localhost
+ 1902
+
+
+ mysql.sys@localhost
+ 738
+
+
+ mysql.sys@localhost
+ 830
+
+
+ mysql.sys@localhost
+ 2202
+
+
+ mysql.sys@localhost
+ 1719
+
+
+ mysql.sys@localhost
+ 1548
+
+
+ mysql.sys@localhost
+ 941
+
+
+ mysql.sys@localhost
+ 1952
+
+
+ mysql.sys@localhost
+ 1875
+
+
+ mysql.sys@localhost
+ 1302
+
+
+ mysql.sys@localhost
+ 1269
+
+
+ mysql.sys@localhost
+ 977
+
+
+ mysql.sys@localhost
+ 1269
+
+
+ mysql.sys@localhost
+ 1249
+
+
+ mysql.sys@localhost
+ 200
+
+
+ mysql.sys@localhost
+ 3193
+
+
+ mysql.sys@localhost
+ 2904
+
+
+ mysql.sys@localhost
+ 338
+
+
+ mysql.sys@localhost
+ 2370
+
+
+ mysql.sys@localhost
+ 1382
+
+
+ mysql.sys@localhost
+ 1393
+
+
+ mysql.sys@localhost
+ 1917
+
+
+ mysql.sys@localhost
+ 1673
+
+
+ mysql.sys@localhost
+ 1315
+
+
+ mysql.sys@localhost
+ 1849
+
+
+ mysql.sys@localhost
+ 730
+
+
+ mysql.sys@localhost
+ 709
+
+
+ mysql.sys@localhost
+ 1633
+
+
+ mysql.sys@localhost
+ 616
+
+
+ mysql.sys@localhost
+ 3176
+
+
+ mysql.sys@localhost
+ 1495
+
+
+ mysql.sys@localhost
+ 2295
+
+
+ mysql.sys@localhost
+ 1150
+
+
+ mysql.sys@localhost
+ 1697
+
+
+ mysql.sys@localhost
+ 1682
+
+
+ mysql.sys@localhost
+ 1673
+
+
+ mysql.sys@localhost
+ 868
+
+
+ mysql.sys@localhost
+ 1146
+
+
+ mysql.sys@localhost
+ 1060
+
+
+ mysql.sys@localhost
+ 1740
+
+
+ mysql.sys@localhost
+ 1902
+
+
+ mysql.sys@localhost
+ 60
+
+
+ mysql.sys@localhost
+ 1342
+
+
+ mysql.sys@localhost
+ 1286
+
+
+ mysql.sys@localhost
+ 1258
+
+
+ mysql.sys@localhost
+ 1349
+
+
+ mysql.sys@localhost
+ 893
+
+
+ mysql.sys@localhost
+ 1310
+
+
+ mysql.sys@localhost
+ 850
+
+
+ mysql.sys@localhost
+ 1116
+
+
+ mysql.sys@localhost
+ 1024
+
+
+ mysql.sys@localhost
+ 1668
+
+
+ mysql.sys@localhost
+ 1830
+
+
+ mysql.sys@localhost
+ 730
+
+
+ mysql.sys@localhost
+ 822
+
+
+ mysql.sys@localhost
+ 2150
+
+
+ mysql.sys@localhost
+ 1647
+
+
+ mysql.sys@localhost
+ 1457
+
+
+ mysql.sys@localhost
+ 848
+
+
+ mysql.sys@localhost
+ 1810
+
+
+ mysql.sys@localhost
+ 1711
+
+
+ mysql.sys@localhost
+ 1249
+
+
+ mysql.sys@localhost
+ 1213
+
+
+ mysql.sys@localhost
+ 919
+
+
+ mysql.sys@localhost
+ 1213
+
+
+ mysql.sys@localhost
+ 1193
+
+
+ mysql.sys@localhost
+ 186
+
+
+ mysql.sys@localhost
+ 2730
+
+
+ mysql.sys@localhost
+ 546
+
+
+ mysql.sys@localhost
+ 215
+
+
+ mysql.sys@localhost
+ 1057
+
+
+ mysql.sys@localhost
+ 890
+
+
+ mysql.sys@localhost
+ 1310
+
+
+ mysql.sys@localhost
+ 1647
+
+
+ mysql.sys@localhost
+ 1143
+
+
+ mysql.sys@localhost
+ 1653
+
+
+ mysql.sys@localhost
+ 712
+
+
+ mysql.sys@localhost
+ 1699
+
+
+ mysql.sys@localhost
+ 3135
+
+
+ mysql.sys@localhost
+ 1469
+
+
+ mysql.sys@localhost
+ 2233
+
+
+ mysql.sys@localhost
+ 1070
+
+
+ mysql.sys@localhost
+ 1653
+
+
+ mysql.sys@localhost
+ 1638
+
+
+ mysql.sys@localhost
+ 1591
+
+
+ mysql.sys@localhost
+ 850
+
+
+ mysql.sys@localhost
+ 1110
+
+
+ mysql.sys@localhost
+ 1024
+
+
+ mysql.sys@localhost
+ 1668
+
+
+ mysql.sys@localhost
+ 1830
+
+
+ mysql.sys@localhost
+ 1234
+
+
+ mysql.sys@localhost
+ 1214
+
+
+ mysql.sys@localhost
+ 1204
+
+
+ mysql.sys@localhost
+ 1295
+
+
+ mysql.sys@localhost
+ 839
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ InnoDB
+ utf8mb4_0900_ai_ci
+
+
+ 1
+ int|0s
+
+
+ 1
+ int|0s
+
+
+ 1
+ int|0s
+
+
+ 1
+ varchar(50)|0s
+
+
+ 2
+ char(1)|0s
+
+
+ 3
+ int|0s
+
+
+ 4
+ int|0s
+
+
+ 1
+ int|0s
+
+
+ 2
+ int|0s
+
+
+ 3
+ tinyint(1)|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ 3
+ tinyint(1)|0s
+
+
+ StudentID
+ StudentID
+ students
+
+
+ DormitoryID
+ DormitoryID
+ dormitories
+
+
+ StudentID
+DormitoryID
+ btree
+ 1
+
+
+ StudentID
+ btree
+
+
+ DormitoryID
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ root@localhost
+ I
+ 317
+ before-row
+
+
+ root@localhost
+ U
+ 173
+
+
+ root@localhost
+ D
+ 107
+
+
+ 1
+ 1
+ int|0s
+
+
+ BuildingID
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ int|0s
+
+
+ 2
+ varchar(50)|0s
+
+
+ 3
+ varchar(15)|0s
+
+
+ ClassID
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ `Occupants` >= 0
+
+
+ 1
+ 1
+ int|0s
+
+
+ 2
+ int|0s
+
+
+ 3
+ int|0s
+
+
+ 4
+ int|0s
+
+
+ BuildingID
+ BuildingID
+ buildings
+
+
+ ClassID
+ ClassID
+ classes
+
+
+ DormitoryID
+ btree
+ 1
+
+
+ BuildingID
+ btree
+
+
+ ClassID
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ `ElectricityBill` >= 0
+
+
+ 1
+ `WaterBill` >= 0
+
+
+ 1
+ 1
+ int|0s
+
+
+ 2
+ decimal(10,2 digit)|0s
+
+
+ 3
+ decimal(10,2 digit)|0s
+
+
+ DormitoryID
+ DormitoryID
+ dormitories
+
+
+ DormitoryID
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ `Rating` between 1 and 5
+
+
+ 1
+ 1
+ int|0s
+
+
+ 2
+ int|0s
+
+
+ 1
+ 3
+ timestamp|0s
+
+
+ DormitoryID
+ DormitoryID
+ dormitories
+
+
+ DormitoryID
+InspectionTime
+ btree
+ 1
+
+
+ DormitoryID
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ timestamp|0s
+
+
+ 3
+ varchar(50)|0s
+
+
+ 4
+ text|0s
+
+
+ 5
+ tinyint(1)|0s
+
+
+ DormitoryID
+ DormitoryID
+ dormitories
+
+
+ DormitoryID
+RepairTime
+ btree
+ 1
+
+
+ DormitoryID
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ root@localhost
+ U
+ 221
+
+
+ 1
+ 1
+ int|0s
+
+
+ 2
+ varchar(50)|0s
+
+
+ 3
+ text|0s
+
+
+ 1
+ 4
+ timestamp|0s
+
+
+ DormitoryID
+ DormitoryID
+ dormitories
+
+
+ DormitoryID
+InspectionTime
+ btree
+ 1
+
+
+ DormitoryID
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ `Gender` in (_utf8mb4\'M\',_utf8mb4\'F\')
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ varchar(50)|0s
+
+
+ 3
+ char(1)|0s
+
+
+ 4
+ int|0s
+
+
+ 5
+ int|0s
+
+
+ ClassID
+ ClassID
+ classes
+
+
+ DormitoryID
+ DormitoryID
+ dormitories
+
+
+ StudentID
+ btree
+ 1
+
+
+ ClassID
+ btree
+
+
+ DormitoryID
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ root@localhost
+ I
+ 134
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ timestamp|0s
+
+
+ 3
+ timestamp|0s
+
+
+ 4
+ tinyint(1)|0s
+
+
+ DormitoryID
+ DormitoryID
+ dormitories
+
+
+ DormitoryID
+DeliveryTime
+ btree
+ 1
+
+
+ DormitoryID
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ timestamp|0s
+
+
+ 3
+ varchar(50)|0s
+
+
+ 4
+ text|0s
+
+
+ 5
+ tinyint(1)|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ timestamp|0s
+
+
+ 3
+ timestamp|0s
+
+
+ 4
+ tinyint(1)|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ varchar(50)|0s
+
+
+ 3
+ char(1)|0s
+
+
+ 4
+ int|0s
+
+
+ 5
+ int|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ varchar(50)|0s
+
+
+ 1
+ 3
+ int|0s
+
+
+ 4
+ int|0s
+
+
+ 5
+ tinyint(1)|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ varchar(50)|0s
+
+
+ 3
+ char(1)|0s
+
+
+ 4
+ varchar(50)|0s
+
+
+ 5
+ varchar(15)|0s
+
+
+ ''
+ 1
+ 1
+ varchar(292)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(512)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 4
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 5
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 6
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 7
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 1
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(8)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(80)|0s
+
+
+ ''
+ 4
+ varchar(3)|0s
+
+
+ ''
+ 5
+ varchar(3)|0s
+
+
+ ''
+ 6
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ ''
+ 5
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ ''
+ 8
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ ''
+ 12
+ varchar(1024)|0s
+
+
+ ''
+ 13
+ varchar(1024)|0s
+
+
+ ''
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ ''
+ 17
+ varchar(64)|0s
+
+
+ ''
+ 18
+ varchar(64)|0s
+
+
+ ''
+ 19
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ ''
+ 21
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ ''
+ 5
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ ''
+ 8
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ ''
+ 12
+ varchar(1024)|0s
+
+
+ ''
+ 13
+ varchar(1024)|0s
+
+
+ ''
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ ''
+ 17
+ varchar(3)|0s
+
+
+ ''
+ 18
+ varchar(64)|0s
+
+
+ ''
+ 19
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ float(12)|0s
+
+
+ 1
+ 14
+ float(12)|0s
+
+
+ ''
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ float(12)|0s
+
+
+ 1
+ 19
+ float(12)|0s
+
+
+ 1
+ 20
+ float(12)|0s
+
+
+ ''
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ float(12)|0s
+
+
+ 1
+ 28
+ float(12)|0s
+
+
+ ''
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ int unsigned|0s
+
+
+ ''
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ 1
+ 3
+ int|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ 1
+ 3
+ int|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ 1
+ 3
+ int|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ ''
+ 1
+ 1
+ varchar(192)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(192)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(192)|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 7
+ int|0s
+
+
+ 1
+ 8
+ int|0s
+
+
+ ''
+ 1
+ 1
+ varchar(192)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(192)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(192)|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 7
+ int|0s
+
+
+ 1
+ 8
+ int|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ 1
+ 3
+ int|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 7
+ int|0s
+
+
+ ''
+ 8
+ text|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 1
+ varchar(18)|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ varchar(337)|0s
+
+
+ ''
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ varchar(337)|0s
+
+
+ ''
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 7
+ int|0s
+
+
+ 1
+ 8
+ int|0s
+
+
+ ''
+ 1
+ 1
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(193)|0s
+
+
+ 1
+ 3
+ bigint|0s
+
+
+ 4
+ bigint|0s
+
+
+ 5
+ bigint|0s
+
+
+ 6
+ float(12)|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 8
+ bigint|0s
+
+
+ 9
+ bigint|0s
+
+
+ 10
+ float(12)|0s
+
+
+ ''
+ 11
+ datetime|0s
+
+
+ ''
+ 12
+ datetime|0s
+
+
+ 13
+ bigint|0s
+
+
+ ''
+ 14
+ datetime|0s
+
+
+ ''
+ 1
+ 15
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 16
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 17
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 1
+ int unsigned|0s
+
+
+ ''
+ 1
+ 2
+ int unsigned|0s
+
+
+ ''
+ 1
+ 3
+ varchar(4001)|0s
+
+
+ ''
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 5
+ varchar(192)|0s
+
+
+ ''
+ 1
+ 6
+ varchar(192)|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ varchar(655)|0s
+
+
+ 1
+ 3
+ int|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ ''
+ 6
+ varchar(12)|0s
+
+
+ ''
+ 1
+ 7
+ int unsigned|0s
+
+
+ ''
+ 8
+ varchar(10)|0s
+
+
+ 1
+ 9
+ int|0s
+
+
+ 1
+ 10
+ int|0s
+
+
+ ''
+ 1
+ 1
+ int unsigned|0s
+
+
+ ''
+ 1
+ 2
+ varchar(655)|0s
+
+
+ ''
+ 1
+ 3
+ int unsigned|0s
+
+
+ ''
+ 4
+ varchar(22)|0s
+
+
+ ''
+ 1
+ 5
+ int unsigned|0s
+
+
+ ''
+ 1
+ 6
+ int unsigned|0s
+
+
+ ''
+ 7
+ varchar(10)|0s
+
+
+ ''
+ 1
+ 8
+ int unsigned|0s
+
+
+ ''
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ ''
+ 12
+ varchar(10)|0s
+
+
+ ''
+ 1
+ 13
+ int unsigned|0s
+
+
+ ''
+ 14
+ varchar(1)|0s
+
+
+ ''
+ 15
+ varchar(10)|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(193)|0s
+
+
+ ''
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ int|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 2
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 3
+ int unsigned|0s
+
+
+ ''
+ 1
+ 4
+ int unsigned|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ varchar(13)|0s
+
+
+ ''
+ 1
+ 3
+ datetime|0s
+
+
+ ''
+ 4
+ varchar(126)|0s
+
+
+ ''
+ 5
+ datetime|0s
+
+
+ ''
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ ''
+ 8
+ varchar(1024)|0s
+
+
+ ''
+ 9
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 17
+ varchar(16)|0s
+
+
+ 1
+ 18
+ int|0s
+
+
+ 1
+ 19
+ int|0s
+
+
+ ''
+ 20
+ varchar(256)|0s
+
+
+ 1
+ 21
+ int|0s
+
+
+ ''
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ int|0s
+
+
+ 1
+ 24
+ int|0s
+
+
+ ''
+ 25
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ int unsigned|0s
+
+
+ ''
+ 1
+ 3
+ int unsigned|0s
+
+
+ ''
+ 1
+ 1
+ varchar(65535)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(65535)|0s
+
+
+ 1
+ 3
+ int|0s
+
+
+ 1
+ 4
+ tinyint(1)|0s
+
+
+ ''
+ 1
+ 1
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(20)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(10)|0s
+
+
+ ''
+ 1
+ 4
+ varchar(80)|0s
+
+
+ ''
+ 1
+ 5
+ varchar(20)|0s
+
+
+ ''
+ 6
+ varchar(64)|0s
+
+
+ ''
+ 7
+ varchar(20)|0s
+
+
+ ''
+ 8
+ varchar(64)|0s
+
+
+ ''
+ 9
+ varchar(65535)|0s
+
+
+ ''
+ 10
+ varchar(80)|0s
+
+
+ ''
+ 1
+ 11
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 2
+ varchar(32)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(261)|0s
+
+
+ ''
+ 4
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 5
+ varchar(16)|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ ''
+ 7
+ varchar(64)|0s
+
+
+ ''
+ 8
+ varchar(65535)|0s
+
+
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ ''
+ 1
+ 3
+ varchar(30)|0s
+
+
+ 1
+ 4
+ decimal(905)|0s
+
+
+ 5
+ decimal(905)|0s
+
+
+ 6
+ decimal(905)|0s
+
+
+ 7
+ int|0s
+
+
+ 8
+ int|0s
+
+
+ 9
+ int|0s
+
+
+ 10
+ int|0s
+
+
+ 11
+ int|0s
+
+
+ 12
+ int|0s
+
+
+ 13
+ int|0s
+
+
+ 14
+ int|0s
+
+
+ 15
+ int|0s
+
+
+ ''
+ 16
+ varchar(30)|0s
+
+
+ ''
+ 17
+ varchar(20)|0s
+
+
+ 18
+ int|0s
+
+
+ ''
+ 1
+ 1
+ varchar(292)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(512)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 4
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 5
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 1
+ varchar(292)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(512)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 4
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 5
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 6
+ varchar(3)|0s
+
+
+ ''
+ 1
+ 1
+ varchar(292)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(512)|0s
+
+
+ ''
+ 1
+ 3
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 4
+ varchar(3)|0s
+
+
+ 1
+ varchar(97)|0s
+
+
+ 2
+ varchar(256)|0s
+
+
+ 3
+ varchar(97)|0s
+
+
+ 4
+ varchar(256)|0s
+
+
+ 5
+ varchar(255)|0s
+
+
+ 6
+ varchar(256)|0s
+
+
+ 1
+ 7
+ varchar(3)|0s
+
+
+ 8
+ varchar(3)|0s
+
+
+ 1
+ 9
+ varchar(3)|0s
+
+
+ 1
+ varchar(97)|0s
+
+
+ 2
+ varchar(256)|0s
+
+
+ 3
+ varchar(97)|0s
+
+
+ 4
+ varchar(256)|0s
+
+
+ 5
+ varchar(255)|0s
+
+
+ 6
+ varchar(256)|0s
+
+
+ 1
+ 7
+ varchar(3)|0s
+
+
+ 8
+ varchar(3)|0s
+
+
+ 1
+ 9
+ varchar(3)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(2048)|0s
+
+
+ 1
+ 4
+ int unsigned|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ longtext|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(3)|0s
+
+
+ 1
+ 5
+ varchar(3)|0s
+
+
+ 1
+ 6
+ int unsigned|0s
+
+
+ 1
+ 7
+ enum('PAD SPACE', 'NO PAD')|0e
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 1
+ 5
+ int unsigned|0s
+
+
+ 6
+ text|0s
+
+
+ 1
+ 7
+ varchar(3)|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ bigint|0s
+
+
+ 10
+ bigint|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ int unsigned|0s
+
+
+ 14
+ varchar(64)|0s
+
+
+ 15
+ varchar(64)|0s
+
+
+ 1
+ 16
+ mediumtext|0s
+
+
+ 1
+ 17
+ enum('', 'PRI', 'UNI', 'MUL')|0e
+
+
+ 18
+ varchar(256)|0s
+
+
+ 19
+ varchar(154)|0s
+
+
+ 1
+ 20
+ text|0s
+
+
+ 1
+ 21
+ longtext|0s
+
+
+ 22
+ int unsigned|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ json|0s
+
+
+ 6
+ json|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ json|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ varchar(255)|0s
+
+
+ 3
+ varchar(3)|0s
+
+
+ 1
+ 4
+ varchar(3)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ varchar(288)|0s
+
+
+ 1
+ 5
+ varchar(64)|0s
+
+
+ 1
+ 6
+ varchar(3)|0s
+
+
+ 1
+ 7
+ longtext|0s
+
+
+ 1
+ 8
+ varchar(9)|0s
+
+
+ 9
+ datetime|0s
+
+
+ 10
+ varchar(256)|0s
+
+
+ 11
+ enum('YEAR', 'QUARTER', 'MONTH', 'DAY', 'HOUR', 'MINUTE', 'WEEK', 'SECOND', 'MICROSECOND', 'YEAR_MONTH', 'DAY_HOUR', 'DAY_MINUTE', 'DAY_SECOND', 'HOUR_MINUTE', 'HOUR_SECOND', 'MINUTE_SECOND', 'DAY_MICROSECOND', 'HOUR_MICROSECOND', 'MINUTE_MICROSECOND', 'SECOND_MICROSECOND')|0e
+
+
+ 1
+ 12
+ set('REAL_AS_FLOAT', 'PIPES_AS_CONCAT', 'ANSI_QUOTES', 'IGNORE_SPACE', 'NOT_USED', 'ONLY_FULL_GROUP_BY', 'NO_UNSIGNED_SUBTRACTION', 'NO_DIR_IN_CREATE', 'NOT_USED_9', 'NOT_USED_10', 'NOT_USED_11', 'NOT_USED_12', 'NOT_USED_13', 'NOT_USED_14', 'NOT_USED_15', 'NOT_USED_16', 'NOT_USED_17', 'NOT_USED_18', 'ANSI', 'NO_AUTO_VALUE_ON_ZERO', 'NO_BACKSLASH_ESCAPES', 'STRICT_TRANS_TABLES', 'STRICT_ALL_TABLES', 'NO_ZERO_IN_DATE', 'NO_ZERO_DATE', 'ALLOW_INVALID_DATES', 'ERROR_FOR_DIVISION_BY_ZERO', 'TRADITIONAL', 'NOT_USED_29', 'HIGH_NOT_PRECEDENCE', 'NO_ENGINE_SUBSTITUTION', 'PAD_CHAR_TO_FULL_LENGTH', 'TIME_TRUNCATE_FRACTIONAL')|0e
+
+
+ 13
+ datetime|0s
+
+
+ 14
+ datetime|0s
+
+
+ 1
+ 15
+ varchar(21)|0s
+
+
+ 1
+ 16
+ varchar(12)|0s
+
+
+ 1
+ 17
+ timestamp|0s
+
+
+ 1
+ 18
+ timestamp|0s
+
+
+ 19
+ datetime|0s
+
+
+ 1
+ 20
+ varchar(2048)|0s
+
+
+ 1
+ 21
+ int unsigned|0s
+
+
+ 1
+ 22
+ varchar(64)|0s
+
+
+ 1
+ 23
+ varchar(64)|0s
+
+
+ 1
+ 24
+ varchar(64)|0s
+
+
+ 1
+ bigint|0s
+
+
+ 2
+ text|0s
+
+
+ 3
+ varchar(256)|0s
+
+
+ 1
+ 4
+ varchar(268)|0s
+
+
+ 1
+ 5
+ varchar(0)|0s
+
+
+ 6
+ varbinary(0)|0s
+
+
+ 7
+ varbinary(0)|0s
+
+
+ 8
+ varchar(256)|0s
+
+
+ 9
+ bigint|0s
+
+
+ 1
+ 10
+ varchar(64)|0s
+
+
+ 11
+ varbinary(0)|0s
+
+
+ 12
+ varbinary(0)|0s
+
+
+ 13
+ varbinary(0)|0s
+
+
+ 14
+ bigint|0s
+
+
+ 15
+ bigint|0s
+
+
+ 16
+ bigint|0s
+
+
+ 17
+ bigint|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ varbinary(0)|0s
+
+
+ 21
+ varbinary(0)|0s
+
+
+ 22
+ varbinary(0)|0s
+
+
+ 23
+ varbinary(0)|0s
+
+
+ 24
+ varbinary(0)|0s
+
+
+ 25
+ bigint|0s
+
+
+ 26
+ varchar(256)|0s
+
+
+ 27
+ varbinary(0)|0s
+
+
+ 28
+ varbinary(0)|0s
+
+
+ 29
+ varbinary(0)|0s
+
+
+ 30
+ varbinary(0)|0s
+
+
+ 31
+ varbinary(0)|0s
+
+
+ 32
+ bigint|0s
+
+
+ 33
+ varbinary(0)|0s
+
+
+ 34
+ varbinary(0)|0s
+
+
+ 35
+ varbinary(0)|0s
+
+
+ 36
+ varbinary(0)|0s
+
+
+ 37
+ varchar(256)|0s
+
+
+ 38
+ varchar(256)|0s
+
+
+ 1
+ varbinary(256)|0s
+
+
+ 1
+ 2
+ varchar(512)|0s
+
+
+ 1
+ varbinary(256)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ varchar(129)|0s
+
+
+ 2
+ varchar(129)|0s
+
+
+ 3
+ varchar(129)|0s
+
+
+ 1
+ 4
+ bigint|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ varchar(129)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ int unsigned|0s
+
+
+ 1
+ varbinary(256)|0s
+
+
+ 1
+ 2
+ varchar(268)|0s
+
+
+ 1
+ 3
+ varchar(512)|0s
+
+
+ 4
+ varbinary(256)|0s
+
+
+ 1
+ 5
+ varchar(7)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 2
+ int|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ varchar(64)|0s
+
+
+ 1
+ 8
+ int unsigned|0s
+
+
+ 9
+ int unsigned|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ varchar(5)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ longtext|0s
+
+
+ 8
+ bigint|0s
+
+
+ 9
+ bigint|0s
+
+
+ 10
+ int unsigned|0s
+
+
+ 11
+ bigint|0s
+
+
+ 12
+ int unsigned|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 14
+ varchar(64)|0s
+
+
+ 1
+ 15
+ mediumtext|0s
+
+
+ 1
+ 16
+ enum('FUNCTION', 'PROCEDURE')|0e
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ int unsigned|0s
+
+
+ 7
+ int unsigned|0s
+
+
+ 8
+ varchar(1)|0s
+
+
+ 9
+ varchar(13)|0s
+
+
+ 10
+ varchar(13)|0s
+
+
+ 11
+ varchar(2048)|0s
+
+
+ 12
+ varchar(2048)|0s
+
+
+ 13
+ text|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ bigint unsigned|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ bigint unsigned|0s
+
+
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ timestamp|0s
+
+
+ 21
+ datetime|0s
+
+
+ 22
+ datetime|0s
+
+
+ 23
+ bigint|0s
+
+
+ 1
+ 24
+ text|0s
+
+
+ 25
+ varchar(256)|0s
+
+
+ 26
+ varchar(268)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ varchar(64)|0s
+
+
+ 1
+ 5
+ varchar(64)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 1
+ 7
+ enum('NONE', 'PARTIAL', 'FULL')|0e
+
+
+ 1
+ 8
+ enum('NO ACTION', 'RESTRICT', 'CASCADE', 'SET NULL', 'SET DEFAULT')|0e
+
+
+ 1
+ 9
+ enum('NO ACTION', 'RESTRICT', 'CASCADE', 'SET NULL', 'SET DEFAULT')|0e
+
+
+ 1
+ 10
+ varchar(64)|0s
+
+
+ 1
+ 11
+ varchar(64)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ enum('SYSTEM', 'USER')|0e
+
+
+ 1
+ 3
+ tinyint(1)|0s
+
+
+ 4
+ blob|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ varchar(97)|0s
+
+
+ 2
+ varchar(256)|0s
+
+
+ 1
+ 3
+ char(32)|0s
+
+
+ 1
+ 4
+ char(255)|0s
+
+
+ 1
+ 5
+ varchar(3)|0s
+
+
+ 1
+ 6
+ char(64)|0s
+
+
+ 1
+ 7
+ char(64)|0s
+
+
+ 1
+ 8
+ char(64)|0s
+
+
+ 1
+ 9
+ set('Select', 'Insert', 'Update', 'References')|0e
+
+
+ 1
+ 10
+ varchar(3)|0s
+
+
+ 1
+ varchar(97)|0s
+
+
+ 2
+ varchar(256)|0s
+
+
+ 1
+ 3
+ char(32)|0s
+
+
+ 1
+ 4
+ char(255)|0s
+
+
+ 1
+ 5
+ varchar(3)|0s
+
+
+ 1
+ 6
+ char(64)|0s
+
+
+ 1
+ 7
+ char(64)|0s
+
+
+ 1
+ 8
+ varchar(3)|0s
+
+
+ 1
+ 9
+ char(64)|0s
+
+
+ 1
+ 10
+ char(64)|0s
+
+
+ 1
+ 11
+ set('Execute', 'Alter Routine', 'Grant')|0e
+
+
+ 1
+ 12
+ varchar(3)|0s
+
+
+ 1
+ varchar(97)|0s
+
+
+ 2
+ varchar(256)|0s
+
+
+ 1
+ 3
+ char(32)|0s
+
+
+ 1
+ 4
+ char(255)|0s
+
+
+ 1
+ 5
+ varchar(3)|0s
+
+
+ 1
+ 6
+ char(64)|0s
+
+
+ 1
+ 7
+ char(64)|0s
+
+
+ 1
+ 8
+ set('Select', 'Insert', 'Update', 'Delete', 'Create', 'Drop', 'Grant', 'References', 'Index', 'Alter', 'Create View', 'Show view', 'Trigger')|0e
+
+
+ 1
+ 9
+ varchar(3)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ varchar(64)|0s
+
+
+ 1
+ 5
+ enum('FUNCTION', 'PROCEDURE')|0e
+
+
+ 6
+ longtext|0s
+
+
+ 7
+ bigint|0s
+
+
+ 8
+ bigint|0s
+
+
+ 9
+ int unsigned|0s
+
+
+ 10
+ int unsigned|0s
+
+
+ 11
+ int unsigned|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 14
+ longtext|0s
+
+
+ 1
+ 15
+ varchar(8)|0s
+
+
+ 16
+ longtext|0s
+
+
+ 17
+ varbinary(0)|0s
+
+
+ 1
+ 18
+ varchar(64)|0s
+
+
+ 1
+ 19
+ varchar(3)|0s
+
+
+ 1
+ 20
+ varchar(3)|0s
+
+
+ 1
+ 21
+ enum('CONTAINS SQL', 'NO SQL', 'READS SQL DATA', 'MODIFIES SQL DATA')|0e
+
+
+ 22
+ varbinary(0)|0s
+
+
+ 1
+ 23
+ enum('DEFAULT', 'INVOKER', 'DEFINER')|0e
+
+
+ 1
+ 24
+ timestamp|0s
+
+
+ 1
+ 25
+ timestamp|0s
+
+
+ 1
+ 26
+ set('REAL_AS_FLOAT', 'PIPES_AS_CONCAT', 'ANSI_QUOTES', 'IGNORE_SPACE', 'NOT_USED', 'ONLY_FULL_GROUP_BY', 'NO_UNSIGNED_SUBTRACTION', 'NO_DIR_IN_CREATE', 'NOT_USED_9', 'NOT_USED_10', 'NOT_USED_11', 'NOT_USED_12', 'NOT_USED_13', 'NOT_USED_14', 'NOT_USED_15', 'NOT_USED_16', 'NOT_USED_17', 'NOT_USED_18', 'ANSI', 'NO_AUTO_VALUE_ON_ZERO', 'NO_BACKSLASH_ESCAPES', 'STRICT_TRANS_TABLES', 'STRICT_ALL_TABLES', 'NO_ZERO_IN_DATE', 'NO_ZERO_DATE', 'ALLOW_INVALID_DATES', 'ERROR_FOR_DIVISION_BY_ZERO', 'TRADITIONAL', 'NOT_USED_29', 'HIGH_NOT_PRECEDENCE', 'NO_ENGINE_SUBSTITUTION', 'PAD_CHAR_TO_FULL_LENGTH', 'TIME_TRUNCATE_FRACTIONAL')|0e
+
+
+ 1
+ 27
+ text|0s
+
+
+ 1
+ 28
+ varchar(288)|0s
+
+
+ 1
+ 29
+ varchar(64)|0s
+
+
+ 1
+ 30
+ varchar(64)|0s
+
+
+ 1
+ 31
+ varchar(64)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varbinary(0)|0s
+
+
+ 1
+ 6
+ enum('NO', 'YES')|0e
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(256)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 1
+ 7
+ int unsigned|0s
+
+
+ 8
+ varchar(64)|0s
+
+
+ 9
+ varchar(1)|0s
+
+
+ 10
+ bigint|0s
+
+
+ 11
+ bigint|0s
+
+
+ 12
+ varbinary(0)|0s
+
+
+ 1
+ 13
+ varchar(3)|0s
+
+
+ 1
+ 14
+ varchar(11)|0s
+
+
+ 1
+ 15
+ varchar(8)|0s
+
+
+ 1
+ 16
+ varchar(2048)|0s
+
+
+ 1
+ 17
+ varchar(3)|0s
+
+
+ 18
+ longtext|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(80)|0s
+
+
+ 6
+ int unsigned|0s
+
+
+ 7
+ longtext|0s
+
+
+ 1
+ 1
+ varchar(80)|0s
+
+
+ 1
+ 2
+ int unsigned|0s
+
+
+ 3
+ varchar(256)|0s
+
+
+ 4
+ int unsigned|0s
+
+
+ 1
+ 5
+ varchar(4096)|0s
+
+
+ 6
+ varchar(2048)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ varchar(7)|0s
+
+
+ 3
+ double|0s
+
+
+ 4
+ varchar(255)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ enum('BASE TABLE', 'VIEW', 'SYSTEM VIEW')|0e
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ int|0s
+
+
+ 7
+ enum('Fixed', 'Dynamic', 'Compressed', 'Redundant', 'Compact', 'Paged')|0e
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ timestamp|0s
+
+
+ 16
+ datetime|0s
+
+
+ 17
+ datetime|0s
+
+
+ 18
+ varchar(64)|0s
+
+
+ 19
+ bigint|0s
+
+
+ 20
+ varchar(256)|0s
+
+
+ 21
+ text|0s
+
+
+ 1
+ 1
+ varchar(268)|0s
+
+
+ 2
+ json|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 4
+ json|0s
+
+
+ 5
+ json|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 1
+ 6
+ varchar(11)|0s
+
+
+ 1
+ 7
+ varchar(3)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ varchar(64)|0s
+
+
+ 5
+ json|0s
+
+
+ 6
+ json|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ enum('INSERT', 'UPDATE', 'DELETE')|0e
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ varchar(64)|0s
+
+
+ 1
+ 8
+ int unsigned|0s
+
+
+ 9
+ varbinary(0)|0s
+
+
+ 1
+ 10
+ longtext|0s
+
+
+ 1
+ 11
+ varchar(3)|0s
+
+
+ 1
+ 12
+ enum('BEFORE', 'AFTER')|0e
+
+
+ 13
+ varbinary(0)|0s
+
+
+ 14
+ varbinary(0)|0s
+
+
+ 1
+ 15
+ varchar(3)|0s
+
+
+ 1
+ 16
+ varchar(3)|0s
+
+
+ 1
+ 17
+ timestamp(2)|0s
+
+
+ 1
+ 18
+ set('REAL_AS_FLOAT', 'PIPES_AS_CONCAT', 'ANSI_QUOTES', 'IGNORE_SPACE', 'NOT_USED', 'ONLY_FULL_GROUP_BY', 'NO_UNSIGNED_SUBTRACTION', 'NO_DIR_IN_CREATE', 'NOT_USED_9', 'NOT_USED_10', 'NOT_USED_11', 'NOT_USED_12', 'NOT_USED_13', 'NOT_USED_14', 'NOT_USED_15', 'NOT_USED_16', 'NOT_USED_17', 'NOT_USED_18', 'ANSI', 'NO_AUTO_VALUE_ON_ZERO', 'NO_BACKSLASH_ESCAPES', 'STRICT_TRANS_TABLES', 'STRICT_ALL_TABLES', 'NO_ZERO_IN_DATE', 'NO_ZERO_DATE', 'ALLOW_INVALID_DATES', 'ERROR_FOR_DIVISION_BY_ZERO', 'TRADITIONAL', 'NOT_USED_29', 'HIGH_NOT_PRECEDENCE', 'NO_ENGINE_SUBSTITUTION', 'PAD_CHAR_TO_FULL_LENGTH', 'TIME_TRUNCATE_FRACTIONAL')|0e
+
+
+ 1
+ 19
+ varchar(288)|0s
+
+
+ 1
+ 20
+ varchar(64)|0s
+
+
+ 1
+ 21
+ varchar(64)|0s
+
+
+ 1
+ 22
+ varchar(64)|0s
+
+
+ 1
+ 1
+ char(32)|0s
+
+
+ 1
+ 2
+ char(255)|0s
+
+
+ 3
+ longtext|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ longtext|0s
+
+
+ 5
+ enum('NONE', 'LOCAL', 'CASCADED')|0e
+
+
+ 6
+ enum('NO', 'YES')|0e
+
+
+ 7
+ varchar(288)|0s
+
+
+ 8
+ varchar(7)|0s
+
+
+ 1
+ 9
+ varchar(64)|0s
+
+
+ 1
+ 10
+ varchar(64)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 1
+ 6
+ varchar(64)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(64)|0s
+
+
+ ''
+ 1
+ 3
+ char(32)|0s
+
+
+ ''
+ 1
+ 4
+ char(64)|0s
+
+
+ ''
+ 1
+ 5
+ char(64)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 6
+ timestamp|0s
+
+
+ ''
+ 1
+ 7
+ set('Select', 'Insert', 'Update', 'References')|0e
+ utf8mb3_general_ci
+
+
+ Host
+User
+Db
+Table_name
+Column_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ int unsigned|0s
+
+
+ 1
+ 3
+ text|0s
+
+
+ component_id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(64)|0s
+
+
+ ''
+ 1
+ 3
+ char(32)|0s
+
+
+ 'N'
+ 1
+ 4
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 5
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 6
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 7
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 8
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 9
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 10
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 11
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 12
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 13
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 14
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 15
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 16
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 17
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 18
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 19
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 20
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 21
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 22
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ Host
+User
+Db
+ btree
+ 1
+
+
+ User
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(32)|0s
+
+
+ '%'
+ 1
+ 3
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 4
+ char(32)|0s
+
+
+ HOST
+USER
+DEFAULT_ROLE_HOST
+DEFAULT_ROLE_USER
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 4
+ float|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 5
+ timestamp|0s
+
+
+ 6
+ varchar(1024)|0s
+
+
+ generated-virtual
+ (case `cost_name` when _utf8mb4'io_block_read_cost' then 1.0 when _utf8mb4'memory_block_read_cost' then 0.25 else NULL end)
+ 7
+ float|0s
+
+
+ cost_name
+engine_name
+device_type
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(64)|0s
+
+
+ 0
+ 1
+ 2
+ tinyint|0s
+
+
+ ''
+ 1
+ 3
+ char(128)|0s
+
+
+ 1
+ 4
+ enum('function', 'aggregate')|0e
+ utf8mb3_general_ci
+
+
+ name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ CURRENT_TIMESTAMP(6)
+ 1
+ CURRENT_TIMESTAMP(6)
+ 1
+ timestamp(6)|0s
+
+
+ 1
+ 2
+ mediumtext|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ int unsigned|0s
+
+
+ 1
+ 5
+ varchar(64)|0s
+
+
+ 1
+ 6
+ mediumblob|0s
+
+
+ ''
+ 1
+ 1
+ char(32)|0s
+
+
+ ''
+ 1
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 3
+ char(32)|0s
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 4
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ USER
+HOST
+PRIV
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ uuid of the source where the transaction was originally executed.
+ 1
+ 1
+ char(36)|0s
+
+
+ First number of interval.
+ 1
+ 2
+ bigint|0s
+
+
+ Last number of interval.
+ 1
+ 3
+ bigint|0s
+
+
+ GTID Tag.
+ 1
+ 4
+ char(32)|0s
+
+
+ source_uuid
+gtid_tag
+interval_start
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ char(64)|0s
+
+
+ 3
+ smallint unsigned|0s
+
+
+ 1
+ 4
+ text|0s
+
+
+ help_category_id
+ btree
+ 1
+
+
+ name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ name
+
+
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ char(64)|0s
+
+
+ help_keyword_id
+ btree
+ 1
+
+
+ name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ name
+
+
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ int unsigned|0s
+
+
+ help_keyword_id
+help_topic_id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ char(64)|0s
+
+
+ 1
+ 3
+ smallint unsigned|0s
+
+
+ 1
+ 4
+ text|0s
+
+
+ 1
+ 5
+ text|0s
+
+
+ 1
+ 6
+ text|0s
+
+
+ help_topic_id
+ btree
+ 1
+
+
+ name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ name
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(199)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 4
+ timestamp|0s
+
+
+ 1
+ 5
+ varchar(64)|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ varchar(1024)|0s
+
+
+ database_name
+table_name
+index_name
+stat_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(199)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ database_name
+table_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(255)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ int unsigned|0s
+
+
+ 1
+ 5
+ int unsigned|0s
+
+
+ 1
+ 6
+ int unsigned|0s
+
+
+ 1
+ 7
+ int unsigned|0s
+
+
+ 1
+ 8
+ int unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ int unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ varchar(255)|0s
+
+
+ epoch
+orig_server_id
+orig_epoch
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(32)|0s
+
+
+ CURRENT_TIMESTAMP(6)
+ 1
+ 3
+ timestamp(6)|0s
+
+
+ 4
+ text|0s
+
+
+ Host
+User
+Password_timestamp
+ Password_timestamp
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ varchar(64)|0s
+
+
+ ''
+ 1
+ 2
+ varchar(128)|0s
+
+
+ name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(64)|0s
+
+
+ ''
+ 1
+ 3
+ char(32)|0s
+
+
+ ''
+ 1
+ 4
+ char(64)|0s
+ utf8mb3_general_ci
+
+
+ 1
+ 5
+ enum('FUNCTION', 'PROCEDURE')|0e
+
+
+ ''
+ 1
+ 6
+ varchar(288)|0s
+
+
+ ''
+ 1
+ 7
+ set('Execute', 'Alter Routine', 'Grant')|0e
+ utf8mb3_general_ci
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 8
+ timestamp|0s
+
+
+ Host
+User
+Db
+Routine_name
+Routine_type
+ btree
+ 1
+
+
+ Grantor
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(32)|0s
+
+
+ ''
+ 1
+ 3
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 4
+ char(32)|0s
+
+
+ 0
+ 1
+ 5
+ tinyint(1)|0s
+
+
+ ''
+ 1
+ 6
+ varchar(288)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 7
+ timestamp|0s
+
+
+ Host
+User
+Proxied_host
+Proxied_user
+ btree
+ 1
+
+
+ Grantor
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ The replication channel name that connects source and replica.
+ 1
+ 1
+ char(64)|0s
+
+
+ The source hostname that the replica will attempt to switch over the replication connection to in case of a failure.
+ 1
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ The source port that the replica will attempt to switch over the replication connection to in case of a failure.
+ 1
+ 3
+ int unsigned|0s
+
+
+ The source network namespace that the replica will attempt to switch over the replication connection to in case of a failure. If its value is empty, connections use the default (global) namespace.
+ 1
+ 4
+ char(64)|0s
+
+
+ The order in which the replica shall try to switch the connection over to when there are failures. Weight can be set to a number between 1 and 100, where 100 is the highest weight and 1 the lowest.
+ 1
+ 5
+ tinyint unsigned|0s
+
+
+ The name of the group which this server belongs to.
+ ''
+ 1
+ 6
+ char(64)|0s
+
+
+ Channel_name
+Host
+Port
+Network_namespace
+Managed_name
+ btree
+ 1
+
+
+ Channel_name
+Managed_name
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ The replication channel name that connects source and replica.
+ 1
+ 1
+ char(64)|0s
+
+
+ The name of the source which needs to be managed.
+ ''
+ 1
+ 2
+ char(64)|0s
+
+
+ Determines the managed type.
+ ''
+ 1
+ 3
+ char(64)|0s
+
+
+ The data to help manage group. For Managed_type = GroupReplication, Configuration value should contain {"Primary_weight": 80, "Secondary_weight": 60}, so that it assigns weight=80 to PRIMARY of the group, and weight=60 for rest of the members in mysql.replication_asynchronous_connection_failover table.
+ 4
+ json|0s
+
+
+ Channel_name
+Managed_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ The configuration name.
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ The version of the configuration name.
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ The action name.
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ The event that will trigger the action.
+ 1
+ 2
+ char(64)|0s
+ ascii_general_ci
+
+
+ Whether the action is enabled.
+ 1
+ 3
+ tinyint(1)|0s
+
+
+ The action type.
+ 1
+ 4
+ char(64)|0s
+ ascii_general_ci
+
+
+ The order on which the action will be run, value between 1 and 100, lower values first.
+ 1
+ 5
+ tinyint unsigned|0s
+
+
+ On errors during the action will be handled: IGNORE, CRITICAL.
+ 1
+ 6
+ char(64)|0s
+ ascii_general_ci
+
+
+ name
+event
+ btree
+ 1
+
+
+ event
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(32)|0s
+
+
+ ''
+ 1
+ 3
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 4
+ char(32)|0s
+
+
+ 'N'
+ 1
+ 5
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ FROM_HOST
+FROM_USER
+TO_HOST
+TO_USER
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ float|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ 4
+ varchar(1024)|0s
+
+
+ generated-virtual
+ (case `cost_name` when _utf8mb4'disk_temptable_create_cost' then 20.0 when _utf8mb4'disk_temptable_row_cost' then 0.5 when _utf8mb4'key_compare_cost' then 0.05 when _utf8mb4'memory_temptable_create_cost' then 1.0 when _utf8mb4'memory_temptable_row_cost' then 0.1 when _utf8mb4'row_evaluate_cost' then 0.1 else NULL end)
+ 5
+ float|0s
+
+
+ cost_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(64)|0s
+
+
+ ''
+ 1
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 3
+ char(64)|0s
+
+
+ ''
+ 1
+ 4
+ char(64)|0s
+
+
+ ''
+ 1
+ 5
+ char(64)|0s
+
+
+ 0
+ 1
+ 6
+ int|0s
+
+
+ ''
+ 1
+ 7
+ char(64)|0s
+
+
+ ''
+ 1
+ 8
+ char(64)|0s
+
+
+ ''
+ 1
+ 9
+ char(64)|0s
+
+
+ Server_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ Number of lines in the file.
+ 1
+ 1
+ int unsigned|0s
+
+
+ The name of the master binary log currently being read from the master.
+ 1
+ 2
+ text|0s
+ utf8mb3_bin
+
+
+ The master log position of the last read event.
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ The host name of the source.
+ 4
+ varchar(255)|0s
+ ascii_general_ci
+
+
+ The user name used to connect to the master.
+ 5
+ text|0s
+ utf8mb3_bin
+
+
+ The password used to connect to the master.
+ 6
+ text|0s
+ utf8mb3_bin
+
+
+ The network port used to connect to the master.
+ 1
+ 7
+ int unsigned|0s
+
+
+ The period (in seconds) that the slave will wait before trying to reconnect to the master.
+ 1
+ 8
+ int unsigned|0s
+
+
+ Indicates whether the server supports SSL connections.
+ 1
+ 9
+ tinyint(1)|0s
+
+
+ The file used for the Certificate Authority (CA) certificate.
+ 10
+ text|0s
+ utf8mb3_bin
+
+
+ The path to the Certificate Authority (CA) certificates.
+ 11
+ text|0s
+ utf8mb3_bin
+
+
+ The name of the SSL certificate file.
+ 12
+ text|0s
+ utf8mb3_bin
+
+
+ The name of the cipher in use for the SSL connection.
+ 13
+ text|0s
+ utf8mb3_bin
+
+
+ The name of the SSL key file.
+ 14
+ text|0s
+ utf8mb3_bin
+
+
+ Whether to verify the server certificate.
+ 1
+ 15
+ tinyint(1)|0s
+
+
+ 1
+ 16
+ float|0s
+
+
+ Displays which interface is employed when connecting to the MySQL server
+ 17
+ text|0s
+ utf8mb3_bin
+
+
+ The number of server IDs to be ignored, followed by the actual server IDs
+ 18
+ text|0s
+ utf8mb3_bin
+
+
+ The master server uuid.
+ 19
+ text|0s
+ utf8mb3_bin
+
+
+ Number of reconnect attempts, to the master, before giving up.
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ The file used for the Certificate Revocation List (CRL)
+ 21
+ text|0s
+ utf8mb3_bin
+
+
+ The path used for Certificate Revocation List (CRL) files
+ 22
+ text|0s
+ utf8mb3_bin
+
+
+ Indicates whether GTIDs will be used to retrieve events from the master.
+ 1
+ 23
+ tinyint(1)|0s
+
+
+ The channel on which the replica is connected to a source. Used in Multisource Replication
+ 1
+ 24
+ varchar(64)|0s
+
+
+ Tls version
+ 25
+ text|0s
+ utf8mb3_bin
+
+
+ The file containing public key of master server.
+ 26
+ text|0s
+ utf8mb3_bin
+
+
+ Preference to get public key from master.
+ 1
+ 27
+ tinyint(1)|0s
+
+
+ Network namespace used for communication with the master server.
+ 28
+ text|0s
+ utf8mb3_bin
+
+
+ Compression algorithm supported for data transfer between source and replica.
+ 1
+ 29
+ varchar(64)|0s
+ utf8mb3_bin
+
+
+ Compression level associated with zstd compression algorithm.
+ 1
+ 30
+ int unsigned|0s
+
+
+ Ciphersuites used for TLS 1.3 communication with the master server.
+ 31
+ text|0s
+ utf8mb3_bin
+
+
+ Indicates whether the channel connection failover is enabled.
+ 0
+ 1
+ 32
+ tinyint(1)|0s
+
+
+ Indicates if this channel only uses GTIDs and does not persist positions.
+ 0
+ 1
+ 33
+ tinyint(1)|0s
+
+
+ Channel_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ Number of lines in the file or rows in the table. Used to version table definitions.
+ 1
+ 1
+ int unsigned|0s
+
+
+ The name of the current relay log file.
+ 2
+ text|0s
+ utf8mb3_bin
+
+
+ The relay log position of the last executed event.
+ 3
+ bigint unsigned|0s
+
+
+ The name of the master binary log file from which the events in the relay log file were read.
+ 4
+ text|0s
+ utf8mb3_bin
+
+
+ The master log position of the last executed event.
+ 5
+ bigint unsigned|0s
+
+
+ The number of seconds that the slave must lag behind the master.
+ 6
+ int|0s
+
+
+ 7
+ int unsigned|0s
+
+
+ Internal Id that uniquely identifies this record.
+ 8
+ int unsigned|0s
+
+
+ The channel on which the replica is connected to a source. Used in Multisource Replication
+ 1
+ 9
+ varchar(64)|0s
+
+
+ Username part of PRIVILEGE_CHECKS_USER.
+ 10
+ varchar(32)|0s
+ utf8mb3_bin
+
+
+ Hostname part of PRIVILEGE_CHECKS_USER.
+ 11
+ varchar(255)|0s
+ ascii_general_ci
+
+
+ Indicates whether the channel shall only accept row based events.
+ 1
+ 12
+ tinyint(1)|0s
+
+
+ Indicates what is the channel policy regarding tables without primary keys on create and alter table queries
+ 'STREAM'
+ 1
+ 13
+ enum('STREAM', 'ON', 'OFF', 'GENERATE')|0e
+
+
+ Indicates whether the channel will generate a new GTID for anonymous transactions. OFF means that anonymous transactions will remain anonymous. LOCAL means that anonymous transactions will be assigned a newly generated GTID based on server_uuid. UUID indicates that anonymous transactions will be assigned a newly generated GTID based on Assign_gtids_to_anonymous_transactions_value
+ 'OFF'
+ 1
+ 14
+ enum('OFF', 'LOCAL', 'UUID')|0e
+
+
+ Indicates the UUID used while generating GTIDs for anonymous transactions
+ 15
+ text|0s
+ utf8mb3_bin
+
+
+ Channel_name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ text|0s
+ utf8mb3_bin
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ text|0s
+ utf8mb3_bin
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ text|0s
+ utf8mb3_bin
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ text|0s
+ utf8mb3_bin
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ int unsigned|0s
+
+
+ 1
+ 11
+ int unsigned|0s
+
+
+ 1
+ 12
+ blob|0s
+
+
+ The channel on which the replica is connected to a source. Used in Multisource Replication
+ 1
+ 13
+ varchar(64)|0s
+
+
+ Channel_name
+Id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ CURRENT_TIMESTAMP(6)
+ 1
+ CURRENT_TIMESTAMP(6)
+ 1
+ timestamp(6)|0s
+
+
+ 1
+ 2
+ mediumtext|0s
+
+
+ 1
+ 3
+ time(6)|0s
+
+
+ 1
+ 4
+ time(6)|0s
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 7
+ varchar(512)|0s
+
+
+ 1
+ 8
+ int|0s
+
+
+ 1
+ 9
+ int|0s
+
+
+ 1
+ 10
+ int unsigned|0s
+
+
+ 1
+ 11
+ mediumblob|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(64)|0s
+
+
+ ''
+ 1
+ 3
+ char(32)|0s
+
+
+ ''
+ 1
+ 4
+ char(64)|0s
+
+
+ ''
+ 1
+ 5
+ varchar(288)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 6
+ timestamp|0s
+
+
+ ''
+ 1
+ 7
+ set('Select', 'Insert', 'Update', 'Delete', 'Create', 'Drop', 'Grant', 'References', 'Index', 'Alter', 'Create View', 'Show view', 'Trigger')|0e
+ utf8mb3_general_ci
+
+
+ ''
+ 1
+ 8
+ set('Select', 'Insert', 'Update', 'References')|0e
+ utf8mb3_general_ci
+
+
+ Host
+User
+Db
+Table_name
+ btree
+ 1
+
+
+ Grantor
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ 1
+ int unsigned|0s
+
+
+ 'N'
+ 1
+ 2
+ enum('Y', 'N')|0e
+
+
+ Time_zone_id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ Transition_time
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ int unsigned|0s
+
+
+ Name
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ bigint|0s
+
+
+ 1
+ 3
+ int unsigned|0s
+
+
+ Time_zone_id
+Transition_time
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ int unsigned|0s
+
+
+ 0
+ 1
+ 3
+ int|0s
+
+
+ '0'
+ 1
+ 4
+ tinyint unsigned|0s
+
+
+ ''
+ 1
+ 5
+ char(8)|0s
+
+
+ Time_zone_id
+Transition_type_id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ ''
+ 1
+ 2
+ char(32)|0s
+
+
+ 'N'
+ 1
+ 3
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 4
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 5
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 6
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 7
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 8
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 9
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 10
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 11
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 12
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 13
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 14
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 15
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 16
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 17
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 18
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 19
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 20
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 21
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 22
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 23
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 24
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 25
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 26
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 27
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 28
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 29
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 30
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 31
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ ''
+ 1
+ 32
+ enum('', 'ANY', 'X509', 'SPECIFIED')|0e
+ utf8mb3_general_ci
+
+
+ 1
+ 33
+ blob|0s
+
+
+ 1
+ 34
+ blob|0s
+
+
+ 1
+ 35
+ blob|0s
+
+
+ '0'
+ 1
+ 36
+ int unsigned|0s
+
+
+ '0'
+ 1
+ 37
+ int unsigned|0s
+
+
+ '0'
+ 1
+ 38
+ int unsigned|0s
+
+
+ '0'
+ 1
+ 39
+ int unsigned|0s
+
+
+ 'caching_sha2_password'
+ 1
+ 40
+ char(64)|0s
+
+
+ 41
+ text|0s
+
+
+ 'N'
+ 1
+ 42
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 43
+ timestamp|0s
+
+
+ 44
+ smallint unsigned|0s
+
+
+ 'N'
+ 1
+ 45
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 46
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 'N'
+ 1
+ 47
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 48
+ smallint unsigned|0s
+
+
+ 49
+ smallint unsigned|0s
+
+
+ 50
+ enum('N', 'Y')|0e
+ utf8mb3_general_ci
+
+
+ 51
+ json|0s
+
+
+ Host
+User
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ bigint|0s
+
+
+ 1
+ 4
+ bigint|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ USER
+HOST
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ The log type to which the transactions were written.
+ 1
+ 1
+ enum('BINARY', 'RELAY')|0e
+
+
+ The transaction compression algorithm used.
+ 1
+ 2
+ varchar(64)|0s
+
+
+ Number of transactions written to the log
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ The total number of bytes compressed.
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ The total number of bytes uncompressed.
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ The compression ratio as a percentage.
+ 1
+ 6
+ smallint|0s
+
+
+ The first transaction written.
+ 7
+ text|0s
+
+
+ First transaction written compressed bytes.
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ First transaction written uncompressed bytes.
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ When the first transaction was written.
+ 10
+ timestamp(6)|0s
+
+
+ The last transaction written.
+ 11
+ text|0s
+
+
+ Last transaction written compressed bytes.
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ Last transaction written uncompressed bytes.
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ When the last transaction was written.
+ 14
+ timestamp(6)|0s
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ NAME
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ varchar(128)|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ REQUESTING_ENGINE_LOCK_ID
+BLOCKING_ENGINE_LOCK_ID
+ENGINE
+ hash
+ 1
+
+
+ REQUESTING_ENGINE_LOCK_ID
+ENGINE
+ hash
+
+
+ REQUESTING_ENGINE_TRANSACTION_ID
+ENGINE
+ hash
+
+
+ REQUESTING_THREAD_ID
+REQUESTING_EVENT_ID
+ hash
+
+
+ BLOCKING_ENGINE_LOCK_ID
+ENGINE
+ hash
+
+
+ BLOCKING_ENGINE_TRANSACTION_ID
+ENGINE
+ hash
+
+
+ BLOCKING_THREAD_ID
+BLOCKING_EVENT_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ bigint unsigned|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ varchar(64)|0s
+
+
+ 8
+ varchar(64)|0s
+
+
+ 9
+ varchar(64)|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ varchar(32)|0s
+
+
+ 1
+ 13
+ varchar(32)|0s
+
+
+ 1
+ 14
+ varchar(32)|0s
+
+
+ 15
+ varchar(8192)|0s
+
+
+ ENGINE_LOCK_ID
+ENGINE
+ hash
+ 1
+
+
+ ENGINE_TRANSACTION_ID
+ENGINE
+ hash
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+
+
+ OBJECT_SCHEMA
+OBJECT_NAME
+PARTITION_NAME
+SUBPARTITION_NAME
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ timestamp(6)|0s
+
+
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ enum('System', 'Error', 'Warning', 'Note')|0e
+
+
+ 4
+ varchar(10)|0s
+
+
+ 5
+ varchar(7)|0s
+
+
+ 1
+ 6
+ text|0s
+
+
+ LOGGED
+ hash
+ 1
+
+
+ THREAD_ID
+ hash
+
+
+ PRIO
+ hash
+
+
+ ERROR_CODE
+ hash
+
+
+ SUBSYSTEM
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 3
+ int|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(5)|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ timestamp|0s
+
+
+ 9
+ timestamp|0s
+
+
+ USER
+HOST
+ERROR_NUMBER
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 2
+ int|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(5)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ timestamp|0s
+
+
+ 8
+ timestamp|0s
+
+
+ HOST
+ERROR_NUMBER
+ hash
+ 1
+
+
+ HOST
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ int|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(5)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ timestamp|0s
+
+
+ 8
+ timestamp|0s
+
+
+ THREAD_ID
+ERROR_NUMBER
+ hash
+ 1
+
+
+ THREAD_ID
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ int|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(5)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ timestamp|0s
+
+
+ 8
+ timestamp|0s
+
+
+ USER
+ERROR_NUMBER
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ int|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(5)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 6
+ timestamp|0s
+
+
+ 7
+ timestamp|0s
+
+
+ ERROR_NUMBER
+ hash
+ 1
+
+
+ ERROR_NUMBER
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ 12
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ 12
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ 12
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ varchar(128)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ USER
+HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ HOST
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ THREAD_ID
+EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ USER
+EVENT_NAME
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ longtext|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 12
+ longtext|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 14
+ varchar(64)|0s
+
+
+ 15
+ varchar(64)|0s
+
+
+ 16
+ varchar(64)|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ int|0s
+
+
+ 19
+ varchar(5)|0s
+
+
+ 20
+ varchar(128)|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 1
+ 37
+ bigint unsigned|0s
+
+
+ 1
+ 38
+ bigint unsigned|0s
+
+
+ 39
+ bigint unsigned|0s
+
+
+ 40
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 41
+ int|0s
+
+
+ 42
+ bigint unsigned|0s
+
+
+ 1
+ 43
+ bigint unsigned|0s
+
+
+ 1
+ 44
+ bigint unsigned|0s
+
+
+ 1
+ 45
+ bigint unsigned|0s
+
+
+ 46
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ int unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ double(7,6 digit)|0s
+
+
+ SCHEMA_NAME
+DIGEST
+BUCKET_NUMBER
+ hash
+ 1
+
+
+ SCHEMA_NAME
+
+
+ 1
+ 1
+ int unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ double(7,6 digit)|0s
+
+
+ BUCKET_NUMBER
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ longtext|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 12
+ longtext|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 14
+ varchar(64)|0s
+
+
+ 15
+ varchar(64)|0s
+
+
+ 16
+ varchar(64)|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ int|0s
+
+
+ 19
+ varchar(5)|0s
+
+
+ 20
+ varchar(128)|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 1
+ 37
+ bigint unsigned|0s
+
+
+ 1
+ 38
+ bigint unsigned|0s
+
+
+ 39
+ bigint unsigned|0s
+
+
+ 40
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 41
+ int|0s
+
+
+ 42
+ bigint unsigned|0s
+
+
+ 1
+ 43
+ bigint unsigned|0s
+
+
+ 1
+ 44
+ bigint unsigned|0s
+
+
+ 1
+ 45
+ bigint unsigned|0s
+
+
+ 46
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ longtext|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 12
+ longtext|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 14
+ varchar(64)|0s
+
+
+ 15
+ varchar(64)|0s
+
+
+ 16
+ varchar(64)|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ int|0s
+
+
+ 19
+ varchar(5)|0s
+
+
+ 20
+ varchar(128)|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 1
+ 37
+ bigint unsigned|0s
+
+
+ 1
+ 38
+ bigint unsigned|0s
+
+
+ 39
+ bigint unsigned|0s
+
+
+ 40
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 41
+ int|0s
+
+
+ 42
+ bigint unsigned|0s
+
+
+ 1
+ 43
+ bigint unsigned|0s
+
+
+ 1
+ 44
+ bigint unsigned|0s
+
+
+ 1
+ 45
+ bigint unsigned|0s
+
+
+ 46
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ varchar(128)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ USER
+HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ longtext|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ timestamp(6)|0s
+
+
+ 1
+ 33
+ timestamp(6)|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 37
+ longtext|0s
+
+
+ 1
+ 38
+ timestamp(6)|0s
+
+
+ 1
+ 39
+ bigint unsigned|0s
+
+
+ SCHEMA_NAME
+DIGEST
+ hash
+ 1
+
+
+ SCHEMA_NAME
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ HOST
+
+
+ 1
+ 1
+ enum('EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER')|0e
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ THREAD_ID
+EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ USER
+EVENT_NAME
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(90)|0s
+
+
+ 8
+ int|0s
+
+
+ 9
+ varchar(130)|0s
+
+
+ 10
+ varchar(130)|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ enum('READ ONLY', 'READ WRITE')|0e
+
+
+ 17
+ varchar(64)|0s
+
+
+ 1
+ 18
+ enum('YES', 'NO')|0e
+
+
+ 19
+ bigint unsigned|0s
+
+
+ 20
+ bigint unsigned|0s
+
+
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ bigint unsigned|0s
+
+
+ 23
+ bigint unsigned|0s
+
+
+ 24
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(90)|0s
+
+
+ 8
+ int|0s
+
+
+ 9
+ varchar(130)|0s
+
+
+ 10
+ varchar(130)|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ enum('READ ONLY', 'READ WRITE')|0e
+
+
+ 17
+ varchar(64)|0s
+
+
+ 1
+ 18
+ enum('YES', 'NO')|0e
+
+
+ 19
+ bigint unsigned|0s
+
+
+ 20
+ bigint unsigned|0s
+
+
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ bigint unsigned|0s
+
+
+ 23
+ bigint unsigned|0s
+
+
+ 24
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(90)|0s
+
+
+ 8
+ int|0s
+
+
+ 9
+ varchar(130)|0s
+
+
+ 10
+ varchar(130)|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ enum('READ ONLY', 'READ WRITE')|0e
+
+
+ 17
+ varchar(64)|0s
+
+
+ 1
+ 18
+ enum('YES', 'NO')|0e
+
+
+ 19
+ bigint unsigned|0s
+
+
+ 20
+ bigint unsigned|0s
+
+
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ bigint unsigned|0s
+
+
+ 23
+ bigint unsigned|0s
+
+
+ 24
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ varchar(128)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ USER
+HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ HOST
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ THREAD_ID
+EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ USER
+EVENT_NAME
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ int unsigned|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 11
+ varchar(512)|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 1
+ 17
+ varchar(32)|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ int unsigned|0s
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ int unsigned|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 11
+ varchar(512)|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 1
+ 17
+ varchar(32)|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ int unsigned|0s
+
+
+ THREAD_ID
+EVENT_ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(128)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ int unsigned|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 11
+ varchar(512)|0s
+
+
+ 12
+ varchar(64)|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e
+
+
+ 1
+ 17
+ varchar(32)|0s
+
+
+ 18
+ bigint|0s
+
+
+ 19
+ int unsigned|0s
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ varchar(128)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ USER
+HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ HOST
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ EVENT_NAME
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ THREAD_ID
+EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ USER
+EVENT_NAME
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(512)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ int unsigned|0s
+
+
+ FILE_NAME
+ hash
+ 1
+
+
+ EVENT_NAME
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(512)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ FILE_NAME
+ hash
+
+
+ EVENT_NAME
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(1024)|0s
+
+
+ VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(32)|0s
+
+
+ 1
+ 3
+ varchar(1024)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(1024)|0s
+
+
+ VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ enum('YES', 'NO')|0e
+
+
+ 1
+ 4
+ bigint|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ bigint|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 1
+ 11
+ bigint|0s
+
+
+ 1
+ 12
+ bigint|0s
+
+
+ 1
+ 13
+ bigint|0s
+
+
+ 1
+ 14
+ bigint|0s
+
+
+ 1
+ 15
+ bigint|0s
+
+
+ 1
+ 16
+ bigint|0s
+
+
+ 1
+ 17
+ bigint|0s
+
+
+ 1
+ 18
+ bigint|0s
+
+
+ 1
+ 19
+ bigint|0s
+
+
+ 1
+ 20
+ bigint|0s
+
+
+ 1
+ 21
+ bigint|0s
+
+
+ 1
+ 22
+ bigint|0s
+
+
+ 1
+ 23
+ bigint|0s
+
+
+ 1
+ 24
+ bigint|0s
+
+
+ 1
+ 25
+ bigint|0s
+
+
+ 1
+ 26
+ timestamp|0s
+
+
+ 1
+ 27
+ timestamp|0s
+
+
+ 28
+ timestamp|0s
+
+
+ 29
+ timestamp|0s
+
+
+ IP
+ hash
+ 1
+
+
+ HOST
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 2
+ bigint|0s
+
+
+ 1
+ 3
+ bigint|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ HOST
+ hash
+ 1
+
+
+ HOST
+
+
+ Id of the file.
+ 1
+ 1
+ bigint|0s
+
+
+ Path to the file.
+ 1
+ 2
+ varchar(2000)|0s
+
+
+ LSN of the first block in the file.
+ 1
+ 3
+ bigint|0s
+
+
+ LSN after the last block in the file.
+ 1
+ 4
+ bigint|0s
+
+
+ Size of the file (in bytes).
+ 1
+ 5
+ bigint|0s
+
+
+ 1 iff file has no free space inside.
+ 1
+ 6
+ tinyint|0s
+
+
+ All redo log consumers registered on smaller levels than this value, have already consumed this file.
+ 1
+ 7
+ int|0s
+
+
+ 1
+ 1
+ varchar(256)|0s
+
+
+ 1
+ 2
+ varchar(1024)|0s
+
+
+ 1
+ 1
+ varchar(255)|0s
+
+
+ 2
+ varchar(255)|0s
+
+
+ 3
+ varchar(255)|0s
+
+
+ 1
+ 1
+ char(36)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ json|0s
+
+
+ 1
+ 3
+ json|0s
+
+
+ 1
+ 4
+ json|0s
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ varchar(128)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ bigint|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 1
+ 11
+ bigint|0s
+
+
+ 1
+ 12
+ bigint|0s
+
+
+ 1
+ 13
+ bigint|0s
+
+
+ USER
+HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ bigint|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 1
+ 11
+ bigint|0s
+
+
+ 1
+ 12
+ bigint|0s
+
+
+ HOST
+EVENT_NAME
+ hash
+ 1
+
+
+ HOST
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ bigint|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 1
+ 11
+ bigint|0s
+
+
+ 1
+ 12
+ bigint|0s
+
+
+ THREAD_ID
+EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ bigint|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 1
+ 11
+ bigint|0s
+
+
+ 1
+ 12
+ bigint|0s
+
+
+ USER
+EVENT_NAME
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ bigint|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 1
+ 11
+ bigint|0s
+
+
+ EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ varchar(32)|0s
+
+
+ 1
+ 7
+ varchar(32)|0s
+
+
+ 1
+ 8
+ varchar(32)|0s
+
+
+ 9
+ varchar(64)|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+COLUMN_NAME
+ hash
+
+
+ OWNER_THREAD_ID
+OWNER_EVENT_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ NAME
+ hash
+
+
+ LOCKED_BY_THREAD_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+ hash
+ 1
+
+
+ OBJECT
+
+
+ 1
+ 1
+ enum('CYCLE', 'NANOSECOND', 'MICROSECOND', 'MILLISECOND', 'THREAD_CPU')|0e
+
+
+ 2
+ bigint|0s
+
+
+ 3
+ bigint|0s
+
+
+ 4
+ bigint|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(1024)|0s
+
+
+ VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ longtext|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ enum('EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER')|0e
+
+
+ 8
+ varchar(64)|0s
+
+
+ 9
+ varchar(64)|0s
+
+
+ 10
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 1
+ 37
+ bigint unsigned|0s
+
+
+ 1
+ 38
+ bigint unsigned|0s
+
+
+ 1
+ 39
+ bigint unsigned|0s
+
+
+ 1
+ 40
+ bigint unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ OWNER_THREAD_ID
+OWNER_EVENT_ID
+ hash
+ 1
+
+
+ STATEMENT_ID
+ hash
+
+
+ STATEMENT_NAME
+ hash
+
+
+ OWNER_OBJECT_TYPE
+OWNER_OBJECT_SCHEMA
+OWNER_OBJECT_NAME
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ OWNER_THREAD_ID
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ varchar(32)|0s
+
+
+ 3
+ varchar(261)|0s
+ ascii_general_ci
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(16)|0s
+
+
+ 6
+ bigint|0s
+
+
+ 7
+ varchar(64)|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ ID
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ int|0s
+
+
+ User name for the security context of the applier.
+ 3
+ text|0s
+ utf8mb3_bin
+
+
+ Indicates whether the channel shall only accept row based events.
+ 1
+ 4
+ enum('YES', 'NO')|0e
+
+
+ Indicates what is the channel policy regarding tables without primary keys on create and alter table queries
+ 1
+ 5
+ enum('STREAM', 'ON', 'OFF', 'GENERATE')|0e
+
+
+ Indicates whether the channel will generate a new GTID for anonymous transactions. OFF means that anonymous transactions will remain anonymous. LOCAL means that anonymous transactions will be assigned a newly generated GTID based on server_uuid. UUID indicates that anonymous transactions will be assigned a newly generated GTID based on Assign_gtids_to_anonymous_transactions_value
+ 1
+ 6
+ enum('OFF', 'LOCAL', 'UUID')|0e
+
+
+ Indicates the UUID used while generating GTIDs for anonymous transactions
+ 7
+ text|0s
+ utf8mb3_bin
+
+
+ CHANNEL_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ char(64)|0s
+
+
+ 1
+ 3
+ longtext|0s
+
+
+ 1
+ 4
+ enum('STARTUP_OPTIONS', 'CHANGE_REPLICATION_FILTER', 'STARTUP_OPTIONS_FOR_CHANNEL', 'CHANGE_REPLICATION_FILTER_FOR_CHANNEL')|0e
+
+
+ 1
+ 5
+ timestamp(6)|0s
+
+
+ '0'
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ longtext|0s
+
+
+ 1
+ 3
+ enum('STARTUP_OPTIONS', 'CHANGE_REPLICATION_FILTER')|0e
+
+
+ 1
+ 4
+ timestamp(6)|0s
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ enum('ON', 'OFF')|0e
+
+
+ 3
+ int unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ CHANNEL_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ enum('ON', 'OFF')|0e
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ varchar(1024)|0s
+
+
+ 1
+ 6
+ timestamp(6)|0s
+
+
+ 7
+ char(90)|0s
+
+
+ 1
+ 8
+ timestamp(6)|0s
+
+
+ 1
+ 9
+ timestamp(6)|0s
+
+
+ 1
+ 10
+ timestamp(6)|0s
+
+
+ 1
+ 11
+ timestamp(6)|0s
+
+
+ 12
+ char(90)|0s
+
+
+ 1
+ 13
+ timestamp(6)|0s
+
+
+ 1
+ 14
+ timestamp(6)|0s
+
+
+ 1
+ 15
+ timestamp(6)|0s
+
+
+ CHANNEL_NAME
+ hash
+ 1
+
+
+ THREAD_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ enum('ON', 'OFF')|0e
+
+
+ 1
+ 5
+ int|0s
+
+
+ 1
+ 6
+ varchar(1024)|0s
+
+
+ 1
+ 7
+ timestamp(6)|0s
+
+
+ 8
+ char(90)|0s
+
+
+ 1
+ 9
+ timestamp(6)|0s
+
+
+ 1
+ 10
+ timestamp(6)|0s
+
+
+ 1
+ 11
+ timestamp(6)|0s
+
+
+ 1
+ 12
+ timestamp(6)|0s
+
+
+ 13
+ char(90)|0s
+
+
+ 1
+ 14
+ timestamp(6)|0s
+
+
+ 1
+ 15
+ timestamp(6)|0s
+
+
+ 1
+ 16
+ timestamp(6)|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ int|0s
+
+
+ 19
+ varchar(1024)|0s
+
+
+ 1
+ 20
+ timestamp(6)|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ int|0s
+
+
+ 23
+ varchar(1024)|0s
+
+
+ 1
+ 24
+ timestamp(6)|0s
+
+
+ CHANNEL_NAME
+WORKER_ID
+ hash
+ 1
+
+
+ THREAD_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ The replication channel name that connects source and replica.
+ 1
+ 1
+ char(64)|0s
+ utf8mb3_general_ci
+
+
+ The source hostname that the replica will attempt to switch over the replication connection to in case of a failure.
+ 1
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ The source port that the replica will attempt to switch over the replication connection to in case of a failure.
+ 1
+ 3
+ int|0s
+
+
+ The source network namespace that the replica will attempt to switch over the replication connection to in case of a failure. If its value is empty, connections use the default (global) namespace.
+ 4
+ char(64)|0s
+
+
+ The order in which the replica shall try to switch the connection over to when there are failures. Weight can be set to a number between 1 and 100, where 100 is the highest weight and 1 the lowest.
+ 1
+ 5
+ int unsigned|0s
+
+
+ The name of the group which this server belongs to.
+ ''
+ 1
+ 6
+ char(64)|0s
+ utf8mb3_general_ci
+
+
+ The replication channel name that connects source and replica.
+ 1
+ 1
+ char(64)|0s
+ utf8mb3_general_ci
+
+
+ The name of the source which needs to be managed.
+ ''
+ 1
+ 2
+ char(64)|0s
+ utf8mb3_general_ci
+
+
+ Determines the managed type.
+ ''
+ 1
+ 3
+ char(64)|0s
+ utf8mb3_general_ci
+
+
+ The data to help manage group. For Managed_type = GroupReplication, Configuration value should contain {"Primary_weight": 80, "Secondary_weight": 60}, so that it assigns weight=80 to PRIMARY of the group, and weight=60 for rest of the members in mysql.replication_asynchronous_connection_failover table.
+ 4
+ json|0s
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ int|0s
+
+
+ 1
+ 4
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 5
+ char(60)|0s
+ utf8mb4_bin
+
+
+ 1
+ 6
+ enum('1', '0')|0e
+
+
+ 1
+ 7
+ enum('YES', 'NO', 'IGNORED')|0e
+
+
+ 1
+ 8
+ varchar(512)|0s
+
+
+ 1
+ 9
+ varchar(512)|0s
+
+
+ 1
+ 10
+ varchar(512)|0s
+
+
+ 1
+ 11
+ varchar(512)|0s
+
+
+ 1
+ 12
+ varchar(512)|0s
+
+
+ 1
+ 13
+ enum('YES', 'NO')|0e
+
+
+ 1
+ 14
+ varchar(255)|0s
+
+
+ 1
+ 15
+ varchar(255)|0s
+
+
+ 1
+ 16
+ int|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ Number of seconds after which a heartbeat will be sent .
+ 1
+ 18
+ double(10,3 digit)|0s
+
+
+ 1
+ 19
+ varchar(255)|0s
+
+
+ 1
+ 20
+ varchar(512)|0s
+
+
+ 1
+ 21
+ enum('YES', 'NO')|0e
+
+
+ 1
+ 22
+ varchar(64)|0s
+
+
+ Compression algorithm used for data transfer between master and slave.
+ 1
+ 23
+ char(64)|0s
+ utf8mb4_bin
+
+
+ Compression level associated with zstd compression algorithm.
+ 1
+ 24
+ int|0s
+
+
+ 25
+ text|0s
+ utf8mb3_bin
+
+
+ 1
+ 26
+ enum('1', '0')|0e
+
+
+ Indicates if this channel only uses GTIDs and does not persist positions.
+ 1
+ 27
+ enum('1', '0')|0e
+
+
+ CHANNEL_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ char(36)|0s
+ utf8mb4_bin
+
+
+ 1
+ 3
+ char(36)|0s
+ utf8mb4_bin
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ enum('ON', 'OFF', 'CONNECTING')|0e
+
+
+ '0'
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ Shows when the most recent heartbeat signal was received.
+ 1
+ 7
+ timestamp(6)|0s
+
+
+ 1
+ 8
+ longtext|0s
+
+
+ 1
+ 9
+ int|0s
+
+
+ 1
+ 10
+ varchar(1024)|0s
+
+
+ 1
+ 11
+ timestamp(6)|0s
+
+
+ 12
+ char(90)|0s
+
+
+ 1
+ 13
+ timestamp(6)|0s
+
+
+ 1
+ 14
+ timestamp(6)|0s
+
+
+ 1
+ 15
+ timestamp(6)|0s
+
+
+ 1
+ 16
+ timestamp(6)|0s
+
+
+ 17
+ char(90)|0s
+
+
+ 1
+ 18
+ timestamp(6)|0s
+
+
+ 1
+ 19
+ timestamp(6)|0s
+
+
+ 1
+ 20
+ timestamp(6)|0s
+
+
+ CHANNEL_NAME
+ hash
+ 1
+
+
+ THREAD_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ char(60)|0s
+ utf8mb4_bin
+
+
+ 1
+ 3
+ char(36)|0s
+ utf8mb4_bin
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ longtext|0s
+
+
+ 1
+ 9
+ text|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 1
+ char(64)|0s
+
+
+ 1
+ 2
+ char(36)|0s
+ utf8mb4_bin
+
+
+ 1
+ 3
+ char(255)|0s
+ ascii_general_ci
+
+
+ 4
+ int|0s
+
+
+ 1
+ 5
+ char(64)|0s
+ utf8mb4_bin
+
+
+ 1
+ 6
+ char(64)|0s
+ utf8mb4_bin
+
+
+ 1
+ 7
+ char(64)|0s
+ utf8mb4_bin
+
+
+ 1
+ 8
+ char(64)|0s
+ utf8mb4_bin
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ int unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ NAME
+ hash
+
+
+ WRITE_LOCKED_BY_THREAD_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(32)|0s
+
+
+ 3
+ varchar(1024)|0s
+
+
+ 4
+ int|0s
+
+
+ PROCESSLIST_ID
+ATTR_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(32)|0s
+
+
+ 3
+ varchar(1024)|0s
+
+
+ 4
+ int|0s
+
+
+ PROCESSLIST_ID
+ATTR_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(1024)|0s
+
+
+ VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(1024)|0s
+
+
+ VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ '%'
+ 1
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ '%'
+ 1
+ 2
+ char(32)|0s
+ utf8mb4_bin
+
+
+ '%'
+ 1
+ 3
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 'YES'
+ 1
+ 4
+ enum('YES', 'NO')|0e
+
+
+ 'YES'
+ 1
+ 5
+ enum('YES', 'NO')|0e
+
+
+ HOST
+USER
+ROLE
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ enum('YES', 'NO')|0e
+
+
+ NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ enum('YES', 'NO')|0e
+
+
+ 3
+ enum('YES', 'NO')|0e
+
+
+ 1
+ 4
+ set('singleton', 'progress', 'user', 'global_statistics', 'mutable', 'controlled_by_default')|0e
+
+
+ 5
+ set('controlled')|0e
+
+
+ 1
+ 6
+ int|0s
+
+
+ 7
+ longtext|0s
+
+
+ NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ enum('none', 'error', 'warn', 'info', 'debug')|0e
+
+
+ 3
+ varchar(1023)|0s
+
+
+ 1
+ 1
+ varchar(63)|0s
+
+
+ 1
+ 2
+ mediumint unsigned|0s
+
+
+ 1
+ 3
+ enum('YES', 'NO')|0e
+
+
+ 4
+ varchar(1023)|0s
+
+
+ NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(63)|0s
+
+
+ 1
+ 2
+ varchar(63)|0s
+
+
+ 1
+ 3
+ enum('ASYNC COUNTER', 'ASYNC UPDOWN COUNTER', 'ASYNC GAUGE COUNTER')|0e
+
+
+ 1
+ 4
+ enum('INTEGER', 'DOUBLE')|0e
+
+
+ 5
+ varchar(63)|0s
+
+
+ 6
+ varchar(1023)|0s
+
+
+ NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 'TABLE'
+ 1
+ 1
+ enum('EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER')|0e
+
+
+ '%'
+ 2
+ varchar(64)|0s
+
+
+ '%'
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 'YES'
+ 1
+ 4
+ enum('YES', 'NO')|0e
+
+
+ 'YES'
+ 1
+ 5
+ enum('YES', 'NO')|0e
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+ hash
+ 1
+
+
+ OBJECT
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ enum('YES', 'NO')|0e
+
+
+ 1
+ 3
+ enum('YES', 'NO')|0e
+
+
+ 1
+ 4
+ set('singleton', 'user')|0e
+
+
+ 1
+ 5
+ int|0s
+
+
+ 6
+ longtext|0s
+
+
+ NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ int|0s
+
+
+ 1
+ 5
+ varchar(64)|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 7
+ enum('IDLE', 'ACTIVE')|0e
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ THREAD_ID
+ hash
+
+
+ SOCKET_ID
+ hash
+
+
+ IP
+PORT
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ EVENT_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ EVENT_NAME
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 2
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(1024)|0s
+
+
+ USER
+HOST
+VARIABLE_NAME
+ hash
+ 1
+
+
+ ACCOUNT
+
+
+ 1
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(1024)|0s
+
+
+ HOST
+VARIABLE_NAME
+ hash
+ 1
+
+
+ HOST
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(1024)|0s
+
+
+ THREAD_ID
+VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(1024)|0s
+
+
+ USER
+VARIABLE_NAME
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ bigint unsigned|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(64)|0s
+
+
+ 8
+ varchar(64)|0s
+
+
+ OBJECT_INSTANCE_BEGIN
+ hash
+ 1
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+ hash
+
+
+ OWNER_THREAD_ID
+OWNER_EVENT_ID
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 1
+ 37
+ bigint unsigned|0s
+
+
+ 1
+ 38
+ bigint unsigned|0s
+
+
+ 1
+ 39
+ bigint unsigned|0s
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+INDEX_NAME
+ hash
+ 1
+
+
+ OBJECT
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 1
+ 37
+ bigint unsigned|0s
+
+
+ 1
+ 38
+ bigint unsigned|0s
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+ hash
+ 1
+
+
+ OBJECT
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 1
+ 25
+ bigint unsigned|0s
+
+
+ 1
+ 26
+ bigint unsigned|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ bigint unsigned|0s
+
+
+ 1
+ 30
+ bigint unsigned|0s
+
+
+ 1
+ 31
+ bigint unsigned|0s
+
+
+ 1
+ 32
+ bigint unsigned|0s
+
+
+ 1
+ 33
+ bigint unsigned|0s
+
+
+ 1
+ 34
+ bigint unsigned|0s
+
+
+ 1
+ 35
+ bigint unsigned|0s
+
+
+ 1
+ 36
+ bigint unsigned|0s
+
+
+ 1
+ 37
+ bigint unsigned|0s
+
+
+ 1
+ 38
+ bigint unsigned|0s
+
+
+ 1
+ 39
+ bigint unsigned|0s
+
+
+ 1
+ 40
+ bigint unsigned|0s
+
+
+ 1
+ 41
+ bigint unsigned|0s
+
+
+ 1
+ 42
+ bigint unsigned|0s
+
+
+ 1
+ 43
+ bigint unsigned|0s
+
+
+ 1
+ 44
+ bigint unsigned|0s
+
+
+ 1
+ 45
+ bigint unsigned|0s
+
+
+ 1
+ 46
+ bigint unsigned|0s
+
+
+ 1
+ 47
+ bigint unsigned|0s
+
+
+ 1
+ 48
+ bigint unsigned|0s
+
+
+ 1
+ 49
+ bigint unsigned|0s
+
+
+ 1
+ 50
+ bigint unsigned|0s
+
+
+ 1
+ 51
+ bigint unsigned|0s
+
+
+ 1
+ 52
+ bigint unsigned|0s
+
+
+ 1
+ 53
+ bigint unsigned|0s
+
+
+ 1
+ 54
+ bigint unsigned|0s
+
+
+ 1
+ 55
+ bigint unsigned|0s
+
+
+ 1
+ 56
+ bigint unsigned|0s
+
+
+ 1
+ 57
+ bigint unsigned|0s
+
+
+ 1
+ 58
+ bigint unsigned|0s
+
+
+ 1
+ 59
+ bigint unsigned|0s
+
+
+ 1
+ 60
+ bigint unsigned|0s
+
+
+ 1
+ 61
+ bigint unsigned|0s
+
+
+ 1
+ 62
+ bigint unsigned|0s
+
+
+ 1
+ 63
+ bigint unsigned|0s
+
+
+ 1
+ 64
+ bigint unsigned|0s
+
+
+ 1
+ 65
+ bigint unsigned|0s
+
+
+ 1
+ 66
+ bigint unsigned|0s
+
+
+ 1
+ 67
+ bigint unsigned|0s
+
+
+ 1
+ 68
+ bigint unsigned|0s
+
+
+ OBJECT_TYPE
+OBJECT_SCHEMA
+OBJECT_NAME
+ hash
+ 1
+
+
+ OBJECT
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ varchar(10)|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ varchar(32)|0s
+
+
+ 6
+ varchar(255)|0s
+ ascii_general_ci
+
+
+ 7
+ varchar(64)|0s
+
+
+ 8
+ varchar(16)|0s
+
+
+ 9
+ bigint|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 11
+ longtext|0s
+
+
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 1
+ 14
+ enum('YES', 'NO')|0e
+
+
+ 1
+ 15
+ enum('YES', 'NO')|0e
+
+
+ 16
+ varchar(16)|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ varchar(64)|0s
+
+
+ 19
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ enum('YES', 'NO')|0e
+
+
+ THREAD_ID
+ hash
+ 1
+
+
+ NAME
+ hash
+
+
+ PROCESSLIST_ID
+ hash
+
+
+ PROCESSLIST_USER
+PROCESSLIST_HOST
+ hash
+
+
+ PROCESSLIST_HOST
+ hash
+
+
+ THREAD_OS_ID
+ hash
+
+
+ RESOURCE_GROUP
+ hash
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ varchar(2048)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ varchar(20)|0s
+
+
+ 1
+ 3
+ varchar(20)|0s
+
+
+ 4
+ varchar(1024)|0s
+
+
+ 5
+ bigint|0s
+
+
+ UDF_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 3
+ longblob|0s
+
+
+ THREAD_ID
+VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 1
+ 2
+ bigint|0s
+
+
+ 1
+ 3
+ bigint|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ USER
+ hash
+ 1
+
+
+ USER
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(1024)|0s
+
+
+ THREAD_ID
+VARIABLE_NAME
+ hash
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 'COMPILED'
+ 2
+ enum('COMPILED', 'GLOBAL', 'SERVER', 'EXPLICIT', 'EXTRA', 'USER', 'LOGIN', 'COMMAND_LINE', 'PERSISTED', 'DYNAMIC')|0e
+
+
+ 3
+ varchar(1024)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ timestamp(6)|0s
+
+
+ 7
+ char(32)|0s
+ utf8mb4_bin
+
+
+ 8
+ char(255)|0s
+ ascii_general_ci
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 1
+ 2
+ enum('GLOBAL', 'SESSION', 'SESSION_ONLY')|0e
+
+
+ 1
+ 3
+ enum('Integer', 'Numeric', 'String', 'Enumeration', 'Boolean', 'Set')|0e
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 1
+ 6
+ mediumtext|0s
+
+
+ 1
+ int|0s
+
+
+ 2
+ int|0s
+
+
+ O
+ 3
+ int|0s
+
+
+ 1
+ int|0s
+
+
+ 2
+ int|0s
+
+
+ O
+ 3
+ int|0s
+
+
+ R
+ decimal(5,2 digit)|0s
+
+
+ 1
+ int|0s
+
+
+ 2
+ datetime|0s
+
+
+ R
+ int|0s
+
+
+ 1
+ int|0s
+
+
+ R
+ tinyint(1)|0s
+
+
+ 1
+ int|0s
+
+
+ 1
+ tinyint unsigned|0s
+
+
+ 2
+ decimal(10,2 digit)|0s
+
+
+ O
+ 3
+ int|0s
+
+
+ 201
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(45)|0s
+
+
+ 1
+ 3
+ varchar(45)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 4
+ timestamp|0s
+
+
+ actor_id
+ btree
+ 1
+
+
+ last_name
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 606
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(50)|0s
+
+
+ 3
+ varchar(50)|0s
+
+
+ 1
+ 4
+ varchar(20)|0s
+
+
+ 1
+ 5
+ smallint unsigned|0s
+
+
+ 6
+ varchar(10)|0s
+
+
+ 1
+ 7
+ varchar(20)|0s
+
+
+ 1
+ 8
+ geometry|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 9
+ timestamp|0s
+
+
+ city_id
+ cascade
+ city_id
+ city
+
+
+ address_id
+ btree
+ 1
+
+
+ city_id
+ btree
+
+
+ location
+ spatial
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 17
+ 1
+ 1
+ tinyint unsigned|0s
+
+
+ 1
+ 2
+ varchar(25)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ category_id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 601
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(50)|0s
+
+
+ 1
+ 3
+ smallint unsigned|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 4
+ timestamp|0s
+
+
+ country_id
+ cascade
+ country_id
+ country
+
+
+ city_id
+ btree
+ 1
+
+
+ country_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 110
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(50)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ country_id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 600
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ tinyint unsigned|0s
+
+
+ 1
+ 3
+ varchar(45)|0s
+
+
+ 1
+ 4
+ varchar(45)|0s
+
+
+ 5
+ varchar(50)|0s
+
+
+ 1
+ 6
+ smallint unsigned|0s
+
+
+ 1
+ 1
+ 7
+ tinyint(1)|0s
+
+
+ 1
+ 8
+ datetime|0s
+
+
+ CURRENT_TIMESTAMP
+ CURRENT_TIMESTAMP
+ 9
+ timestamp|0s
+
+
+ store_id
+ cascade
+ store_id
+ store
+
+
+ address_id
+ cascade
+ address_id
+ address
+
+
+ customer_id
+ btree
+ 1
+
+
+ store_id
+ btree
+
+
+ last_name
+ btree
+
+
+ address_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ root@localhost
+ I
+ 27
+ before-row
+
+
+ 1001
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 3
+ text|0s
+
+
+ 4
+ year|0s
+
+
+ 1
+ 5
+ tinyint unsigned|0s
+
+
+ 6
+ tinyint unsigned|0s
+
+
+ '3'
+ 1
+ 7
+ tinyint unsigned|0s
+
+
+ 4.99
+ 1
+ 8
+ decimal(4,2 digit)|0s
+
+
+ 9
+ smallint unsigned|0s
+
+
+ 19.99
+ 1
+ 10
+ decimal(5,2 digit)|0s
+
+
+ 'G'
+ 11
+ enum('G', 'PG', 'PG-13', 'R', 'NC-17')|0e
+
+
+ 12
+ set('Trailers', 'Commentaries', 'Deleted Scenes', 'Behind the Scenes')|0e
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 13
+ timestamp|0s
+
+
+ language_id
+ cascade
+ language_id
+ language
+
+
+ original_language_id
+ cascade
+ language_id
+ language
+
+
+ film_id
+ btree
+ 1
+
+
+ title
+ btree
+
+
+ language_id
+ btree
+
+
+ original_language_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ root@localhost
+ I
+ 125
+
+
+ root@localhost
+ U
+ 310
+
+
+ root@localhost
+ D
+ 66
+
+
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ smallint unsigned|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ actor_id
+ cascade
+ actor_id
+ actor
+
+
+ film_id
+ cascade
+ film_id
+ film
+
+
+ actor_id
+film_id
+ btree
+ 1
+
+
+ film_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ tinyint unsigned|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ film_id
+ cascade
+ film_id
+ film
+
+
+ category_id
+ cascade
+ category_id
+ category
+
+
+ film_id
+category_id
+ btree
+ 1
+
+
+ category_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 1
+ 1
+ smallint|0s
+
+
+ 1
+ 2
+ varchar(255)|0s
+
+
+ 3
+ text|0s
+
+
+ film_id
+ btree
+ 1
+
+
+ title
+description
+ fulltext
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 4582
+ 1
+ 1
+ mediumint unsigned|0s
+
+
+ 1
+ 2
+ smallint unsigned|0s
+
+
+ 1
+ 3
+ tinyint unsigned|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 4
+ timestamp|0s
+
+
+ film_id
+ cascade
+ film_id
+ film
+
+
+ store_id
+ cascade
+ store_id
+ store
+
+
+ inventory_id
+ btree
+ 1
+
+
+ film_id
+ btree
+
+
+ store_id
+film_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 7
+ 1
+ 1
+ tinyint unsigned|0s
+
+
+ 1
+ 2
+ char(20)|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ language_id
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 16050
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ smallint unsigned|0s
+
+
+ 1
+ 3
+ tinyint unsigned|0s
+
+
+ 4
+ int|0s
+
+
+ 1
+ 5
+ decimal(5,2 digit)|0s
+
+
+ 1
+ 6
+ datetime|0s
+
+
+ CURRENT_TIMESTAMP
+ CURRENT_TIMESTAMP
+ 7
+ timestamp|0s
+
+
+ customer_id
+ cascade
+ customer_id
+ customer
+
+
+ staff_id
+ cascade
+ staff_id
+ staff
+
+
+ rental_id
+ set-null
+ cascade
+ rental_id
+ rental
+
+
+ payment_id
+ btree
+ 1
+
+
+ customer_id
+ btree
+
+
+ staff_id
+ btree
+
+
+ rental_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ root@localhost
+ I
+ 28
+ before-row
+
+
+ 16050
+ 1
+ 1
+ int|0s
+
+
+ 1
+ 2
+ datetime|0s
+
+
+ 1
+ 3
+ mediumint unsigned|0s
+
+
+ 1
+ 4
+ smallint unsigned|0s
+
+
+ 5
+ datetime|0s
+
+
+ 1
+ 6
+ tinyint unsigned|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 7
+ timestamp|0s
+
+
+ inventory_id
+ cascade
+ inventory_id
+ inventory
+
+
+ customer_id
+ cascade
+ customer_id
+ customer
+
+
+ staff_id
+ cascade
+ staff_id
+ staff
+
+
+ rental_id
+ btree
+ 1
+
+
+ rental_date
+inventory_id
+customer_id
+ btree
+ 1
+
+
+ inventory_id
+ btree
+
+
+ customer_id
+ btree
+
+
+ staff_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ rental_date
+
+
+ root@localhost
+ I
+ 27
+ before-row
+
+
+ 3
+ 1
+ 1
+ tinyint unsigned|0s
+
+
+ 1
+ 2
+ varchar(45)|0s
+
+
+ 1
+ 3
+ varchar(45)|0s
+
+
+ 1
+ 4
+ smallint unsigned|0s
+
+
+ 5
+ blob|0s
+
+
+ 6
+ varchar(50)|0s
+
+
+ 1
+ 7
+ tinyint unsigned|0s
+
+
+ 1
+ 1
+ 8
+ tinyint(1)|0s
+
+
+ 1
+ 9
+ varchar(16)|0s
+
+
+ 10
+ varchar(40)|0s
+ utf8mb4_bin
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 11
+ timestamp|0s
+
+
+ address_id
+ cascade
+ address_id
+ address
+
+
+ store_id
+ cascade
+ store_id
+ store
+
+
+ staff_id
+ btree
+ 1
+
+
+ address_id
+ btree
+
+
+ store_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ 3
+ 1
+ 1
+ tinyint unsigned|0s
+
+
+ 1
+ 2
+ tinyint unsigned|0s
+
+
+ 1
+ 3
+ smallint unsigned|0s
+
+
+ CURRENT_TIMESTAMP
+ 1
+ CURRENT_TIMESTAMP
+ 4
+ timestamp|0s
+
+
+ manager_staff_id
+ cascade
+ staff_id
+ staff
+
+
+ address_id
+ cascade
+ address_id
+ address
+
+
+ store_id
+ btree
+ 1
+
+
+ manager_staff_id
+ btree
+ 1
+
+
+ address_id
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ idx_unique_manager
+
+
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(45)|0s
+
+
+ 1
+ 3
+ varchar(45)|0s
+
+
+ 4
+ text|0s
+
+
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 2
+ varchar(91)|0s
+
+
+ 1
+ 3
+ varchar(50)|0s
+
+
+ 4
+ varchar(10)|0s
+
+
+ 1
+ 5
+ varchar(20)|0s
+
+
+ 1
+ 6
+ varchar(50)|0s
+
+
+ 1
+ 7
+ varchar(50)|0s
+
+
+ 1
+ 8
+ varchar(6)|0s
+
+
+ 1
+ 9
+ tinyint unsigned|0s
+
+
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 3
+ text|0s
+
+
+ 4
+ varchar(25)|0s
+
+
+ 1
+ 5
+ decimal(4,2 digit)|0s
+
+
+ 6
+ smallint unsigned|0s
+
+
+ 7
+ enum('G', 'PG', 'PG-13', 'R', 'NC-17')|0e
+
+
+ 8
+ text|0s
+
+
+ 1
+ 1
+ smallint unsigned|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 3
+ text|0s
+
+
+ 4
+ varchar(25)|0s
+
+
+ 1
+ 5
+ decimal(4,2 digit)|0s
+
+
+ 6
+ smallint unsigned|0s
+
+
+ 7
+ enum('G', 'PG', 'PG-13', 'R', 'NC-17')|0e
+
+
+ 8
+ text|0s
+
+
+ 1
+ 1
+ varchar(25)|0s
+
+
+ 2
+ decimal(27,2 digit)|0s
+
+
+ 1
+ varchar(101)|0s
+
+
+ 2
+ varchar(91)|0s
+
+
+ 3
+ decimal(27,2 digit)|0s
+
+
+ 1
+ 1
+ tinyint unsigned|0s
+
+
+ 2
+ varchar(91)|0s
+
+
+ 1
+ 3
+ varchar(50)|0s
+
+
+ 4
+ varchar(10)|0s
+
+
+ 1
+ 5
+ varchar(20)|0s
+
+
+ 1
+ 6
+ varchar(50)|0s
+
+
+ 1
+ 7
+ varchar(50)|0s
+
+
+ 1
+ 8
+ tinyint unsigned|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ int unsigned|0s
+
+
+ 2
+ int unsigned|0s
+
+
+ 3
+ enum('current', 'medium', 'full')|0e
+
+
+ 1
+ longtext|0s
+
+
+ R
+ varchar(64)|0s
+
+
+ 1
+ varchar(512)|0s
+
+
+ R
+ varchar(64)|0s
+
+
+ 1
+ varchar(512)|0s
+
+
+ R
+ text|0s
+
+
+ 1
+ text|0s
+
+
+ R
+ varchar(512)|0s
+
+
+ 1
+ varchar(512)|0s
+
+
+ R
+ longtext|0s
+
+
+ 1
+ longtext|0s
+
+
+ R
+ text|0s
+
+
+ 1
+ text|0s
+
+
+ R
+ text|0s
+
+
+ 1
+ text|0s
+
+
+ 2
+ text|0s
+
+
+ R
+ text|0s
+
+
+ 1
+ text|0s
+
+
+ 2
+ text|0s
+
+
+ R
+ enum('YES', 'NO')|0e
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ varchar(32)|0s
+
+
+ R
+ enum('YES', 'NO')|0e
+
+
+ 1
+ varchar(64)|0s
+
+
+ R
+ enum('YES', 'NO')|0e
+
+
+ 1
+ varchar(128)|0s
+
+
+ R
+ enum('YES', 'NO')|0e
+
+
+ 1
+ varchar(128)|0s
+
+
+ R
+ enum('YES', 'NO', 'UNKNOWN')|0e
+
+
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ bigint|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ bigint|0s
+
+
+ 1
+ tinyint(1)|0s
+
+
+ 1
+ int|0s
+
+
+ 1
+ tinyint(1)|0s
+
+
+ 2
+ tinyint(1)|0s
+
+
+ 1
+ tinyint(1)|0s
+
+
+ 2
+ tinyint(1)|0s
+
+
+ R
+ text|0s
+
+
+ 1
+ bigint unsigned|0s
+
+
+ R
+ bigint unsigned|0s
+
+
+ 1
+ bigint unsigned|0s
+
+
+ R
+ longtext|0s
+
+
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ tinyint(1)|0s
+
+
+ R
+ longtext|0s
+
+
+ 1
+ bigint unsigned|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ int|0s
+
+
+ 3
+ decimal(2,2 digit)|0s
+
+
+ 4
+ tinyint(1)|0s
+
+
+ 5
+ tinyint(1)|0s
+
+
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ varchar(255)|0s
+
+
+ 3
+ decimal(20,2 digit)|0s
+
+
+ 4
+ decimal(20,2 digit)|0s
+
+
+ 5
+ tinyint(1)|0s
+
+
+ 6
+ tinyint(1)|0s
+
+
+ 7
+ tinyint(1)|0s
+
+
+ 1
+ tinyint(1)|0s
+
+
+ R
+ text|0s
+
+
+ 1
+ text|0s
+
+
+ 1
+ enum('snapshot', 'overall', 'delta', 'create_table', 'create_tmp', 'save', 'cleanup')|0e
+
+
+ 2
+ varchar(129)|0s
+
+
+ 3
+ set('with_runtimes_in_95th_percentile', 'analysis', 'with_errors_or_warnings', 'with_full_table_scans', 'with_sorting', 'with_temp_tables', 'custom')|0e
+
+
+ R
+ varchar(128)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 2
+ varchar(128)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ O
+ 3
+ enum('', 'BASE TABLE', 'VIEW', 'TEMPORARY')|0e
+
+
+ R
+ tinyint unsigned|0s
+
+
+ R
+ tinyint unsigned|0s
+
+
+ R
+ tinyint unsigned|0s
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 2
+ varchar(128)|0s
+
+
+ CURRENT_TIMESTAMP
+ CURRENT_TIMESTAMP
+ 3
+ timestamp|0s
+
+
+ 4
+ varchar(128)|0s
+
+
+ variable
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ mysql.sys@localhost
+ I
+ 129
+ before-row
+
+
+ mysql.sys@localhost
+ U
+ 129
+ before-row
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(64)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ decimal(65)|0s
+
+
+ 6
+ decimal(64)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 8
+ decimal(41)|0s
+
+
+ 9
+ decimal(41)|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 11
+ varchar(11)|0s
+
+
+ 12
+ varchar(11)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ decimal(42)|0s
+
+
+ 8
+ decimal(42)|0s
+
+
+ 9
+ decimal(42)|0s
+
+
+ 10
+ decimal(43)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ text|0s
+
+
+ 2
+ varchar(11)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 1
+ 4
+ bigint|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 7
+ decimal(45)|0s
+
+
+ 1
+ text|0s
+
+
+ 2
+ text|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 8
+ decimal(45)|0s
+
+
+ 1
+ datetime|0s
+
+
+ 2
+ time|0s
+
+
+ 3
+ bigint|0s
+
+
+ 4
+ mediumtext|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ varchar(64)|0s
+
+
+ 8
+ varchar(64)|0s
+
+
+ 9
+ varchar(64)|0s
+
+
+ 1
+ 10
+ varchar(32)|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ datetime|0s
+
+
+ 13
+ time|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 17
+ longtext|0s
+
+
+ 1
+ 18
+ varchar(128)|0s
+
+
+ 1
+ 19
+ varchar(32)|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ longtext|0s
+
+
+ 1
+ 23
+ varchar(128)|0s
+
+
+ 1
+ 24
+ varchar(32)|0s
+
+
+ 1
+ 25
+ datetime|0s
+
+
+ 26
+ time|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ varchar(33)|0s
+
+
+ 1
+ 30
+ varchar(27)|0s
+
+
+ 1
+ varchar(288)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ varchar(512)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 8
+ varchar(11)|0s
+
+
+ 1
+ 9
+ decimal(26,2 digit)|0s
+
+
+ 1
+ varchar(512)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ varchar(11)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ varchar(11)|0s
+
+
+ 9
+ varchar(11)|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ varchar(11)|0s
+
+
+ 12
+ varchar(11)|0s
+
+
+ 13
+ varchar(11)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 8
+ varchar(11)|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ varchar(11)|0s
+
+
+ 11
+ varchar(11)|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ varchar(11)|0s
+
+
+ 14
+ varchar(11)|0s
+
+
+ 1
+ varchar(317)|0s
+
+
+ 2
+ varchar(512)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 1
+ 4
+ varchar(32)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(41)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ varchar(288)|0s
+
+
+ 3
+ decimal(41)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(41)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 1
+ varchar(11)|0s
+
+
+ 1
+ 1
+ varchar(193)|0s
+
+
+ 2
+ text|0s
+
+
+ 1
+ 3
+ varchar(210)|0s
+
+
+ 1
+ 4
+ varchar(7)|0s
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(288)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(16)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ bigint|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ 10
+ varchar(11)|0s
+
+
+ 11
+ decimal(26,2 digit)|0s
+
+
+ 12
+ varchar(11)|0s
+
+
+ 13
+ varchar(11)|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ bigint unsigned|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ varchar(3)|0s
+
+
+ 20
+ longtext|0s
+
+
+ 21
+ varchar(11)|0s
+
+
+ 22
+ varchar(11)|0s
+
+
+ 23
+ varchar(128)|0s
+
+
+ 24
+ varchar(13)|0s
+
+
+ 25
+ varchar(64)|0s
+
+
+ 26
+ varchar(11)|0s
+
+
+ 27
+ enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e
+
+
+ 28
+ enum('YES', 'NO')|0e
+
+
+ 29
+ varchar(1024)|0s
+
+
+ 30
+ varchar(1024)|0s
+
+
+ 1
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(1024)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ longtext|0s
+
+
+ 1
+ 5
+ mediumtext|0s
+
+
+ 1
+ 6
+ int|0s
+
+
+ 1
+ 7
+ int|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ decimal(25,4 digit) unsigned|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ varchar(11)|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ varchar(11)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(19)|0s
+
+
+ 1
+ 3
+ bigint|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ text|0s
+
+
+ 5
+ int|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ text|0s
+
+
+ 8
+ int|0s
+
+
+ 1
+ 9
+ int|0s
+
+
+ 10
+ varchar(223)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ text|0s
+
+
+ 1
+ 6
+ varchar(32)|0s
+
+
+ 1
+ 7
+ varchar(32)|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ bigint|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ text|0s
+
+
+ 1
+ 15
+ varchar(32)|0s
+
+
+ 1
+ 16
+ varchar(32)|0s
+
+
+ 17
+ varchar(31)|0s
+
+
+ 18
+ varchar(25)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 9
+ varchar(11)|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ varchar(11)|0s
+
+
+ 12
+ decimal(42)|0s
+
+
+ 13
+ varchar(11)|0s
+
+
+ 14
+ varchar(11)|0s
+
+
+ 15
+ decimal(42)|0s
+
+
+ 16
+ varchar(11)|0s
+
+
+ 17
+ varchar(11)|0s
+
+
+ 18
+ decimal(42)|0s
+
+
+ 19
+ varchar(11)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ varchar(11)|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ varchar(11)|0s
+
+
+ 11
+ decimal(42)|0s
+
+
+ 12
+ varchar(11)|0s
+
+
+ 13
+ varchar(11)|0s
+
+
+ 14
+ decimal(42)|0s
+
+
+ 15
+ varchar(11)|0s
+
+
+ 16
+ varchar(11)|0s
+
+
+ 17
+ decimal(42)|0s
+
+
+ 18
+ varchar(11)|0s
+
+
+ 19
+ varchar(11)|0s
+
+
+ 20
+ varchar(11)|0s
+
+
+ 21
+ varchar(11)|0s
+
+
+ 22
+ bigint|0s
+
+
+ 23
+ bigint|0s
+
+
+ 24
+ bigint|0s
+
+
+ 25
+ decimal(45)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(288)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(16)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ bigint|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ 10
+ varchar(11)|0s
+
+
+ 11
+ decimal(26,2 digit)|0s
+
+
+ 12
+ varchar(11)|0s
+
+
+ 13
+ varchar(11)|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ bigint unsigned|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ varchar(3)|0s
+
+
+ 20
+ longtext|0s
+
+
+ 21
+ varchar(11)|0s
+
+
+ 22
+ varchar(11)|0s
+
+
+ 23
+ varchar(128)|0s
+
+
+ 24
+ varchar(13)|0s
+
+
+ 25
+ varchar(64)|0s
+
+
+ 26
+ varchar(11)|0s
+
+
+ 27
+ enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e
+
+
+ 28
+ enum('YES', 'NO')|0e
+
+
+ 29
+ varchar(1024)|0s
+
+
+ 30
+ varchar(1024)|0s
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ varchar(1024)|0s
+
+
+ 3
+ varchar(1024)|0s
+
+
+ 4
+ varchar(1024)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(1)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 8
+ varchar(11)|0s
+
+
+ 9
+ varchar(11)|0s
+
+
+ 10
+ varchar(11)|0s
+
+
+ 11
+ varchar(11)|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ decimal(21)|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ decimal(21)|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 1
+ 17
+ decimal(21)|0s
+
+
+ 1
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ varchar(11)|0s
+
+
+ 23
+ varchar(11)|0s
+
+
+ 24
+ varchar(64)|0s
+
+
+ 1
+ 25
+ timestamp(6)|0s
+
+
+ 1
+ 26
+ timestamp(6)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ decimal(27,4 digit)|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ decimal(27,4 digit)|0s
+
+
+ 1
+ 8
+ timestamp(6)|0s
+
+
+ 1
+ 9
+ timestamp(6)|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ decimal(24)|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ decimal(21)|0s
+
+
+ 11
+ decimal(21)|0s
+
+
+ 1
+ 12
+ timestamp(6)|0s
+
+
+ 1
+ 13
+ timestamp(6)|0s
+
+
+ 14
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(1)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 8
+ varchar(11)|0s
+
+
+ 9
+ varchar(11)|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ decimal(21)|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ decimal(21)|0s
+
+
+ 1
+ 14
+ timestamp(6)|0s
+
+
+ 1
+ 15
+ timestamp(6)|0s
+
+
+ 16
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ decimal(21)|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ decimal(21)|0s
+
+
+ 1
+ 11
+ timestamp(6)|0s
+
+
+ 1
+ 12
+ timestamp(6)|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ decimal(21)|0s
+
+
+ 1
+ 8
+ decimal(24)|0s
+
+
+ 1
+ 9
+ timestamp(6)|0s
+
+
+ 1
+ 10
+ timestamp(6)|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(64)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ decimal(65)|0s
+
+
+ 6
+ decimal(64)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 8
+ decimal(41)|0s
+
+
+ 9
+ decimal(41)|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 11
+ varchar(11)|0s
+
+
+ 12
+ varchar(11)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ decimal(42)|0s
+
+
+ 8
+ decimal(42)|0s
+
+
+ 9
+ decimal(42)|0s
+
+
+ 10
+ decimal(43)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 7
+ varchar(11)|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 1
+ varchar(5)|0s
+
+
+ 1
+ 2
+ varchar(5)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 6
+ varchar(11)|0s
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(11)|0s
+
+
+ 4
+ varchar(11)|0s
+
+
+ 5
+ varchar(11)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(64)|0s
+
+
+ 3
+ decimal(64)|0s
+
+
+ 4
+ decimal(65,4 digit)|0s
+
+
+ 5
+ decimal(65)|0s
+
+
+ 6
+ decimal(64)|0s
+
+
+ 7
+ decimal(64)|0s
+
+
+ 8
+ decimal(41)|0s
+
+
+ 9
+ decimal(41)|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 11
+ decimal(63)|0s
+
+
+ 12
+ decimal(64)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ decimal(42)|0s
+
+
+ 6
+ decimal(42)|0s
+
+
+ 7
+ decimal(42)|0s
+
+
+ 8
+ decimal(42)|0s
+
+
+ 9
+ decimal(42)|0s
+
+
+ 10
+ decimal(43)|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ text|0s
+
+
+ 2
+ decimal(44)|0s
+
+
+ 3
+ decimal(44)|0s
+
+
+ 1
+ 4
+ bigint|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 1
+ 7
+ decimal(45)|0s
+
+
+ 1
+ text|0s
+
+
+ 2
+ text|0s
+
+
+ 3
+ decimal(44)|0s
+
+
+ 4
+ decimal(44)|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 1
+ 7
+ bigint|0s
+
+
+ 1
+ 8
+ decimal(45)|0s
+
+
+ 1
+ datetime|0s
+
+
+ 2
+ time|0s
+
+
+ 3
+ bigint|0s
+
+
+ 4
+ mediumtext|0s
+
+
+ 5
+ varchar(64)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ varchar(64)|0s
+
+
+ 8
+ varchar(64)|0s
+
+
+ 9
+ varchar(64)|0s
+
+
+ 1
+ 10
+ varchar(32)|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ datetime|0s
+
+
+ 13
+ time|0s
+
+
+ 1
+ 14
+ bigint unsigned|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ bigint unsigned|0s
+
+
+ 17
+ varchar(1024)|0s
+
+
+ 1
+ 18
+ varchar(128)|0s
+
+
+ 1
+ 19
+ varchar(32)|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ varchar(1024)|0s
+
+
+ 1
+ 23
+ varchar(128)|0s
+
+
+ 1
+ 24
+ varchar(32)|0s
+
+
+ 1
+ 25
+ datetime|0s
+
+
+ 26
+ time|0s
+
+
+ 1
+ 27
+ bigint unsigned|0s
+
+
+ 1
+ 28
+ bigint unsigned|0s
+
+
+ 1
+ 29
+ varchar(33)|0s
+
+
+ 1
+ 30
+ varchar(27)|0s
+
+
+ 1
+ varchar(288)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ decimal(24,4 digit)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 1
+ varchar(512)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint|0s
+
+
+ 1
+ 4
+ decimal(23,4 digit)|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 1
+ 7
+ decimal(23,4 digit)|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ decimal(26,2 digit)|0s
+
+
+ 1
+ 1
+ varchar(512)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint|0s
+
+
+ 1
+ 9
+ decimal(23,4 digit)|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint|0s
+
+
+ 1
+ 12
+ decimal(23,4 digit)|0s
+
+
+ 1
+ 13
+ bigint|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 1
+ 11
+ decimal(23,4 digit)|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint|0s
+
+
+ 1
+ 14
+ decimal(23,4 digit)|0s
+
+
+ 1
+ varchar(317)|0s
+
+
+ 2
+ varchar(512)|0s
+
+
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ varchar(32)|0s
+
+
+ 5
+ bigint|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 2
+ decimal(41)|0s
+
+
+ 3
+ decimal(41)|0s
+
+
+ 1
+ 4
+ decimal(45,4 digit)|0s
+
+
+ 5
+ bigint|0s
+
+
+ 6
+ decimal(42)|0s
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ varchar(288)|0s
+
+
+ 3
+ decimal(41)|0s
+
+
+ 4
+ decimal(41)|0s
+
+
+ 1
+ 5
+ decimal(45,4 digit)|0s
+
+
+ 6
+ bigint|0s
+
+
+ 7
+ decimal(42)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(41)|0s
+
+
+ 3
+ decimal(41)|0s
+
+
+ 1
+ 4
+ decimal(45,4 digit)|0s
+
+
+ 5
+ bigint|0s
+
+
+ 6
+ decimal(42)|0s
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint|0s
+
+
+ 1
+ 3
+ bigint|0s
+
+
+ 1
+ 4
+ decimal(23,4 digit)|0s
+
+
+ 1
+ 5
+ bigint|0s
+
+
+ 1
+ 6
+ bigint|0s
+
+
+ 1
+ 7
+ decimal(23,4 digit)|0s
+
+
+ 1
+ decimal(41)|0s
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(288)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(16)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ bigint|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ decimal(26,2 digit)|0s
+
+
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ bigint unsigned|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ varchar(3)|0s
+
+
+ 20
+ longtext|0s
+
+
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ decimal(41)|0s
+
+
+ 23
+ varchar(128)|0s
+
+
+ 24
+ varchar(20)|0s
+
+
+ 25
+ varchar(64)|0s
+
+
+ 26
+ bigint unsigned|0s
+
+
+ 27
+ enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e
+
+
+ 28
+ enum('YES', 'NO')|0e
+
+
+ 29
+ varchar(1024)|0s
+
+
+ 30
+ varchar(1024)|0s
+
+
+ 1
+ decimal(21)|0s
+
+
+ 1
+ 2
+ decimal(46,4 digit)|0s
+
+
+ 1
+ 1
+ bigint|0s
+
+
+ 2
+ decimal(21)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 4
+ decimal(41)|0s
+
+
+ 5
+ decimal(42)|0s
+
+
+ 6
+ decimal(42)|0s
+
+
+ 7
+ decimal(41)|0s
+
+
+ 8
+ decimal(42)|0s
+
+
+ 9
+ decimal(42)|0s
+
+
+ 10
+ decimal(42)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 4
+ int|0s
+
+
+ 5
+ bigint|0s
+
+
+ 6
+ text|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 3
+ varchar(64)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 5
+ text|0s
+
+
+ 1
+ 6
+ varchar(32)|0s
+
+
+ 1
+ 7
+ varchar(32)|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ bigint|0s
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ text|0s
+
+
+ 1
+ 15
+ varchar(32)|0s
+
+
+ 1
+ 16
+ varchar(32)|0s
+
+
+ 17
+ varchar(31)|0s
+
+
+ 18
+ varchar(25)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 12
+ decimal(42)|0s
+
+
+ 13
+ decimal(41)|0s
+
+
+ 14
+ decimal(42)|0s
+
+
+ 15
+ decimal(42)|0s
+
+
+ 16
+ decimal(41)|0s
+
+
+ 17
+ decimal(42)|0s
+
+
+ 18
+ decimal(42)|0s
+
+
+ 19
+ decimal(42)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ decimal(42)|0s
+
+
+ 12
+ decimal(41)|0s
+
+
+ 13
+ decimal(42)|0s
+
+
+ 14
+ decimal(42)|0s
+
+
+ 15
+ decimal(41)|0s
+
+
+ 16
+ decimal(42)|0s
+
+
+ 17
+ decimal(42)|0s
+
+
+ 18
+ decimal(42)|0s
+
+
+ 19
+ decimal(44)|0s
+
+
+ 20
+ decimal(44)|0s
+
+
+ 21
+ decimal(45)|0s
+
+
+ 22
+ bigint|0s
+
+
+ 23
+ bigint|0s
+
+
+ 24
+ bigint|0s
+
+
+ 25
+ decimal(45)|0s
+
+
+ 1
+ varchar(64)|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 1
+ bigint unsigned|0s
+
+
+ 2
+ bigint unsigned|0s
+
+
+ 3
+ varchar(288)|0s
+
+
+ 4
+ varchar(64)|0s
+
+
+ 5
+ varchar(16)|0s
+
+
+ 6
+ varchar(64)|0s
+
+
+ 7
+ bigint|0s
+
+
+ 8
+ longtext|0s
+
+
+ 9
+ enum('PRIMARY', 'SECONDARY')|0e
+
+
+ 10
+ bigint unsigned|0s
+
+
+ 11
+ decimal(26,2 digit)|0s
+
+
+ 12
+ bigint unsigned|0s
+
+
+ 13
+ bigint unsigned|0s
+
+
+ 14
+ bigint unsigned|0s
+
+
+ 15
+ bigint unsigned|0s
+
+
+ 16
+ bigint unsigned|0s
+
+
+ 17
+ bigint unsigned|0s
+
+
+ 18
+ bigint unsigned|0s
+
+
+ 1
+ 19
+ varchar(3)|0s
+
+
+ 20
+ longtext|0s
+
+
+ 21
+ bigint unsigned|0s
+
+
+ 22
+ decimal(41)|0s
+
+
+ 23
+ varchar(128)|0s
+
+
+ 24
+ varchar(20)|0s
+
+
+ 25
+ varchar(64)|0s
+
+
+ 26
+ bigint unsigned|0s
+
+
+ 27
+ enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e
+
+
+ 28
+ enum('YES', 'NO')|0e
+
+
+ 29
+ varchar(1024)|0s
+
+
+ 30
+ varchar(1024)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(1)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ bigint unsigned|0s
+
+
+ 1
+ 14
+ decimal(21)|0s
+
+
+ 1
+ 15
+ bigint unsigned|0s
+
+
+ 1
+ 16
+ decimal(21)|0s
+
+
+ 1
+ 17
+ bigint unsigned|0s
+
+
+ 1
+ 18
+ decimal(21)|0s
+
+
+ 1
+ 19
+ bigint unsigned|0s
+
+
+ 1
+ 20
+ bigint unsigned|0s
+
+
+ 1
+ 21
+ bigint unsigned|0s
+
+
+ 1
+ 22
+ bigint unsigned|0s
+
+
+ 1
+ 23
+ bigint unsigned|0s
+
+
+ 1
+ 24
+ bigint unsigned|0s
+
+
+ 25
+ varchar(64)|0s
+
+
+ 1
+ 26
+ timestamp(6)|0s
+
+
+ 1
+ 27
+ timestamp(6)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ decimal(27,4 digit)|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ decimal(27,4 digit)|0s
+
+
+ 1
+ 8
+ timestamp(6)|0s
+
+
+ 1
+ 9
+ timestamp(6)|0s
+
+
+ 10
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ decimal(24)|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 10
+ decimal(21)|0s
+
+
+ 11
+ decimal(21)|0s
+
+
+ 1
+ 12
+ timestamp(6)|0s
+
+
+ 1
+ 13
+ timestamp(6)|0s
+
+
+ 14
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ varchar(1)|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ decimal(21)|0s
+
+
+ 1
+ 12
+ bigint unsigned|0s
+
+
+ 1
+ 13
+ decimal(21)|0s
+
+
+ 1
+ 14
+ timestamp(6)|0s
+
+
+ 1
+ 15
+ timestamp(6)|0s
+
+
+ 16
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ decimal(21)|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ decimal(21)|0s
+
+
+ 1
+ 11
+ timestamp(6)|0s
+
+
+ 1
+ 12
+ timestamp(6)|0s
+
+
+ 13
+ varchar(64)|0s
+
+
+ 1
+ longtext|0s
+
+
+ 2
+ varchar(64)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ decimal(21)|0s
+
+
+ 1
+ 8
+ decimal(24)|0s
+
+
+ 1
+ 9
+ timestamp(6)|0s
+
+
+ 1
+ 10
+ timestamp(6)|0s
+
+
+ 11
+ varchar(64)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(64)|0s
+
+
+ 3
+ decimal(64)|0s
+
+
+ 1
+ 4
+ decimal(65,4 digit)|0s
+
+
+ 5
+ decimal(65)|0s
+
+
+ 6
+ decimal(64)|0s
+
+
+ 7
+ decimal(64)|0s
+
+
+ 8
+ decimal(41)|0s
+
+
+ 9
+ decimal(41)|0s
+
+
+ 1
+ 10
+ bigint|0s
+
+
+ 11
+ decimal(63)|0s
+
+
+ 12
+ decimal(64)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 4
+ decimal(42)|0s
+
+
+ 5
+ decimal(42)|0s
+
+
+ 6
+ decimal(42)|0s
+
+
+ 7
+ decimal(42)|0s
+
+
+ 8
+ decimal(42)|0s
+
+
+ 9
+ decimal(42)|0s
+
+
+ 10
+ decimal(43)|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 7
+ bigint unsigned|0s
+
+
+ 1
+ 8
+ bigint unsigned|0s
+
+
+ 1
+ 9
+ bigint unsigned|0s
+
+
+ 1
+ 10
+ bigint unsigned|0s
+
+
+ 1
+ 11
+ bigint unsigned|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ decimal(46,4 digit)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ varchar(128)|0s
+
+
+ 2
+ decimal(42)|0s
+
+
+ 3
+ decimal(42)|0s
+
+
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ decimal(46,4 digit)|0s
+
+
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ varchar(255)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ varchar(32)|0s
+
+
+ 1
+ 2
+ varchar(128)|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 1
+ 6
+ bigint unsigned|0s
+
+
+ 1
+ 1
+ varchar(128)|0s
+
+
+ 1
+ 2
+ bigint unsigned|0s
+
+
+ 1
+ 3
+ bigint unsigned|0s
+
+
+ 1
+ 4
+ bigint unsigned|0s
+
+
+ 1
+ 5
+ bigint unsigned|0s
+
+
+ 4080
+ 1
+ 1
+ int|0s
+
+
+ ''
+ 1
+ 2
+ char(35)|0s
+
+
+ ''
+ 1
+ 3
+ char(3)|0s
+
+
+ ''
+ 1
+ 4
+ char(20)|0s
+
+
+ 0
+ 1
+ 5
+ int|0s
+
+
+ CountryCode
+ Code
+ country
+
+
+ ID
+ btree
+ 1
+
+
+ CountryCode
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(3)|0s
+
+
+ ''
+ 1
+ 2
+ char(52)|0s
+
+
+ 'Asia'
+ 1
+ 3
+ enum('Asia', 'Europe', 'North America', 'Africa', 'Oceania', 'Antarctica', 'South America')|0e
+
+
+ ''
+ 1
+ 4
+ char(26)|0s
+
+
+ 0.00
+ 1
+ 5
+ decimal(10,2 digit)|0s
+
+
+ 6
+ smallint|0s
+
+
+ 0
+ 1
+ 7
+ int|0s
+
+
+ 8
+ decimal(3,1 digit)|0s
+
+
+ 9
+ decimal(10,2 digit)|0s
+
+
+ 10
+ decimal(10,2 digit)|0s
+
+
+ ''
+ 1
+ 11
+ char(45)|0s
+
+
+ ''
+ 1
+ 12
+ char(45)|0s
+
+
+ 13
+ char(60)|0s
+
+
+ 14
+ int|0s
+
+
+ ''
+ 1
+ 15
+ char(2)|0s
+
+
+ Code
+ btree
+ 1
+
+
+ 1
+ 1
+ PRIMARY
+
+
+ ''
+ 1
+ 1
+ char(3)|0s
+
+
+ ''
+ 1
+ 2
+ char(30)|0s
+
+
+ 'F'
+ 1
+ 3
+ enum('T', 'F')|0e
+
+
+ 0.0
+ 1
+ 4
+ decimal(4,1 digit)|0s
+
+
+ CountryCode
+ Code
+ country
+
+
+ CountryCode
+Language
+ btree
+ 1
+
+
+ CountryCode
+ btree
+
+
+ 1
+ 1
+ PRIMARY
+
+
+
\ No newline at end of file
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/dormitory.pX3iQw.meta b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/dormitory.pX3iQw.meta
new file mode 100644
index 0000000..c9edf9f
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/dormitory.pX3iQw.meta
@@ -0,0 +1,2 @@
+#n:dormitory
+! [0, 0, null, null, -2147483648, -2147483648]
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/dormitory.pX3iQw.zip b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/dormitory.pX3iQw.zip
new file mode 100644
index 0000000..8ee87fd
Binary files /dev/null and b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/dormitory.pX3iQw.zip differ
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/information_schema.FNRwLQ.meta b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/information_schema.FNRwLQ.meta
new file mode 100644
index 0000000..ecafffe
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/information_schema.FNRwLQ.meta
@@ -0,0 +1,2 @@
+#n:information_schema
+! [0, 0, null, null, -2147483648, -2147483648]
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/information_schema.FNRwLQ.zip b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/information_schema.FNRwLQ.zip
new file mode 100644
index 0000000..4f7c4c8
Binary files /dev/null and b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/information_schema.FNRwLQ.zip differ
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/mysql.osA4Bg.meta b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/mysql.osA4Bg.meta
new file mode 100644
index 0000000..ada747c
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/mysql.osA4Bg.meta
@@ -0,0 +1,2 @@
+#n:mysql
+! [0, 0, null, null, -2147483648, -2147483648]
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/performance_schema.kIw0nw.meta b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/performance_schema.kIw0nw.meta
new file mode 100644
index 0000000..25ecd53
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/performance_schema.kIw0nw.meta
@@ -0,0 +1,2 @@
+#n:performance_schema
+! [0, 0, null, null, -2147483648, -2147483648]
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sakila.oXLGyQ.meta b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sakila.oXLGyQ.meta
new file mode 100644
index 0000000..9ef2d61
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sakila.oXLGyQ.meta
@@ -0,0 +1,2 @@
+#n:sakila
+! [0, 0, null, null, -2147483648, -2147483648]
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sakila.oXLGyQ.zip b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sakila.oXLGyQ.zip
new file mode 100644
index 0000000..d9aa220
Binary files /dev/null and b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sakila.oXLGyQ.zip differ
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sys.zb4BAA.meta b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sys.zb4BAA.meta
new file mode 100644
index 0000000..240e69d
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sys.zb4BAA.meta
@@ -0,0 +1,2 @@
+#n:sys
+! [0, 0, null, null, -2147483648, -2147483648]
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sys.zb4BAA.zip b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sys.zb4BAA.zip
new file mode 100644
index 0000000..0968a55
Binary files /dev/null and b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/sys.zb4BAA.zip differ
diff --git a/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/world.khvBBg.meta b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/world.khvBBg.meta
new file mode 100644
index 0000000..f8d2144
--- /dev/null
+++ b/database/database/.idea/dataSources/b17b4acc-8ddf-4336-a9b5-af14c1e96c6f/storage_v2/_src_/schema/world.khvBBg.meta
@@ -0,0 +1,2 @@
+#n:world
+! [0, 0, null, null, -2147483648, -2147483648]
diff --git a/database/database/.idea/encodings.xml b/database/database/.idea/encodings.xml
new file mode 100644
index 0000000..aa00ffa
--- /dev/null
+++ b/database/database/.idea/encodings.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/database/database/.idea/jpa.xml b/database/database/.idea/jpa.xml
new file mode 100644
index 0000000..29e7fa8
--- /dev/null
+++ b/database/database/.idea/jpa.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/database/database/.idea/misc.xml b/database/database/.idea/misc.xml
new file mode 100644
index 0000000..132404b
--- /dev/null
+++ b/database/database/.idea/misc.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/database/database/.idea/vcs.xml b/database/database/.idea/vcs.xml
new file mode 100644
index 0000000..d843f34
--- /dev/null
+++ b/database/database/.idea/vcs.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/database/database/pom.xml b/database/database/pom.xml
new file mode 100644
index 0000000..7de9035
--- /dev/null
+++ b/database/database/pom.xml
@@ -0,0 +1,84 @@
+
+
+ 4.0.0
+
+ com.studentmanagement
+ student-management
+ 0.0.1-SNAPSHOT
+ student-management
+ Student Management Application
+ jar
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.7.5
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+
+
+ mysql
+ mysql-connector-java
+ 8.0.28
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-logging
+
+
+
+
+ org.projectlombok
+ lombok
+ 1.18.24
+ provided
+
+
+
+ org.springframework.boot
+ spring-boot-starter-thymeleaf
+
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
+
+ 1.8
+
+
+
diff --git a/database/database/src/main/java/com/studentmanagement/AccommodationRecordsRepository.java b/database/database/src/main/java/com/studentmanagement/AccommodationRecordsRepository.java
new file mode 100644
index 0000000..55682c3
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/AccommodationRecordsRepository.java
@@ -0,0 +1,24 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.accommodationRecords;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+
+@Repository
+public interface AccommodationRecordsRepository extends JpaRepository {
+
+ // 根据学生ID查询住宿记录
+ List findByStudentID(int studentID);
+
+ // 根据宿舍ID查询住宿记录
+ List findByDormitoryID(int dormitoryID);
+
+ // 根据状态查询住宿记录
+ List findByStatus(boolean status);
+
+ // 根据学生ID和宿舍ID查询住宿记录
+ List findByStudentIDAndDormitoryID(int studentID, int dormitoryID);
+
+}
diff --git a/database/database/src/main/java/com/studentmanagement/BuildingsRepository.java b/database/database/src/main/java/com/studentmanagement/BuildingsRepository.java
new file mode 100644
index 0000000..0b81db9
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/BuildingsRepository.java
@@ -0,0 +1,18 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.buildings;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+import java.util.Optional;
+
+@Repository
+public interface BuildingsRepository extends JpaRepository {
+
+ // 根据建筑物ID查询
+ Optional findById(Integer id);
+
+ // 查询所有建筑物
+ List findAll();
+}
diff --git a/database/database/src/main/java/com/studentmanagement/ClassesRepository.java b/database/database/src/main/java/com/studentmanagement/ClassesRepository.java
new file mode 100644
index 0000000..8965879
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/ClassesRepository.java
@@ -0,0 +1,18 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.classes;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.Optional;
+
+@Repository
+public interface ClassesRepository extends JpaRepository {
+
+ // 根据班级名称查询
+ Optional findByName(String name);
+
+ // 根据班级ID查询
+ Optional findById(Integer id);
+}
+
diff --git a/database/database/src/main/java/com/studentmanagement/DormitoryRepository.java b/database/database/src/main/java/com/studentmanagement/DormitoryRepository.java
new file mode 100644
index 0000000..28254ae
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/DormitoryRepository.java
@@ -0,0 +1,24 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.dormitory;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+import java.util.Optional;
+
+@Repository
+public interface DormitoryRepository extends JpaRepository {
+
+ // 根据宿舍ID查询
+ Optional findById(Integer id);
+
+ // 根据建筑ID查询宿舍
+ List findByBuildingID(int buildingID);
+
+ // 根据班级ID查询宿舍
+ List findByClassID(int classID);
+
+ // 根据人数查询宿舍
+ List findByOccupantsGreaterThan(int occupants);
+}
diff --git a/database/database/src/main/java/com/studentmanagement/EnergyConsumptionsRepository.java b/database/database/src/main/java/com/studentmanagement/EnergyConsumptionsRepository.java
new file mode 100644
index 0000000..be7cd5a
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/EnergyConsumptionsRepository.java
@@ -0,0 +1,21 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.EnergyConsumptions;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+import java.util.Optional;
+
+@Repository
+public interface EnergyConsumptionsRepository extends JpaRepository {
+
+ // 根据宿舍ID查询能源消耗记录
+ List findByDormitoryID(int dormitoryID);
+
+ // 查询水电费大于某个值的记录
+ List findByWaterBillGreaterThan(double waterBill);
+
+ // 查询电费大于某个值的记录
+ List findByElectricityBillGreaterThan(double electricityBill);
+}
diff --git a/database/database/src/main/java/com/studentmanagement/HealthInspectionsRepository.java b/database/database/src/main/java/com/studentmanagement/HealthInspectionsRepository.java
new file mode 100644
index 0000000..dc2ac35
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/HealthInspectionsRepository.java
@@ -0,0 +1,20 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.HealthInspections;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+
+@Repository
+public interface HealthInspectionsRepository extends JpaRepository {
+
+ // 根据宿舍ID查询健康检查记录
+ List findByDormitoryID(int dormitoryID);
+
+ // 根据健康评分查询
+ List findByRating(int rating);
+
+ // 根据检查时间范围查询
+ List findByInspectionTimeBetween(String startTime, String endTime);
+}
diff --git a/database/database/src/main/java/com/studentmanagement/MaintenanceRecordsRepository.java b/database/database/src/main/java/com/studentmanagement/MaintenanceRecordsRepository.java
new file mode 100644
index 0000000..cf9f7a0
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/MaintenanceRecordsRepository.java
@@ -0,0 +1,20 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.MaintenanceRecords;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+
+@Repository
+public interface MaintenanceRecordsRepository extends JpaRepository {
+
+ // 根据宿舍ID查询维修记录
+ List findByDormitoryID(int dormitoryID);
+
+ // 根据维修人员查询
+ List findByRepairPerson(String repairPerson);
+
+ // 根据维修时间范围查询
+ List findByRepairTimeBetween(String startTime, String endTime);
+}
diff --git a/database/database/src/main/java/com/studentmanagement/SafetyInspectionsRepository.java b/database/database/src/main/java/com/studentmanagement/SafetyInspectionsRepository.java
new file mode 100644
index 0000000..6d6a262
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/SafetyInspectionsRepository.java
@@ -0,0 +1,20 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.SafetyInspections;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+
+@Repository
+public interface SafetyInspectionsRepository extends JpaRepository {
+
+ // 根据宿舍ID查询安全检查记录
+ List findByDormitoryID(int dormitoryID);
+
+ // 根据检查人查询
+ List findByInspector(String inspector);
+
+ // 根据检查时间范围查询
+ List findByInspectionTimeBetween(String startTime, String endTime);
+}
diff --git a/database/database/src/main/java/com/studentmanagement/StudentRepository.java b/database/database/src/main/java/com/studentmanagement/StudentRepository.java
new file mode 100644
index 0000000..06948b9
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/StudentRepository.java
@@ -0,0 +1,27 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.student;
+import org.springframework.data.jpa.repository.JpaRepository;
+
+import java.util.List;
+import java.util.Optional;
+
+@org.springframework.stereotype.Repository
+public interface StudentRepository extends JpaRepository {
+
+
+ // 根据学生姓名查询学生
+ List findByName(String name);
+
+ // 根据班级ID查询学生
+ List findByClassID(int classID);
+
+ // 根据性别查询学生
+ List findByGender(char gender);
+
+ // 根据学生ID查询学生
+ Optional findById(Integer id);
+
+ // 删除学生记录(可以通过继承 JpaRepository 默认方法)
+ void deleteById(Integer id);
+}
diff --git a/database/database/src/main/java/com/studentmanagement/TakeoutsRepository.java b/database/database/src/main/java/com/studentmanagement/TakeoutsRepository.java
new file mode 100644
index 0000000..30bd3eb
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/TakeoutsRepository.java
@@ -0,0 +1,24 @@
+package com.studentmanagement;
+
+import com.studentmanagement.model.Takeouts;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+import java.util.Optional;
+
+@Repository
+public interface TakeoutsRepository extends JpaRepository {
+
+ // 根据宿舍ID查询外卖记录
+ List findByDormitoryID(int dormitoryID);
+
+ // 根据外卖状态查询外卖记录
+ List findByStatus(boolean status);
+
+ // 根据外卖送达时间查询
+ List findByDeliveryTimeBetween(String startTime, String endTime);
+
+ // 根据外卖取餐时间查询
+ List findByPickupTimeBetween(String startTime, String endTime);
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/EnergyConsumptions.java b/database/database/src/main/java/com/studentmanagement/model/EnergyConsumptions.java
new file mode 100644
index 0000000..4fd1bae
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/EnergyConsumptions.java
@@ -0,0 +1,53 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "energy_consumptions")
+public class EnergyConsumptions {
+
+ @Id
+ @ManyToOne
+ @JoinColumn(name = "dormitory_id")
+ private int dormitory_id;
+
+ @Column(name = "water_bill")
+ private double waterBill;
+
+ @Column(name = "electricity_bill")
+ private double electricityBill;
+
+ // Constructors, Getters and Setters
+ public EnergyConsumptions() {}
+
+ public EnergyConsumptions(int dormitory_id, double waterBill, double electricityBill) {
+ this.dormitory_id = dormitory_id;
+ this.waterBill = waterBill;
+ this.electricityBill = electricityBill;
+ }
+
+ // Getters and Setters
+ public int getDormitory() {
+ return dormitory_id;
+ }
+
+ public void setDormitory(int dormitory_id) {
+ this.dormitory_id = dormitory_id;
+ }
+
+ public double getWaterBill() {
+ return waterBill;
+ }
+
+ public void setWaterBill(double waterBill) {
+ this.waterBill = waterBill;
+ }
+
+ public double getElectricityBill() {
+ return electricityBill;
+ }
+
+ public void setElectricityBill(double electricityBill) {
+ this.electricityBill = electricityBill;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/HealthInspections.java b/database/database/src/main/java/com/studentmanagement/model/HealthInspections.java
new file mode 100644
index 0000000..31675e0
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/HealthInspections.java
@@ -0,0 +1,55 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+import java.sql.Timestamp;
+
+@Entity
+@Table(name = "health_inspections")
+public class HealthInspections {
+
+ @Id
+ @ManyToOne
+ @JoinColumn(name = "dormitory_id")
+ private int dormitory_id;
+
+ @Id
+ @Column(name = "inspection_time")
+ private Timestamp inspectionTime;
+
+ @Column(name = "rating")
+ private int rating;
+
+ // Constructors, Getters and Setters
+ public HealthInspections() {}
+
+ public HealthInspections(int dormitory_id, Timestamp inspectionTime, int rating) {
+ this.dormitory_id = dormitory_id;
+ this.inspectionTime = inspectionTime;
+ this.rating = rating;
+ }
+
+ // Getters and Setters
+ public int getDormitory() {
+ return dormitory_id;
+ }
+
+ public void setDormitory(int dormitory_id) {
+ this.dormitory_id = dormitory_id;
+ }
+
+ public Timestamp getInspectionTime() {
+ return inspectionTime;
+ }
+
+ public void setInspectionTime(Timestamp inspectionTime) {
+ this.inspectionTime = inspectionTime;
+ }
+
+ public int getRating() {
+ return rating;
+ }
+
+ public void setRating(int rating) {
+ this.rating = rating;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/MaintenanceRecords.java b/database/database/src/main/java/com/studentmanagement/model/MaintenanceRecords.java
new file mode 100644
index 0000000..703ea73
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/MaintenanceRecords.java
@@ -0,0 +1,78 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+import java.sql.Timestamp;
+
+@Entity
+@Table(name = "maintenance_records")
+public class MaintenanceRecords {
+
+ @Id
+ @ManyToOne
+ @JoinColumn(name = "dormitory_id")
+ private int dormitory_id;
+
+ @Column(name = "repair_time")
+ private Timestamp repairTime;
+
+ @Column(name = "repair_person")
+ private String repairPerson;
+
+ @Column(name = "repair_details")
+ private String repairDetails;
+
+ @Column(name = "status")
+ private boolean status;
+
+ // Constructors, Getters and Setters
+ public MaintenanceRecords() {}
+
+ public MaintenanceRecords(int dormitory_id, Timestamp repairTime, String repairPerson, String repairDetails, boolean status) {
+ this.dormitory_id = dormitory_id;
+ this.repairTime = repairTime;
+ this.repairPerson = repairPerson;
+ this.repairDetails = repairDetails;
+ this.status = status;
+ }
+
+ // Getters and Setters
+ public int getDormitory() {
+ return dormitory_id;
+ }
+
+ public void setDormitory(int dormitory_id) {
+ this.dormitory_id = dormitory_id;
+ }
+
+ public Timestamp getRepairTime() {
+ return repairTime;
+ }
+
+ public void setRepairTime(Timestamp repairTime) {
+ this.repairTime = repairTime;
+ }
+
+ public String getRepairPerson() {
+ return repairPerson;
+ }
+
+ public void setRepairPerson(String repairPerson) {
+ this.repairPerson = repairPerson;
+ }
+
+ public String getRepairDetails() {
+ return repairDetails;
+ }
+
+ public void setRepairDetails(String repairDetails) {
+ this.repairDetails = repairDetails;
+ }
+
+ public boolean isStatus() {
+ return status;
+ }
+
+ public void setStatus(boolean status) {
+ this.status = status;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/SafetyInspections.java b/database/database/src/main/java/com/studentmanagement/model/SafetyInspections.java
new file mode 100644
index 0000000..074ae2a
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/SafetyInspections.java
@@ -0,0 +1,67 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+import java.sql.Timestamp;
+
+@Entity
+@Table(name = "safety_inspections")
+public class SafetyInspections {
+
+ @Id
+ @ManyToOne
+ @JoinColumn(name = "dormitory_id")
+ private int dormitory_id;
+
+ @Id
+ @Column(name = "inspection_time")
+ private Timestamp inspectionTime;
+
+ @Column(name = "inspector")
+ private String inspector;
+
+ @Column(name = "issues")
+ private String issues;
+
+ // Constructors, Getters and Setters
+ public SafetyInspections() {}
+
+ public SafetyInspections(int dormitory_id, Timestamp inspectionTime, String inspector, String issues) {
+ this.dormitory_id = dormitory_id;
+ this.inspectionTime = inspectionTime;
+ this.inspector = inspector;
+ this.issues = issues;
+ }
+
+ // Getters and Setters
+ public int getDormitory() {
+ return dormitory_id;
+ }
+
+ public void setDormitory(int dormitory_id) {
+ this.dormitory_id = dormitory_id;
+ }
+
+ public Timestamp getInspectionTime() {
+ return inspectionTime;
+ }
+
+ public void setInspectionTime(Timestamp inspectionTime) {
+ this.inspectionTime = inspectionTime;
+ }
+
+ public String getInspector() {
+ return inspector;
+ }
+
+ public void setInspector(String inspector) {
+ this.inspector = inspector;
+ }
+
+ public String getIssues() {
+ return issues;
+ }
+
+ public void setIssues(String issues) {
+ this.issues = issues;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/Takeouts.java b/database/database/src/main/java/com/studentmanagement/model/Takeouts.java
new file mode 100644
index 0000000..31cf018
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/Takeouts.java
@@ -0,0 +1,67 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+import java.sql.Timestamp;
+
+@Entity
+@Table(name = "takeouts")
+public class Takeouts {
+
+ @Id
+ @ManyToOne
+ @JoinColumn(name = "dormitory_id")
+ private int dormitory_id;
+
+ @Id
+ @Column(name = "delivery_time")
+ private Timestamp deliveryTime;
+
+ @Column(name = "pickup_time")
+ private Timestamp pickupTime;
+
+ @Column(name = "status")
+ private boolean status;
+
+ // Constructors, Getters and Setters
+ public Takeouts() {}
+
+ public Takeouts(int dormitory_id, Timestamp deliveryTime, Timestamp pickupTime, boolean status) {
+ this.dormitory_id = dormitory_id;
+ this.deliveryTime = deliveryTime;
+ this.pickupTime = pickupTime;
+ this.status = status;
+ }
+
+ // Getters and Setters
+ public int getDormitory() {
+ return dormitory_id;
+ }
+
+ public void setDormitory(int dormitory_id) {
+ this.dormitory_id = dormitory_id;
+ }
+
+ public Timestamp getDeliveryTime() {
+ return deliveryTime;
+ }
+
+ public void setDeliveryTime(Timestamp deliveryTime) {
+ this.deliveryTime = deliveryTime;
+ }
+
+ public Timestamp getPickupTime() {
+ return pickupTime;
+ }
+
+ public void setPickupTime(Timestamp pickupTime) {
+ this.pickupTime = pickupTime;
+ }
+
+ public boolean isStatus() {
+ return status;
+ }
+
+ public void setStatus(boolean status) {
+ this.status = status;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/accommodationRecords.java b/database/database/src/main/java/com/studentmanagement/model/accommodationRecords.java
new file mode 100644
index 0000000..e2913ea
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/accommodationRecords.java
@@ -0,0 +1,47 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "accommodation_records")
+public class accommodationRecords {
+
+ @Id
+ @ManyToOne
+ @JoinColumn(name = "student_id")
+ private int student_id;
+
+ @Id
+ @ManyToOne
+ @JoinColumn(name = "dormitory_id")
+ private int dormitory_id;
+
+ @Column(name = "status")
+ private boolean status;
+
+ // Constructors, Getters and Setters
+ public accommodationRecords() {}
+
+ public accommodationRecords(int student_id, int dormitory_id, boolean status) {
+ this.student_id = student_id;
+ this.dormitory_id = dormitory_id;
+ this.status = status;
+ }
+
+ // Getters and Setters
+ public int getStudent() {
+ return this.student_id;
+ }
+
+ public void setStudent(int student_id) {
+ this.student_id = student_id;
+ }
+
+ public int getDormitory() {
+ return this.dormitory_id;
+ }
+
+ public void setDormitory(int dormitory_id) {
+ this.dormitory_id = dormitory_id;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/buildings.java b/database/database/src/main/java/com/studentmanagement/model/buildings.java
new file mode 100644
index 0000000..4e43137
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/buildings.java
@@ -0,0 +1,29 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "buildings")
+public class buildings {
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
+ @Column(name = "building_id")
+ private int buildingID;
+
+ // Constructors, Getters and Setters
+ public buildings() {}
+
+ public buildings(int buildingID) {
+ this.buildingID = buildingID;
+ }
+
+ // Getters and Setters
+ public int getBuildingID() {
+ return buildingID;
+ }
+
+ public void setBuildingID(int buildingID) {
+ this.buildingID = buildingID;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/classes.java b/database/database/src/main/java/com/studentmanagement/model/classes.java
new file mode 100644
index 0000000..13721a3
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/classes.java
@@ -0,0 +1,52 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "classes")
+public class classes {
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
+ @Column(name = "class_id")
+ private int classID;
+
+ @Column(name = "teacher_name")
+ private String teacherName;
+
+ @Column(name = "teacher_phone")
+ private String teacherPhone;
+
+ // Constructors, Getters and Setters
+ public classes() {}
+
+ public classes(String teacherName, String teacherPhone) {
+ this.teacherName = teacherName;
+ this.teacherPhone = teacherPhone;
+ }
+
+ // Getters and Setters
+ public int getClassID() {
+ return classID;
+ }
+
+ public void setClassID(int classID) {
+ this.classID = classID;
+ }
+
+ public String getTeacherName() {
+ return teacherName;
+ }
+
+ public void setTeacherName(String teacherName) {
+ this.teacherName = teacherName;
+ }
+
+ public String getTeacherPhone() {
+ return teacherPhone;
+ }
+
+ public void setTeacherPhone(String teacherPhone) {
+ this.teacherPhone = teacherPhone;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/dormitory.java b/database/database/src/main/java/com/studentmanagement/model/dormitory.java
new file mode 100644
index 0000000..e8e5b66
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/dormitory.java
@@ -0,0 +1,76 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "dormitories")
+public class dormitory {
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
+ @Column(name = "dormitory_id")
+ private int dormitoryID;
+
+ @Column(name = "building_id")
+ private int buildingID;
+
+ @Column(name = "class_id")
+ private int classID;
+
+ @Column(name = "occupants")
+ private int occupants;
+
+ @Column(name = "room_count")
+ private int roomCount;
+
+ // Constructors, Getters and Setters
+ public dormitory() {}
+
+ public dormitory(int buildingID, int classID, int occupants, int roomCount) {
+ this.buildingID = buildingID;
+ this.classID = classID;
+ this.occupants = occupants;
+ this.roomCount = roomCount;
+ }
+
+ // Getters and Setters
+ public int getDormitoryID() {
+ return dormitoryID;
+ }
+
+ public void setDormitoryID(int dormitoryID) {
+ this.dormitoryID = dormitoryID;
+ }
+
+ public int getBuildingID() {
+ return buildingID;
+ }
+
+ public void setBuildingID(int buildingID) {
+ this.buildingID = buildingID;
+ }
+
+ public int getClassID() {
+ return classID;
+ }
+
+ public void setClassID(int classID) {
+ this.classID = classID;
+ }
+
+ public int getOccupants() {
+ return occupants;
+ }
+
+ public void setOccupants(int occupants) {
+ this.occupants = occupants;
+ }
+
+ public int getRoomCount() {
+ return roomCount;
+ }
+
+ public void setRoomCount(int roomCount) {
+ this.roomCount = roomCount;
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/model/student.java b/database/database/src/main/java/com/studentmanagement/model/student.java
new file mode 100644
index 0000000..3564aec
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/model/student.java
@@ -0,0 +1,57 @@
+package com.studentmanagement.model;
+
+import javax.persistence.*;
+
+@Entity
+@Table(name = "students")
+public class student {
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
+ @Column(name = "student_id")
+ private int studentID;
+
+ @Column(name = "name")
+ private String name;
+
+ @Column(name = "gender")
+ private char gender;
+
+ @Column(name = "class_id")
+ private int classID;
+
+ @Column(name = "dormitory_id")
+ private int dormitoryID;
+
+ // Constructors, Getters and Setters
+ public student() {}
+
+ public student(String name, char gender, int classID, int dormitoryID) {
+ this.name = name;
+ this.gender = gender;
+ this.classID = classID;
+ this.dormitoryID = dormitoryID;
+ }
+
+ public Object getStudentID() {
+ return studentID;
+ }
+
+ public Object getName() {
+ return name;
+ }
+
+ public Object getGender() {
+ return gender;
+ }
+
+ public Object getDormitoryID() {
+ return dormitoryID;
+ }
+
+ public Object getClassID() {
+ return classID;
+ }
+
+ // Getters and Setters
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/AccommodationRecordController.java b/database/database/src/main/java/com/studentmanagement/operation/AccommodationRecordController.java
new file mode 100644
index 0000000..6d393be
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/AccommodationRecordController.java
@@ -0,0 +1,36 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.accommodationRecords;
+import com.studentmanagement.service.AccommodationRecordService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+@RestController
+@RequestMapping("/accommodation-records")
+public class AccommodationRecordController {
+
+ @Autowired
+ private AccommodationRecordService accommodationRecordService;
+
+ // 获取所有住宿记录
+ @GetMapping
+ public List getAllAccommodationRecords() {
+ return accommodationRecordService.getAllAccommodationRecords();
+ }
+
+ // 根据学生ID和宿舍ID获取住宿记录
+ @GetMapping("/student/{studentID}/dormitory/{dormitoryID}")
+ public List getAccommodationRecordByStudentAndDormitory(
+ @PathVariable int studentID, @PathVariable int dormitoryID) {
+ return accommodationRecordService.getAccommodationRecordByStudentAndDormitory(dormitoryID);
+ }
+
+ // 创建或更新住宿记录
+ @PostMapping
+ public accommodationRecords saveAccommodationRecord(@RequestBody accommodationRecords accommodationRecord) {
+ return accommodationRecordService.saveAccommodationRecord(accommodationRecord);
+ }
+
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/BuildingController.java b/database/database/src/main/java/com/studentmanagement/operation/BuildingController.java
new file mode 100644
index 0000000..164f857
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/BuildingController.java
@@ -0,0 +1,41 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.buildings;
+import com.studentmanagement.service.BuildingService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/buildings")
+public class BuildingController {
+
+ @Autowired
+ private BuildingService buildingService;
+
+ // 获取所有宿舍楼
+ @GetMapping
+ public List getAllBuildings() {
+ return buildingService.getAllBuildings();
+ }
+
+ // 根据宿舍楼ID获取宿舍楼
+ @GetMapping("/{buildingID}")
+ public Optional getBuildingById(@PathVariable int buildingID) {
+ return buildingService.getBuildingById(buildingID);
+ }
+
+ // 创建或更新宿舍楼
+ @PostMapping
+ public buildings saveBuilding(@RequestBody buildings building) {
+ return buildingService.saveBuilding(building);
+ }
+
+ // 删除宿舍楼
+ @DeleteMapping("/{buildingID}")
+ public void deleteBuilding(@PathVariable int buildingID) {
+ buildingService.deleteBuildingById(buildingID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/ClassController.java b/database/database/src/main/java/com/studentmanagement/operation/ClassController.java
new file mode 100644
index 0000000..a9bc876
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/ClassController.java
@@ -0,0 +1,36 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.classes;
+import com.studentmanagement.service.ClassService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/classes")
+public class ClassController {
+
+ @Autowired
+ private ClassService classService;
+
+ // 获取所有班级
+ @GetMapping
+ public List getAllClasses() {
+ return classService.getAllClasses();
+ }
+
+ // 根据班级ID获取班级
+ @GetMapping("/{classID}")
+ public Optional getClassById(@PathVariable int classID) {
+ return classService.getClassById(classID);
+ }
+
+ // 创建或更新班级
+ @PostMapping
+ public classes saveClass(@RequestBody classes classObj) {
+ return classService.saveClass(classObj);
+ }
+
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/DormitoryController.java b/database/database/src/main/java/com/studentmanagement/operation/DormitoryController.java
new file mode 100644
index 0000000..26ee93c
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/DormitoryController.java
@@ -0,0 +1,41 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.dormitory;
+import com.studentmanagement.service.DormitoryService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/dormitories")
+public class DormitoryController {
+
+ @Autowired
+ private DormitoryService dormitoryService;
+
+ // 获取所有宿舍
+ @GetMapping
+ public List getAllDormitories() {
+ return dormitoryService.getAllDormitories();
+ }
+
+ // 根据宿舍ID获取宿舍
+ @GetMapping("/{dormitoryID}")
+ public Optional getDormitoryById(@PathVariable int dormitoryID) {
+ return dormitoryService.getDormitoryById(dormitoryID);
+ }
+
+ // 创建或更新宿舍
+ @PostMapping
+ public dormitory saveDormitory(@RequestBody dormitory dormitory) {
+ return dormitoryService.saveDormitory(dormitory);
+ }
+
+ // 删除宿舍
+ @DeleteMapping("/{dormitoryID}")
+ public void deleteDormitory(@PathVariable int dormitoryID) {
+ dormitoryService.deleteDormitoryById(dormitoryID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/EnergyConsumptionController.java b/database/database/src/main/java/com/studentmanagement/operation/EnergyConsumptionController.java
new file mode 100644
index 0000000..b8b6df9
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/EnergyConsumptionController.java
@@ -0,0 +1,34 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.EnergyConsumptions;
+import com.studentmanagement.service.EnergyConsumptionService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+@RestController
+@RequestMapping("/energy-consumptions")
+public class EnergyConsumptionController {
+
+ @Autowired
+ private EnergyConsumptionService energyConsumptionService;
+
+ // 根据宿舍ID获取能源消耗记录
+ @GetMapping("/dormitory/{dormitoryID}")
+ public List getEnergyConsumptionByDormitoryID(@PathVariable int dormitoryID) {
+ return energyConsumptionService.getAllEnergyConsumptions(dormitoryID);
+ }
+
+ // 创建或更新能源消耗记录
+ @PostMapping
+ public EnergyConsumptions saveEnergyConsumption(@RequestBody EnergyConsumptions energyConsumption) {
+ return energyConsumptionService.saveEnergyConsumption(energyConsumption);
+ }
+
+ // 删除能源消耗记录
+ @DeleteMapping("/{dormitoryID}")
+ public void deleteEnergyConsumption(@PathVariable int dormitoryID) {
+ energyConsumptionService.deleteEnergyConsumptionByDormitoryID(dormitoryID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/HealthInspectionController.java b/database/database/src/main/java/com/studentmanagement/operation/HealthInspectionController.java
new file mode 100644
index 0000000..36acaff
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/HealthInspectionController.java
@@ -0,0 +1,35 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.HealthInspections;
+import com.studentmanagement.service.HealthInspectionService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/health-inspections")
+public class HealthInspectionController {
+
+ @Autowired
+ private HealthInspectionService healthInspectionService;
+
+ // 获取所有卫生检查记录
+ @GetMapping
+ public List getAllHealthInspections() {
+ return healthInspectionService.getAllHealthInspections();
+ }
+
+ // 根据宿舍ID获取卫生检查记录
+ @GetMapping("/dormitory/{dormitoryID}")
+ public List getHealthInspectionsByDormitoryID(@PathVariable int dormitoryID) {
+ return healthInspectionService.getHealthInspectionsByDormitoryID(dormitoryID);
+ }
+
+ // 创建或更新卫生检查记录
+ @PostMapping
+ public HealthInspections saveHealthInspection(@RequestBody HealthInspections healthInspection) {
+ return healthInspectionService.saveHealthInspection(healthInspection);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/MaintenanceRecordController.java b/database/database/src/main/java/com/studentmanagement/operation/MaintenanceRecordController.java
new file mode 100644
index 0000000..af0b67e
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/MaintenanceRecordController.java
@@ -0,0 +1,43 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.MaintenanceRecords;
+import com.studentmanagement.service.MaintenanceRecordService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/maintenance-records")
+public class MaintenanceRecordController {
+
+ @Autowired
+ private MaintenanceRecordService maintenanceRecordService;
+
+ // 获取所有维修记录
+ @GetMapping
+ public List getAllMaintenanceRecords() {
+ return maintenanceRecordService.getAllMaintenanceRecords();
+ }
+
+ // 根据维修记录ID获取维修记录
+ @GetMapping("/{dormitoryID}/{repairTime}")
+ public Optional getMaintenanceRecordById(
+ @PathVariable int dormitoryID) {
+ return maintenanceRecordService.getMaintenanceRecordById(dormitoryID);
+ }
+
+ // 创建或更新维修记录
+ @PostMapping
+ public MaintenanceRecords saveMaintenanceRecord(@RequestBody MaintenanceRecords maintenanceRecord) {
+ return maintenanceRecordService.saveMaintenanceRecord(maintenanceRecord);
+ }
+
+ // 删除维修记录
+ @DeleteMapping("/{dormitoryID}/{repairTime}")
+ public void deleteMaintenanceRecord(
+ @PathVariable int dormitoryID) {
+ maintenanceRecordService.deleteMaintenanceRecordById(dormitoryID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/SafetyInspectionController.java b/database/database/src/main/java/com/studentmanagement/operation/SafetyInspectionController.java
new file mode 100644
index 0000000..a18ab43
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/SafetyInspectionController.java
@@ -0,0 +1,35 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.SafetyInspections;
+import com.studentmanagement.service.SafetyInspectionService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/safety-inspections")
+public class SafetyInspectionController {
+
+ @Autowired
+ private SafetyInspectionService safetyInspectionService;
+
+ // 获取所有安全检查记录
+ @GetMapping
+ public List getAllSafetyInspections() {
+ return safetyInspectionService.getAllSafetyInspections();
+ }
+
+ // 根据宿舍ID获取安全检查记录
+ @GetMapping("/dormitory/{dormitoryID}")
+ public List getSafetyInspectionsByDormitoryID(@PathVariable int dormitoryID) {
+ return safetyInspectionService.getSafetyInspectionsByDormitoryID(dormitoryID);
+ }
+
+ // 创建或更新安全检查记录
+ @PostMapping
+ public SafetyInspections saveSafetyInspection(@RequestBody SafetyInspections safetyInspection) {
+ return safetyInspectionService.saveSafetyInspection(safetyInspection);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/SimpleDormitoryManagement.java b/database/database/src/main/java/com/studentmanagement/operation/SimpleDormitoryManagement.java
new file mode 100644
index 0000000..32a4d3a
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/SimpleDormitoryManagement.java
@@ -0,0 +1,225 @@
+package com.studentmanagement.operation;
+
+import javax.swing.*;
+import javax.swing.table.DefaultTableModel;
+import java.awt.*;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.sql.*;
+import java.util.Vector;
+
+public class SimpleDormitoryManagement {
+ private static Connection connection;
+
+ public static void main(String[] args) {
+ // 连接数据库
+ connectToDatabase();
+
+ // 创建主窗口
+ JFrame frame = new JFrame("宿舍管理系统");
+ frame.setSize(800, 600);
+ frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+
+ // 表格展示区域
+ JTable table = new JTable();
+ JScrollPane scrollPane = new JScrollPane(table);
+ frame.add(scrollPane, BorderLayout.CENTER);
+
+ // 按钮操作区域
+ JPanel buttonPanel = new JPanel();
+ JButton addButton = new JButton("添加");
+ JButton updateButton = new JButton("修改");
+ JButton deleteButton = new JButton("删除");
+ JButton refreshButton = new JButton("刷新");
+
+ buttonPanel.add(addButton);
+ buttonPanel.add(updateButton);
+ buttonPanel.add(deleteButton);
+ buttonPanel.add(refreshButton);
+ frame.add(buttonPanel, BorderLayout.SOUTH);
+
+ // 刷新表格数据
+ refreshTableData(table);
+
+ // 添加按钮功能
+ addButton.addActionListener(e -> showAddDialog(frame, table));
+
+ // 修改按钮功能
+ updateButton.addActionListener(e -> showUpdateDialog(frame, table));
+
+ // 删除按钮功能
+ deleteButton.addActionListener(e -> deleteSelectedRow(frame, table));
+
+ // 刷新按钮功能
+ refreshButton.addActionListener(e -> refreshTableData(table));
+
+ // 显示窗口
+ frame.setVisible(true);
+ }
+
+ private static void connectToDatabase() {
+ try {
+ // 使用你的数据库配置
+ String url = "jdbc:mysql://localhost:3306/dormitory"; // 数据库 URL
+ String user = "zbl"; // 数据库用户名
+ String password = "123456"; // 数据库密码
+ connection = DriverManager.getConnection(url, user, password);
+ } catch (SQLException e) {
+ e.printStackTrace();
+ JOptionPane.showMessageDialog(null, "无法连接到数据库!", "错误", JOptionPane.ERROR_MESSAGE);
+ System.exit(1);
+ }
+ }
+
+ private static void refreshTableData(JTable table) {
+ try {
+ String query = "SELECT * FROM students"; // 假设要显示的表是 students
+ Statement statement = connection.createStatement();
+ ResultSet resultSet = statement.executeQuery(query);
+
+ // 获取元数据
+ ResultSetMetaData metaData = resultSet.getMetaData();
+ int columnCount = metaData.getColumnCount();
+
+ // 构建表头
+ Vector columnNames = new Vector<>();
+ for (int i = 1; i <= columnCount; i++) {
+ columnNames.add(metaData.getColumnName(i));
+ }
+
+ // 构建数据
+ Vector> data = new Vector<>();
+ while (resultSet.next()) {
+ Vector row = new Vector<>();
+ for (int i = 1; i <= columnCount; i++) {
+ row.add(resultSet.getObject(i));
+ }
+ data.add(row);
+ }
+
+ // 设置表模型
+ DefaultTableModel model = new DefaultTableModel(data, columnNames);
+ table.setModel(model);
+
+ } catch (SQLException e) {
+ e.printStackTrace();
+ JOptionPane.showMessageDialog(null, "无法加载数据!", "错误", JOptionPane.ERROR_MESSAGE);
+ }
+ }
+
+ private static void showAddDialog(JFrame parent, JTable table) {
+ JTextField nameField = new JTextField(40);
+ JTextField genderField = new JTextField(40);
+ JTextField classIDField = new JTextField(40);
+ JTextField dormitoryIDField = new JTextField(40);
+ JTextField StudentIDField = new JTextField(40);
+ JPanel panel = new JPanel(new GridLayout(5, 2));
+ panel.add(new JLabel("学号:"));
+ panel.add(StudentIDField);
+ panel.add(new JLabel("姓名:"));
+ panel.add(nameField);
+ panel.add(new JLabel("性别:"));
+ panel.add(genderField);
+ panel.add(new JLabel("班级ID:"));
+ panel.add(classIDField);
+ panel.add(new JLabel("宿舍ID:"));
+ panel.add(dormitoryIDField);
+
+
+ int result = JOptionPane.showConfirmDialog(parent, panel, "添加学生", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
+ if (result == JOptionPane.OK_OPTION) {
+ try {
+ String query = "INSERT INTO students (StudentID,Name, Gender, ClassID, DormitoryID) VALUES (?, ?, ?, ?, ?)";
+ PreparedStatement statement = connection.prepareStatement(query);
+ statement.setString(1, StudentIDField.getText());
+ statement.setString(2, nameField.getText());
+ statement.setString(3, genderField.getText());
+ statement.setInt(4, Integer.parseInt(classIDField.getText()));
+ statement.setInt(5, Integer.parseInt(dormitoryIDField.getText()));
+ statement.executeUpdate();
+
+ refreshTableData(table);
+ JOptionPane.showMessageDialog(parent, "添加成功!");
+ } catch (SQLException e) {
+ e.printStackTrace();
+ JOptionPane.showMessageDialog(parent, "添加失败!", "错误", JOptionPane.ERROR_MESSAGE);
+ }
+ }
+ }
+
+ private static void showUpdateDialog(JFrame parent, JTable table) {
+ int selectedRow = table.getSelectedRow();
+ if (selectedRow == -1) {
+ JOptionPane.showMessageDialog(parent, "请先选择一行!", "错误", JOptionPane.WARNING_MESSAGE);
+ return;
+ }
+
+ int studentID = (int) table.getValueAt(selectedRow, 0);
+ String name = (String) table.getValueAt(selectedRow, 1);
+ String gender = (String) table.getValueAt(selectedRow, 2);
+ int classID = (int) table.getValueAt(selectedRow, 3);
+ int dormitoryID = (int) table.getValueAt(selectedRow, 4);
+
+ JTextField StudentIDField = new JTextField(studentID);
+ JTextField nameField = new JTextField(name, 20);
+ JTextField genderField = new JTextField(gender, 5);
+ JTextField classIDField = new JTextField(String.valueOf(classID), 5);
+ JTextField dormitoryIDField = new JTextField(String.valueOf(dormitoryID), 5);
+
+ JPanel panel = new JPanel(new GridLayout(5, 2));
+ panel.add(new JLabel("姓名:"));
+ panel.add(nameField);
+ panel.add(new JLabel("性别:"));
+ panel.add(genderField);
+ panel.add(new JLabel("班级ID:"));
+ panel.add(classIDField);
+ panel.add(new JLabel("宿舍ID:"));
+ panel.add(dormitoryIDField);
+
+ int result = JOptionPane.showConfirmDialog(parent, panel, "修改学生", JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
+ if (result == JOptionPane.OK_OPTION) {
+ try {
+ String query = "UPDATE students SET Name = ?, Gender = ?, ClassID = ?, DormitoryID = ? WHERE StudentID = ?";
+ PreparedStatement statement = connection.prepareStatement(query);
+ statement.setString(1, nameField.getText());
+ statement.setString(2, genderField.getText());
+ statement.setInt(3, Integer.parseInt(classIDField.getText()));
+ statement.setInt(4, Integer.parseInt(dormitoryIDField.getText()));
+ statement.setInt(5, studentID);
+ statement.executeUpdate();
+
+ refreshTableData(table);
+ JOptionPane.showMessageDialog(parent, "修改成功!");
+ } catch (SQLException e) {
+ e.printStackTrace();
+ JOptionPane.showMessageDialog(parent, "修改失败!", "错误", JOptionPane.ERROR_MESSAGE);
+ }
+ }
+ }
+
+ private static void deleteSelectedRow(JFrame parent, JTable table) {
+ int selectedRow = table.getSelectedRow();
+ if (selectedRow == -1) {
+ JOptionPane.showMessageDialog(parent, "请先选择一行!", "错误", JOptionPane.WARNING_MESSAGE);
+ return;
+ }
+
+ int studentID = (int) table.getValueAt(selectedRow, 0);
+
+ int result = JOptionPane.showConfirmDialog(parent, "确定要删除选中的学生吗?", "删除学生", JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
+ if (result == JOptionPane.YES_OPTION) {
+ try {
+ String query = "DELETE FROM students WHERE StudentID = ?";
+ PreparedStatement statement = connection.prepareStatement(query);
+ statement.setInt(1, studentID);
+ statement.executeUpdate();
+
+ refreshTableData(table);
+ JOptionPane.showMessageDialog(parent, "删除成功!");
+ } catch (SQLException e) {
+ e.printStackTrace();
+ JOptionPane.showMessageDialog(parent, "删除失败!", "错误", JOptionPane.ERROR_MESSAGE);
+ }
+ }
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/StudentController.java b/database/database/src/main/java/com/studentmanagement/operation/StudentController.java
new file mode 100644
index 0000000..25bed6a
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/StudentController.java
@@ -0,0 +1,53 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.student;
+import com.studentmanagement.service.StudentService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/students")
+public class StudentController {
+
+ @Autowired
+ private StudentService studentService;
+
+ // 获取所有学生
+ @GetMapping
+ public List getAllStudents() {
+ return studentService.getAllStudents();
+ }
+
+ // 根据班级ID获取学生
+ @GetMapping("/class/{classID}")
+ public List getStudentsByClassID(@PathVariable int classID) {
+ return studentService.getStudentsByClassID(classID);
+ }
+
+ // 根据性别获取学生
+ @GetMapping("/gender/{gender}")
+ public List getStudentsByGender(@PathVariable char gender) {
+ return studentService.getStudentsByGender(gender);
+ }
+
+ // 根据学生ID获取学生
+ @GetMapping("/{studentID}")
+ public Optional getStudentById(@PathVariable int studentID) {
+ return studentService.getStudentById(studentID);
+ }
+
+ // 创建或更新学生
+ @PostMapping
+ public student saveStudent(@RequestBody student student) {
+ return studentService.saveStudent(student);
+ }
+
+ // 删除学生
+ @DeleteMapping("/{studentID}")
+ public void deleteStudent(@PathVariable int studentID) {
+ studentService.deleteStudentById(studentID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/operation/TakeoutController.java b/database/database/src/main/java/com/studentmanagement/operation/TakeoutController.java
new file mode 100644
index 0000000..ada864b
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/operation/TakeoutController.java
@@ -0,0 +1,36 @@
+package com.studentmanagement.operation;
+
+import com.studentmanagement.model.Takeouts;
+import com.studentmanagement.service.TakeoutsService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+import java.util.Optional;
+
+@RestController
+@RequestMapping("/takeouts")
+public class TakeoutController {
+
+ @Autowired
+ private TakeoutsService takeoutService;
+
+ // 获取所有外卖记录
+ @GetMapping
+ public List getAllTakeouts() {
+ return takeoutService.getAllTakeouts();
+ }
+
+ // 根据宿舍ID获取外卖记录
+ @GetMapping("/dormitory/{dormitoryID}")
+ public List getTakeoutsByDormitoryID(@PathVariable int dormitoryID) {
+ return takeoutService.getTakeoutsByDormitoryID(dormitoryID);
+ }
+
+ // 创建或更新外卖记录
+ @PostMapping
+ public Takeouts saveTakeout(@RequestBody Takeouts takeout) {
+ return takeoutService.saveTakeout(takeout);
+ }
+}
+
diff --git a/database/database/src/main/java/com/studentmanagement/service/AccommodationRecordService.java b/database/database/src/main/java/com/studentmanagement/service/AccommodationRecordService.java
new file mode 100644
index 0000000..80672c1
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/AccommodationRecordService.java
@@ -0,0 +1,44 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.accommodationRecords;
+import com.studentmanagement.AccommodationRecordsRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+public class AccommodationRecordService {
+
+ @Autowired
+ private AccommodationRecordsRepository accommodationRecordRepository;
+
+ // 保存或更新住宿记录
+ public accommodationRecords saveAccommodationRecord(accommodationRecords accommodationRecord) {
+ return accommodationRecordRepository.save(accommodationRecord);
+ }
+
+ // 获取所有住宿记录
+ public List getAllAccommodationRecords() {
+ return accommodationRecordRepository.findAll();
+ }
+
+ // 根据学生ID查询住宿记录
+ public List getAccommodationRecordsByStudentID(int studentID) {
+ return accommodationRecordRepository.findByStudentID(studentID);
+ }
+
+ // 根据宿舍ID查询住宿记录
+ public List getAccommodationRecordsByDormitoryID(int dormitoryID) {
+ return accommodationRecordRepository.findByDormitoryID(dormitoryID);
+ }
+
+ // 根据状态查询住宿记录
+ public List getAccommodationRecordsByStatus(boolean status) {
+ return accommodationRecordRepository.findByStatus(status);
+ }
+
+ public List getAccommodationRecordByStudentAndDormitory(int dormitoryID) {
+ return accommodationRecordRepository.findByDormitoryID(dormitoryID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/service/BuildingService.java b/database/database/src/main/java/com/studentmanagement/service/BuildingService.java
new file mode 100644
index 0000000..a577308
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/BuildingService.java
@@ -0,0 +1,37 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.buildings;
+import com.studentmanagement.BuildingsRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+import java.util.Optional;
+
+@Service
+public class BuildingService {
+
+ @Autowired
+ private BuildingsRepository buildingRepository;
+
+ // 保存或更新建筑物
+ public buildings saveBuilding(buildings building) {
+ return buildingRepository.save(building);
+ }
+
+ // 获取所有建筑物
+ public List getAllBuildings() {
+ return buildingRepository.findAll();
+ }
+
+ // 根据建筑物ID查询
+ public Optional getBuildingById(int buildingID) {
+ return buildingRepository.findById(buildingID);
+ }
+
+ // 删除建筑物
+ public void deleteBuildingById(int buildingID) {
+ buildingRepository.deleteById(buildingID);
+ }
+}
+
diff --git a/database/database/src/main/java/com/studentmanagement/service/ClassService.java b/database/database/src/main/java/com/studentmanagement/service/ClassService.java
new file mode 100644
index 0000000..76faccd
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/ClassService.java
@@ -0,0 +1,37 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.classes;
+import com.studentmanagement.ClassesRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+import java.util.Optional;
+
+@Service
+public class ClassService {
+
+ @Autowired
+ private ClassesRepository classesRepository;
+
+ // 保存或更新班级
+ public classes saveClass(classes aClass) {
+ return classesRepository.save(aClass);
+ }
+
+ // 获取所有班级
+ public List getAllClasses() {
+ return classesRepository.findAll();
+ }
+
+ // 根据班级ID查询班级
+ public Optional getClassById(int classID) {
+ return classesRepository.findById(classID);
+ }
+
+ // 根据班级名称查询
+ public Optional getClassByName(String name) {
+ return classesRepository.findByName(name);
+ }
+
+}
diff --git a/database/database/src/main/java/com/studentmanagement/service/DormitoryService.java b/database/database/src/main/java/com/studentmanagement/service/DormitoryService.java
new file mode 100644
index 0000000..d440be8
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/DormitoryService.java
@@ -0,0 +1,51 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.dormitory;
+import com.studentmanagement.DormitoryRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+import java.util.Optional;
+
+@Service
+public class DormitoryService {
+
+ @Autowired
+ private DormitoryRepository dormitoryRepository;
+
+ // 保存或更新宿舍
+ public dormitory saveDormitory(dormitory dormitory) {
+ return dormitoryRepository.save(dormitory);
+ }
+
+ // 获取所有宿舍
+ public List getAllDormitories() {
+ return dormitoryRepository.findAll();
+ }
+
+ // 根据宿舍ID查询宿舍
+ public Optional getDormitoryById(int dormitoryID) {
+ return dormitoryRepository.findById(dormitoryID);
+ }
+
+ // 根据建筑ID查询宿舍
+ public List getDormitoriesByBuildingID(int buildingID) {
+ return dormitoryRepository.findByBuildingID(buildingID);
+ }
+
+ // 根据班级ID查询宿舍
+ public List getDormitoriesByClassID(int classID) {
+ return dormitoryRepository.findByClassID(classID);
+ }
+
+ // 根据宿舍人数查询
+ public List getDormitoriesByOccupants(int occupants) {
+ return dormitoryRepository.findByOccupantsGreaterThan(occupants);
+ }
+
+ // 删除宿舍
+ public void deleteDormitoryById(int dormitoryID) {
+ dormitoryRepository.deleteById(dormitoryID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/service/EnergyConsumptionService.java b/database/database/src/main/java/com/studentmanagement/service/EnergyConsumptionService.java
new file mode 100644
index 0000000..2a3c7b8
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/EnergyConsumptionService.java
@@ -0,0 +1,35 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.EnergyConsumptions;
+import com.studentmanagement.EnergyConsumptionsRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+public class EnergyConsumptionService {
+
+ @Autowired
+ private EnergyConsumptionsRepository energyConsumptionRepository;
+
+ // 保存或更新能源消耗记录
+ public EnergyConsumptions saveEnergyConsumption(EnergyConsumptions energyConsumption) {
+ return energyConsumptionRepository.save(energyConsumption);
+ }
+
+ // 获取所有能源消耗记录
+ public List getAllEnergyConsumptions(int dormitoryID) {
+ return energyConsumptionRepository.findAll();
+ }
+
+ // 根据宿舍ID查询能源消耗记录
+ public List getEnergyConsumptionsByDormitoryID(int dormitoryID) {
+ return energyConsumptionRepository.findByDormitoryID(dormitoryID);
+ }
+
+ // 删除能源消耗记录
+ public void deleteEnergyConsumptionByDormitoryID(int dormitoryID) {
+ energyConsumptionRepository.deleteById(dormitoryID);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/service/HealthInspectionService.java b/database/database/src/main/java/com/studentmanagement/service/HealthInspectionService.java
new file mode 100644
index 0000000..8609bba
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/HealthInspectionService.java
@@ -0,0 +1,35 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.HealthInspections;
+import com.studentmanagement.HealthInspectionsRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+public class HealthInspectionService {
+
+ @Autowired
+ private HealthInspectionsRepository healthInspectionRepository;
+
+ // 保存或更新健康检查记录
+ public HealthInspections saveHealthInspection(HealthInspections healthInspection) {
+ return healthInspectionRepository.save(healthInspection);
+ }
+
+ // 获取所有健康检查记录
+ public List getAllHealthInspections() {
+ return healthInspectionRepository.findAll();
+ }
+
+ // 根据宿舍ID查询健康检查记录
+ public List getHealthInspectionsByDormitoryID(int dormitoryID) {
+ return healthInspectionRepository.findByDormitoryID(dormitoryID);
+ }
+
+ // 根据评分查询健康检查记录
+ public List getHealthInspectionsByRating(int rating) {
+ return healthInspectionRepository.findByRating(rating);
+ }
+}
\ No newline at end of file
diff --git a/database/database/src/main/java/com/studentmanagement/service/MaintenanceRecordService.java b/database/database/src/main/java/com/studentmanagement/service/MaintenanceRecordService.java
new file mode 100644
index 0000000..af4cd73
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/MaintenanceRecordService.java
@@ -0,0 +1,41 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.MaintenanceRecords;
+import com.studentmanagement.MaintenanceRecordsRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+import java.util.Optional;
+
+@Service
+public class MaintenanceRecordService {
+
+ @Autowired
+ private MaintenanceRecordsRepository maintenanceRecordRepository;
+
+ // 保存或更新维修记录
+ public MaintenanceRecords saveMaintenanceRecord(MaintenanceRecords maintenanceRecord) {
+ return maintenanceRecordRepository.save(maintenanceRecord);
+ }
+
+ // 获取所有维修记录
+ public List getAllMaintenanceRecords() {
+ return maintenanceRecordRepository.findAll();
+ }
+
+ // 根据维修记录ID查询维修记录
+ public Optional getMaintenanceRecordById(int dormitoryID) {
+ return maintenanceRecordRepository.findById(dormitoryID);
+ }
+
+ // 根据宿舍ID删除维修记录
+ public void deleteMaintenanceRecordById(int dormitoryID) {
+ maintenanceRecordRepository.deleteById(dormitoryID);
+ }
+
+ // 删除维修记录
+ public void deleteMaintenanceRecord(MaintenanceRecords maintenanceRecord) {
+ maintenanceRecordRepository.delete(maintenanceRecord);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/service/SafetyInspectionService.java b/database/database/src/main/java/com/studentmanagement/service/SafetyInspectionService.java
new file mode 100644
index 0000000..487cee9
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/SafetyInspectionService.java
@@ -0,0 +1,35 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.SafetyInspections;
+import com.studentmanagement.SafetyInspectionsRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+public class SafetyInspectionService {
+
+ @Autowired
+ private SafetyInspectionsRepository safetyInspectionRepository;
+
+ // 保存或更新安全检查记录
+ public SafetyInspections saveSafetyInspection(SafetyInspections safetyInspection) {
+ return safetyInspectionRepository.save(safetyInspection);
+ }
+
+ // 获取所有安全检查记录
+ public List getAllSafetyInspections() {
+ return safetyInspectionRepository.findAll();
+ }
+
+ // 根据宿舍ID查询安全检查记录
+ public List getSafetyInspectionsByDormitoryID(int dormitoryID) {
+ return safetyInspectionRepository.findByDormitoryID(dormitoryID);
+ }
+
+ // 根据检查员查询安全检查记录
+ public List getSafetyInspectionsByInspector(String inspector) {
+ return safetyInspectionRepository.findByInspector(inspector);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/service/StudentService.java b/database/database/src/main/java/com/studentmanagement/service/StudentService.java
new file mode 100644
index 0000000..5887bc0
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/StudentService.java
@@ -0,0 +1,58 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.student;
+import com.studentmanagement.StudentRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+import java.util.Optional;
+
+@Service
+public class StudentService {
+
+ @Autowired
+ private StudentRepository studentRepository;
+
+ // 保存或更新学生
+ public student saveStudent(student student) {
+ return (com.studentmanagement.model.student) studentRepository.save(student);
+ }
+
+ // 获取所有学生
+ public List getAllStudents() {
+ return studentRepository.findAll();
+ }
+
+ // 根据班级ID查询学生
+ public List getStudentsByClassID(int classID) {
+ return studentRepository.findByClassID(classID);
+ }
+
+ // 根据性别查询学生
+ public List getStudentsByGender(char gender) {
+ return studentRepository.findByGender(gender);
+ }
+
+ // 根据学生ID查询学生
+ public Optional getStudentById(int studentID) {
+ return studentRepository.findById(studentID);
+ }
+
+ // 删除学生
+ public void deleteStudentById(int studentID) {
+ studentRepository.deleteById(studentID);
+ }
+
+ public List getAllStudentAsObject() {
+ return studentRepository.findAll();
+ }
+
+ public void addStudent(student student) {
+ studentRepository.save(student);
+ }
+
+ public List getstudentByname(String nameText) {
+ return studentRepository.findByName(nameText);
+ }
+}
diff --git a/database/database/src/main/java/com/studentmanagement/service/TakeoutsService.java b/database/database/src/main/java/com/studentmanagement/service/TakeoutsService.java
new file mode 100644
index 0000000..fd33188
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/service/TakeoutsService.java
@@ -0,0 +1,41 @@
+package com.studentmanagement.service;
+
+import com.studentmanagement.model.Takeouts;
+import com.studentmanagement.TakeoutsRepository;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+public class TakeoutsService {
+
+ @Autowired
+ private TakeoutsRepository takeoutRepository;
+
+ // 保存或更新外卖记录
+ public Takeouts saveTakeout(Takeouts takeout) {
+ return takeoutRepository.save(takeout);
+ }
+
+ // 获取所有外卖记录
+ public List getAllTakeouts() {
+ return takeoutRepository.findAll();
+ }
+
+ // 根据宿舍ID查询外卖记录
+ public List getTakeoutsByDormitoryID(int dormitoryID) {
+ return takeoutRepository.findByDormitoryID(dormitoryID);
+ }
+
+ // 根据外卖状态查询外卖记录
+ public List getTakeoutsByStatus(boolean status) {
+ return takeoutRepository.findByStatus(status);
+ }
+
+ // 根据送达时间查询外卖记录
+ public List getTakeoutsByDeliveryTimeBetween(String startTime, String endTime) {
+ return takeoutRepository.findByDeliveryTimeBetween(startTime, endTime);
+ }
+
+}
diff --git a/database/database/src/main/java/com/studentmanagement/util/HibernateUtil.java b/database/database/src/main/java/com/studentmanagement/util/HibernateUtil.java
new file mode 100644
index 0000000..1e11777
--- /dev/null
+++ b/database/database/src/main/java/com/studentmanagement/util/HibernateUtil.java
@@ -0,0 +1,37 @@
+package com.studentmanagement.util;
+
+import com.studentmanagement.model.*;
+import org.hibernate.SessionFactory;
+import org.hibernate.cfg.Configuration;
+
+public class HibernateUtil {
+
+ private static final SessionFactory sessionFactory;
+
+ static {
+ try {
+ sessionFactory = new Configuration()
+ .configure("hibernate.cfg.xml") // 配置文件路径
+ .addAnnotatedClass(student.class) // 添加实体类
+ .addAnnotatedClass(classes.class)
+ .addAnnotatedClass(dormitory.class)
+ .addAnnotatedClass(Takeouts.class)
+ .addAnnotatedClass(SafetyInspections.class)
+ .addAnnotatedClass(MaintenanceRecords.class)
+ .addAnnotatedClass(HealthInspections.class)
+ .addAnnotatedClass(EnergyConsumptions.class)
+ // 添加所有的实体类
+ .buildSessionFactory();
+ } catch (Throwable ex) {
+ throw new ExceptionInInitializerError(ex);
+ }
+ }
+
+ public static SessionFactory getSessionFactory() {
+ return sessionFactory;
+ }
+
+ public static void shutdown() {
+ getSessionFactory().close();
+ }
+}
diff --git a/database/database/src/main/resources/application.properties b/database/database/src/main/resources/application.properties
new file mode 100644
index 0000000..553d7fe
--- /dev/null
+++ b/database/database/src/main/resources/application.properties
@@ -0,0 +1,13 @@
+# ???????
+spring.datasource.url=jdbc:mysql://localhost:3306/dormitory?useSSL=false&serverTimezone=UTC
+spring.datasource.username=zbl
+spring.datasource.password=123456
+spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+
+# JPA ??
+spring.jpa.hibernate.ddl-auto=update
+spring.jpa.show-sql=true
+spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
+
+# Spring Boot ??
+server.port=8080
diff --git a/database/database/src/main/resources/hibernate.cfg.xml b/database/database/src/main/resources/hibernate.cfg.xml
new file mode 100644
index 0000000..ccefb1a
--- /dev/null
+++ b/database/database/src/main/resources/hibernate.cfg.xml
@@ -0,0 +1,25 @@
+
+
+
+
+ jdbc:mysql://localhost:3306/zbl?useSSL=false&serverTimezone=UTC
+ com.mysql.cj.jdbc.Driver
+ root
+ your_password
+
+
+ org.hibernate.dialect.MySQL8Dialect
+
+
+ thread
+
+
+ true
+
+
+ update
+
+
+ org.hibernate.cache.NoCacheProvider
+
+