diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml index d636674..c52cbbf 100644 --- a/.idea/dataSources.xml +++ b/.idea/dataSources.xml @@ -1,18 +1,13 @@ - - mysql + + mysql.8 true - com.mysql.jdbc.Driver - jdbc:mysql://localhost:3306/trip_Web_db + com.mysql.cj.jdbc.Driver + jdbc:mysql://localhost:3306/ - - - - - diff --git a/.idea/dataSources/e4c2a095-cbdb-49f3-8edc-dc7eb3b02c29.xml b/.idea/dataSources/e4c2a095-cbdb-49f3-8edc-dc7eb3b02c29.xml index d66bb1c..9d4f874 100644 --- a/.idea/dataSources/e4c2a095-cbdb-49f3-8edc-dc7eb3b02c29.xml +++ b/.idea/dataSources/e4c2a095-cbdb-49f3-8edc-dc7eb3b02c29.xml @@ -1,677 +1,761 @@ - + - + + 8.0.11 + |root||jermaine||ALTER|G +|root||root|localhost|ALTER|G +|root||jermaine||ALTER ROUTINE|G +|root||root|localhost|ALTER ROUTINE|G +|root||root|localhost|BACKUP_ADMIN|G +|root||root|localhost|BINLOG_ADMIN|G +|root||root|localhost|CONNECTION_ADMIN|G +|root||jermaine||CREATE|G +|root||root|localhost|CREATE|G +|root||root|localhost|CREATE ROLE|G +|root||jermaine||CREATE ROUTINE|G +|root||root|localhost|CREATE ROUTINE|G +|root||jermaine||CREATE TABLESPACE|G +|root||root|localhost|CREATE TABLESPACE|G +|root||jermaine||CREATE TEMPORARY TABLES|G +|root||root|localhost|CREATE TEMPORARY TABLES|G +|root||jermaine||CREATE USER|G +|root||root|localhost|CREATE USER|G +|root||jermaine||CREATE VIEW|G +|root||root|localhost|CREATE VIEW|G +|root||jermaine||DELETE|G +|root||root|localhost|DELETE|G +|root||jermaine||DROP|G +|root||root|localhost|DROP|G +|root||root|localhost|DROP ROLE|G +|root||root|localhost|ENCRYPTION_KEY_ADMIN|G +|root||jermaine||EVENT|G +|root||root|localhost|EVENT|G +|root||jermaine||EXECUTE|G +|root||root|localhost|EXECUTE|G +|root||jermaine||FILE|G +|root||root|localhost|FILE|G +|root||root|localhost|GROUP_REPLICATION_ADMIN|G +|root||jermaine||INDEX|G +|root||root|localhost|INDEX|G +|root||jermaine||INSERT|G +|root||root|localhost|INSERT|G +|root||jermaine||LOCK TABLES|G +|root||root|localhost|LOCK TABLES|G +|root||root|localhost|PERSIST_RO_VARIABLES_ADMIN|G +|root||jermaine||PROCESS|G +|root||root|localhost|PROCESS|G +|root||jermaine||REFERENCES|G +|root||root|localhost|REFERENCES|G +|root||jermaine||RELOAD|G +|root||root|localhost|RELOAD|G +|root||jermaine||REPLICATION CLIENT|G +|root||root|localhost|REPLICATION CLIENT|G +|root||jermaine||REPLICATION SLAVE|G +|root||root|localhost|REPLICATION SLAVE|G +|root||root|localhost|REPLICATION_SLAVE_ADMIN|G +|root||root|localhost|RESOURCE_GROUP_ADMIN|G +|root||root|localhost|RESOURCE_GROUP_USER|G +|root||root|localhost|ROLE_ADMIN|G +|root||jermaine||SELECT|G +|root||mysql.infoschema|localhost|SELECT|G +|root||root|localhost|SELECT|G +|root||root|localhost|SET_USER_ID|G +|root||jermaine||SHOW DATABASES|G +|root||root|localhost|SHOW DATABASES|G +|root||jermaine||SHOW VIEW|G +|root||root|localhost|SHOW VIEW|G +|root||jermaine||SHUTDOWN|G +|root||root|localhost|SHUTDOWN|G +|root||jermaine||SUPER|G +|root||mysql.session|localhost|SUPER|G +|root||root|localhost|SUPER|G +|root||root|localhost|SYSTEM_VARIABLES_ADMIN|G +|root||jermaine||TRIGGER|G +|root||root|localhost|TRIGGER|G +|root||jermaine||UPDATE|G +|root||root|localhost|UPDATE|G +|root||root|localhost|XA_RECOVER_ADMIN|G +|root||jermaine||grant option|G +|root||root|localhost|grant option|G +performance_schema|schema||mysql.session|localhost|SELECT|G +sys|schema||mysql.sys|localhost|TRIGGER|G + InnoDB + InnoDB + lower/lower + + 1 utf8_general_ci - - utf8_general_ci + + utf8mb4_0900_ai_ci - + utf8mb4_0900_ai_ci - + + user|||mysql.session|localhost|SELECT|G utf8mb4_0900_ai_ci - - utf8_general_ci + + utf8mb4_0900_ai_ci - + utf8mb4_0900_ai_ci - + utf8mb4_0900_ai_ci - - 1 - utf8_general_ci + + sys_config|||mysql.sys|localhost|SELECT|G + utf8mb4_0900_ai_ci - - utf8_general_ci + + utf8mb4_general_ci - + + utf8mb4_0900_ai_ci + + 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 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 1 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8 - + utf8mb4 1 - - utf8mb4 - - + utf8mb4 - + utf8mb4 @@ -884,8 +968,23703 @@ utf8mb4 - - utf8mb4 - + + caching_sha2_password + + + localhost + + + localhost + + + localhost + + + localhost + + + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 1 + memory +
+ + 262 + 1 + + + 475 + 1 + + + 187 + 1 + + + 3701 + 1 + + + 376 + 1 + + + 1629 + 1 + + + 2479 + 1 + + + 377 + 1 + + + 544 + 1 + + + 660 + 1 + + + 705 + 1 + + + 677 + 1 + + + 10202 + 1 + + + 2488 + 1 + + + 2996 + 1 + + + 5570 + 1 + + + 818 + 1 + + + 369 + 1 + + + 4174 + 1 + + + 525 + 1 + + + 2301 + 1 + + + 553 + 1 + + + 472 + 1 + + + 4100 + 1 + + + 1435 + 1 + + + 1560 + 1 + + + 1151 + 1 + + + 订单配置表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + 订单表 + utf8mb4_bin +
+ + Column privileges + utf8_bin +
+ + Components + utf8_general_ci +
+ + Database privileges + utf8_bin +
+ + Default roles + utf8_bin +
+ + utf8_general_ci +
+ + User defined functions + utf8_bin +
+ + General log + CSV + utf8_general_ci +
+ + Extended global grants + utf8_bin +
+ +
+ help categories + utf8_general_ci +
+ + help keywords + utf8_general_ci +
+ + keyword-topic relation + utf8_general_ci +
+ + help topics + utf8_general_ci +
+ + utf8_bin +
+ + utf8_bin +
+ + Password history for user accounts + utf8_bin +
+ + MySQL plugins + utf8_general_ci +
+ + Procedure privileges + utf8_bin +
+ + User proxy privileges + utf8_bin +
+ + Role hierarchy and role grants + utf8_bin +
+ + utf8_general_ci +
+ + MySQL Foreign Servers table + utf8_general_ci +
+ + Master Information + utf8_general_ci +
+ + Relay Log Information + utf8_general_ci +
+ + Worker Information + utf8_general_ci +
+ + Slow log + CSV + utf8_general_ci +
+ + Table privileges + utf8_bin +
+ + Time zones + utf8_general_ci +
+ + Leap seconds information for time zones + utf8_general_ci +
+ + Time zone names + utf8_general_ci +
+ + Time zone transitions + utf8_general_ci +
+ + Time zone transition types + utf8_general_ci +
+ + Users and global privileges + utf8_bin +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA + utf8mb4_bin +
+ + PERFORMANCE_SCHEMA + utf8mb4_bin +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + PERFORMANCE_SCHEMA +
+ + 账户表 + utf8mb4_general_ci +
+ + 日程--业务表 + utf8_general_ci +
+ + 排班信息暂存表 + utf8_general_ci +
+ + 岗位-业务表 + utf8_general_ci +
+ + 班组--业务表 + utf8_general_ci +
+ + 数据资源_范围表 + utf8_general_ci +
+ + 数据权限_角色表 + utf8_general_ci +
+ + utf8_general_ci +
+ + 资质 + utf8_general_ci +
+ + 角色 + utf8_general_ci +
+ + 排班规则 + utf8_general_ci +
+ + 日程 + utf8_general_ci +
+ + 岗位 + utf8_general_ci +
+ + 规则岗位 + utf8_general_ci +
+ + (班组下)的岗位 + utf8_general_ci +
+ + 班组 + utf8_general_ci +
+ + 岗位与员工关联 表-业务表 + utf8_general_ci +
+ + 班组岗位关联--业务表 + utf8_general_ci +
+ + 角色与数据权限关联表 + utf8_general_ci +
+ + 关联表_数据权限_角色和组织 + utf8_general_ci +
+ + 全局用户关联 + utf8_general_ci +
+ + 科室班组关联 + utf8_general_ci +
+ + 角色与数据权限关联表 + utf8_general_ci +
+ + 角色资源关联 + utf8_general_ci +
+ + 规则岗位关联 + utf8_general_ci +
+ + 规则班组关联 + utf8_general_ci +
+ + 日程规则关联 + utf8_general_ci +
+ + 岗位资质关联 + utf8_general_ci +
+ + 班组岗位关联 + utf8_general_ci +
+ + 参数配置表 + utf8mb4_general_ci +
+ + 配置参数值管理 + utf8mb4_general_ci +
+ + 数据资源范围表 + utf8_general_ci +
+ + 字典数据表 + utf8mb4_general_ci +
+ + 字典类型表 + utf8mb4_general_ci +
+ + 附件资源信息 + utf8mb4_general_ci +
+ + pss-uat@% + + + 城市代码 + utf8_general_ci +
+ + 部门表 + utf8_general_ci +
+ + 预警时间配置表 + utf8mb4_general_ci +
+ + 航班信息表 + utf8mb4_general_ci +
+ + 航班三字码字典表 + utf8_general_ci +
+ + 特殊旅客信息表 + utf8mb4_general_ci +
+ + 服务工单表 + utf8mb4_general_ci +
+ + 特殊服务类型字典表 + utf8mb4_general_ci +
+ + 系统菜单管理 + utf8_general_ci +
+ + 系统用户与角色对应关系 + utf8_general_ci +
+ + 系统角色 + utf8_general_ci +
+ + 系统角色与菜单对应关系 + utf8_general_ci +
+ + utf8_general_ci +
+ + + 1361 + mysql.sys@localhost + + + 867 + mysql.sys@localhost + + + 1154 + mysql.sys@localhost + + + 1062 + mysql.sys@localhost + + + 1619 + mysql.sys@localhost + + + 1786 + mysql.sys@localhost + + + 754 + mysql.sys@localhost + + + 846 + mysql.sys@localhost + + + 2174 + mysql.sys@localhost + + + 1729 + mysql.sys@localhost + + + 1588 + mysql.sys@localhost + + + 953 + mysql.sys@localhost + + + 2004 + mysql.sys@localhost + + + 1925 + mysql.sys@localhost + + + 1334 + mysql.sys@localhost + + + 1297 + mysql.sys@localhost + + + 1009 + mysql.sys@localhost + + + 1297 + mysql.sys@localhost + + + 1281 + mysql.sys@localhost + + + 208 + mysql.sys@localhost + + + 3475 + mysql.sys@localhost + + + 2810 + mysql.sys@localhost + + + 338 + mysql.sys@localhost + + + 1845 + mysql.sys@localhost + + + 1394 + mysql.sys@localhost + + + 1057 + mysql.sys@localhost + + + 1693 + mysql.sys@localhost + + + 1673 + mysql.sys@localhost + + + 1295 + mysql.sys@localhost + + + 1836 + mysql.sys@localhost + + + 731 + mysql.sys@localhost + + + 664 + mysql.sys@localhost + + + 1341 + mysql.sys@localhost + + + 616 + mysql.sys@localhost + + + 2841 + mysql.sys@localhost + + + 1495 + mysql.sys@localhost + + + 2301 + mysql.sys@localhost + + + 1153 + mysql.sys@localhost + + + 1700 + mysql.sys@localhost + + + 1685 + mysql.sys@localhost + + + 1610 + mysql.sys@localhost + + + 867 + mysql.sys@localhost + + + 1148 + mysql.sys@localhost + + + 1062 + mysql.sys@localhost + + + 1619 + mysql.sys@localhost + + + 1786 + mysql.sys@localhost + + + 60 + mysql.sys@localhost + + + 1354 + mysql.sys@localhost + + + 1298 + mysql.sys@localhost + + + 1263 + mysql.sys@localhost + + + 1354 + mysql.sys@localhost + + + 902 + mysql.sys@localhost + + + 1234 + mysql.sys@localhost + + + 846 + mysql.sys@localhost + + + 1112 + mysql.sys@localhost + + + 1020 + mysql.sys@localhost + + + 1556 + mysql.sys@localhost + + + 1723 + mysql.sys@localhost + + + 730 + mysql.sys@localhost + + + 822 + mysql.sys@localhost + + + 2122 + mysql.sys@localhost + + + 1645 + mysql.sys@localhost + + + 1457 + mysql.sys@localhost + + + 848 + mysql.sys@localhost + + + 1810 + mysql.sys@localhost + + + 1711 + mysql.sys@localhost + + + 1270 + mysql.sys@localhost + + + 1209 + mysql.sys@localhost + + + 919 + mysql.sys@localhost + + + 1209 + mysql.sys@localhost + + + 1193 + mysql.sys@localhost + + + 186 + mysql.sys@localhost + + + 2631 + mysql.sys@localhost + + + 510 + mysql.sys@localhost + + + 215 + mysql.sys@localhost + + + 1057 + mysql.sys@localhost + + + 636 + mysql.sys@localhost + + + 1310 + mysql.sys@localhost + + + 1647 + mysql.sys@localhost + + + 1083 + mysql.sys@localhost + + + 1579 + mysql.sys@localhost + + + 710 + mysql.sys@localhost + + + 1403 + mysql.sys@localhost + + + 2731 + mysql.sys@localhost + + + 1469 + mysql.sys@localhost + + + 2233 + mysql.sys@localhost + + + 1064 + mysql.sys@localhost + + + 1653 + mysql.sys@localhost + + + 1638 + mysql.sys@localhost + + + 1503 + mysql.sys@localhost + + + 846 + mysql.sys@localhost + + + 1106 + mysql.sys@localhost + + + 1020 + mysql.sys@localhost + + + 1556 + mysql.sys@localhost + + + 1723 + mysql.sys@localhost + + + 1234 + mysql.sys@localhost + + + 1214 + mysql.sys@localhost + + + 1200 + mysql.sys@localhost + + + 1291 + mysql.sys@localhost + + + 839 + mysql.sys@localhost + + + + 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 | + ... + + 1938 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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;". + + Versions supported: + * MySQL 5.6: 5.6.10 and later + * MySQL 5.7: 5.7.9 and later + + 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; + + 38730 + mysql.sys@localhost + procedure + reads-sql-data + 0 + + + + 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) + + 592 + mysql.sys@localhost + procedure + reads-sql-data + 0 + + + + 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) + + 103 + mysql.sys@localhost + function + no-sql + 1 + 0 + + + + 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) + + 126 + mysql.sys@localhost + function + no-sql + 1 + 0 + + + + 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) + + 524 + mysql.sys@localhost + function + no-sql + 1 + 0 + + + + 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) + + 2748 + mysql.sys@localhost + function + no-sql + 1 + 0 + + + + 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) + + 404 + mysql.sys@localhost + function + no-sql + 1 + 0 + + + + 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) + + 899 + mysql.sys@localhost + function + no-sql + 1 + 0 + + + + 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) + + + 344 + mysql.sys@localhost + function + 1 + 0 + + + + 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) + + + 405 + mysql.sys@localhost + function + 1 + 0 + + + + Description + + Determines whether instrumentation of an account is enabled + within Performance Schema. + + Parameters + + in_host VARCHAR(60): + 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) + + 197 + mysql.sys@localhost + function + reads-sql-data + 1 + 0 + + + + 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) + + 1329 + mysql.sys@localhost + function + reads-sql-data + 1 + 0 + + + + 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) + + 416 + mysql.sys@localhost + function + reads-sql-data + 1 + 0 + + + + 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) + + 358 + mysql.sys@localhost + function + reads-sql-data + 1 + 0 + + + + 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 | + +------------------------------------------------+ + + 302 + mysql.sys@localhost + function + reads-sql-data + 0 + + + + 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) + + 203 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 214 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 234 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 206 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 203 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 214 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 235 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 206 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 2467 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 4028 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 1273 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 986 + mysql.sys@localhost + procedure + reads-sql-data + 0 + + + + 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) + + 133 + mysql.sys@localhost + procedure + reads-sql-data + 1 + 0 + + + + Description + + Shows all currently disabled instruments. + + Parameters + + None + + Example + + mysql> CALL sys.ps_setup_show_disabled_instruments(); + + 146 + mysql.sys@localhost + procedure + reads-sql-data + 1 + 0 + + + + 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) + + 983 + mysql.sys@localhost + procedure + reads-sql-data + 1 + 0 + + + + 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) + + 132 + mysql.sys@localhost + procedure + reads-sql-data + 1 + 0 + + + + Description + + Shows all currently enabled instruments. + + Parameters + + None + + Example + + mysql> CALL sys.ps_setup_show_enabled_instruments(); + + 145 + mysql.sys@localhost + procedure + reads-sql-data + 1 + 0 + + + + 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; + + 11603 + mysql.sys@localhost + procedure + reads-sql-data + 0 + + + + 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) + + 185 + mysql.sys@localhost + function + reads-sql-data + 0 + + + + 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) + + 138 + mysql.sys@localhost + function + reads-sql-data + 0 + + + + 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: + ... + + 4021 + mysql.sys@localhost + function + reads-sql-data + 0 + + + + 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) + + 3336 + mysql.sys@localhost + function + reads-sql-data + 0 + + + + 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) + + 4332 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 7606 + mysql.sys@localhost + procedure + modifies-sql-data + 0 + + + + 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) + + 880 + mysql.sys@localhost + procedure + modifies-sql-data + 1 + 0 + + + + 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) + + 69 + mysql.sys@localhost + function + no-sql + 1 + 0 + + + + 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, -> sys.format_time(SUM_TIMER_WAIT) AS total_latency, -> sys.format_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 | +-------------------+-------+------------+---------------+-------------+---------------+-------------------+-------------------+----------------------------------+ ... + 19260 + mysql.sys@localhost + procedure + 0 + + + + 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 + + mysql> SELECT sys.sys_get_config('statement_truncate_len', 128) AS Value; + +-------+ + | Value | + +-------+ + | 64 | + +-------+ + 1 row in set (0.00 sec) + + 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) + + IF (@sys.statement_truncate_len IS NULL) THEN + SET @sys.statement_truncate_len = sys.sys_get_config('statement_truncate_len', 64); + END IF; + + 221 + mysql.sys@localhost + function + reads-sql-data + 1 + 0 + + + + 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) + + 1178 + mysql.sys@localhost + procedure + 0 + + + + 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) + + 77 + mysql.sys@localhost + function + no-sql + 0 + + + + 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) + + 103 + mysql.sys@localhost + function + no-sql + 0 + + + + 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) + + 78 + mysql.sys@localhost + function + no-sql + 0 + +
+ 账户表 +
+ + 系统资源表 +
+ + 角色账户关联标表 +
+ + 角色系统资源关联表 +
+ + 角色表 +
+ + 554 + root@localhost + + + 1 + varchar(81)|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 + 1 + '' + + + 4 + varchar(3)|0s + '' + + + 5 + varchar(3)|0s + '' + + + 6 + varchar(3)|0s + '' + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + bigint(21) unsigned|0s + 1 + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + bigint(21) unsigned|0s + 1 + + + 5 + varchar(64)|0s + '' + + + 6 + bigint(21) unsigned|0s + 1 + + + 7 + bigint(21) unsigned|0s + 1 + + + 8 + varchar(3)|0s + '' + + + 9 + bigint(21) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 11 + bigint(21) unsigned|0s + 1 + + + 12 + varchar(1024)|0s + '' + + + 13 + varchar(1024)|0s + '' + + + 14 + bigint(21) unsigned|0s + 1 + + + 15 + bigint(21) unsigned|0s + 1 + + + 16 + bigint(21) unsigned|0s + 1 + + + 17 + varchar(64)|0s + '' + + + 18 + varchar(64)|0s + '' + + + 19 + varchar(3)|0s + '' + + + 20 + bigint(21) unsigned|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + bigint(21) unsigned|0s + 1 + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + bigint(21) unsigned|0s + 1 + + + 5 + varchar(64)|0s + '' + + + 6 + bigint(21) unsigned|0s + 1 + + + 7 + bigint(21) unsigned|0s + 1 + + + 8 + varchar(3)|0s + '' + + + 9 + bigint(21) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 11 + bigint(21) unsigned|0s + 1 + + + 12 + varchar(1024)|0s + '' + + + 13 + varchar(1024)|0s + '' + + + 14 + bigint(21) unsigned|0s + 1 + + + 15 + bigint(21) unsigned|0s + 1 + + + 16 + bigint(21) unsigned|0s + 1 + + + 17 + varchar(3)|0s + '' + + + 18 + varchar(64)|0s + '' + + + 19 + varchar(3)|0s + '' + + + 20 + bigint(21) unsigned|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + bigint(21) unsigned|0s + 1 + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + bigint(21) unsigned|0s + 1 + + + 5 + bigint(21) unsigned|0s + 1 + + + 6 + bigint(21) unsigned|0s + 1 + + + 7 + bigint(21) unsigned|0s + 1 + + + 8 + bigint(21) unsigned|0s + 1 + + + 9 + bigint(21) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 11 + bigint(21) unsigned|0s + 1 + + + 12 + bigint(21) unsigned|0s + 1 + + + 13 + float(12)|0s + 1 + + + 14 + float(12)|0s + 1 + + + 15 + bigint(21) unsigned|0s + 1 + + + 16 + bigint(21) unsigned|0s + 1 + + + 17 + bigint(21) unsigned|0s + 1 + + + 18 + float(12)|0s + 1 + + + 19 + float(12)|0s + 1 + + + 20 + float(12)|0s + 1 + + + 21 + bigint(21) unsigned|0s + 1 + + + 22 + bigint(21) unsigned|0s + 1 + + + 23 + bigint(21) unsigned|0s + 1 + + + 24 + bigint(21) unsigned|0s + 1 + + + 25 + bigint(21) unsigned|0s + 1 + + + 26 + bigint(21) unsigned|0s + 1 + + + 27 + float(12)|0s + 1 + + + 28 + float(12)|0s + 1 + + + 29 + bigint(21) unsigned|0s + 1 + + + 30 + bigint(21) unsigned|0s + 1 + + + 31 + bigint(21) unsigned|0s + 1 + + + 32 + bigint(21) unsigned|0s + 1 + + + 1 + int(11) unsigned|0s + 1 + + + 2 + bigint(21) unsigned|0s + 1 + + + 3 + bigint(21) unsigned|0s + 1 + + + 1 + int(5)|0s + 1 + + + 2 + int(11)|0s + 1 + + + 3 + int(11)|0s + 1 + + + 4 + int(11)|0s + 1 + + + 5 + int(11)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 1 + int(5)|0s + 1 + + + 2 + int(11)|0s + 1 + + + 3 + int(11)|0s + 1 + + + 4 + int(11)|0s + 1 + + + 5 + bigint(21)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 1 + int(5)|0s + 1 + + + 2 + int(11)|0s + 1 + + + 3 + int(11)|0s + 1 + + + 4 + int(11)|0s + 1 + + + 5 + bigint(21)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 1 + varchar(192)|0s + 1 + '' + + + 2 + varchar(192)|0s + 1 + '' + + + 3 + varchar(192)|0s + 1 + '' + + + 4 + int(11)|0s + 1 + + + 5 + int(11)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 7 + int(11)|0s + 1 + + + 8 + int(11)|0s + 1 + + + 1 + varchar(192)|0s + 1 + '' + + + 2 + varchar(192)|0s + 1 + '' + + + 3 + varchar(192)|0s + 1 + '' + + + 4 + int(11)|0s + 1 + + + 5 + int(11)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 7 + int(11)|0s + 1 + + + 8 + int(11)|0s + 1 + + + 1 + int(5)|0s + 1 + + + 2 + int(11)|0s + 1 + + + 3 + int(11)|0s + 1 + + + 4 + int(11)|0s + 1 + + + 5 + int(11)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + varchar(193)|0s + 1 + '' + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + int(11)|0s + 1 + + + 5 + int(11)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 1 + varchar(193)|0s + 1 + '' + + + 2 + varchar(193)|0s + 1 + '' + + + 1 + varchar(18)|0s + 1 + '' + + + 1 + bigint(21) unsigned|0s + 1 + + + 1 + varchar(337)|0s + 1 + '' + + + 2 + bigint(21) unsigned|0s + 1 + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + bigint(21) unsigned|0s + 1 + + + 5 + bigint(21) unsigned|0s + 1 + + + 6 + bigint(21) unsigned|0s + 1 + + + 1 + varchar(337)|0s + 1 + '' + + + 2 + bigint(21) unsigned|0s + 1 + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + bigint(21) unsigned|0s + 1 + + + 5 + bigint(21) unsigned|0s + 1 + + + 6 + bigint(21) unsigned|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + varchar(193)|0s + 1 + '' + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + int(11)|0s + 1 + + + 5 + int(11)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 7 + int(11)|0s + 1 + + + 8 + int(11)|0s + 1 + + + 1 + varchar(193)|0s + 1 + '' + + + 2 + varchar(193)|0s + 1 + '' + + + 3 + bigint(21)|0s + 1 + + + 4 + bigint(21)|0s + + + 5 + bigint(21)|0s + + + 6 + float(12)|0s + + + 7 + bigint(21)|0s + 1 + + + 8 + bigint(21)|0s + + + 9 + bigint(21)|0s + + + 10 + float(12)|0s + + + 11 + datetime|0s + '' + + + 12 + datetime|0s + '' + + + 13 + bigint(21)|0s + + + 14 + datetime|0s + '' + + + 15 + varchar(193)|0s + 1 + '' + + + 16 + varchar(193)|0s + 1 + '' + + + 17 + varchar(193)|0s + 1 + '' + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + varchar(655)|0s + 1 + '' + + + 3 + int(11)|0s + 1 + + + 4 + int(11)|0s + 1 + + + 5 + bigint(21)|0s + 1 + + + 6 + varchar(12)|0s + '' + + + 7 + int(11) unsigned|0s + 1 + + + 8 + varchar(10)|0s + '' + + + 1 + int(11) unsigned|0s + 1 + + + 2 + varchar(655)|0s + 1 + '' + + + 3 + int(11) unsigned|0s + 1 + + + 4 + varchar(22)|0s + '' + + + 5 + int(11) unsigned|0s + 1 + + + 6 + int(11) unsigned|0s + 1 + + + 7 + varchar(10)|0s + '' + + + 8 + int(11) unsigned|0s + 1 + + + 9 + bigint(21) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 11 + varchar(10)|0s + '' + + + 12 + int(11) unsigned|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + varchar(193)|0s + 1 + '' + + + 3 + varchar(193)|0s + 1 + '' + + + 4 + bigint(21) unsigned|0s + 1 + + + 5 + bigint(21) unsigned|0s + 1 + + + 6 + bigint(21) unsigned|0s + 1 + + + 7 + bigint(21) unsigned|0s + 1 + + + 8 + bigint(21) unsigned|0s + 1 + + + 9 + int(11)|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + varchar(64)|0s + '' + + + 3 + int(11) unsigned|0s + 1 + + + 4 + int(11) unsigned|0s + 1 + + + 1 + varchar(18)|0s + 1 + '' + + + 2 + varchar(13)|0s + 1 + '' + + + 3 + datetime|0s + 1 + '' + + + 4 + varchar(81)|0s + '' + + + 5 + datetime|0s + '' + + + 6 + bigint(21) unsigned|0s + 1 + + + 7 + bigint(21) unsigned|0s + 1 + + + 8 + varchar(1024)|0s + '' + + + 9 + varchar(64)|0s + '' + + + 10 + bigint(21) unsigned|0s + 1 + + + 11 + bigint(21) unsigned|0s + 1 + + + 12 + bigint(21) unsigned|0s + 1 + + + 13 + bigint(21) unsigned|0s + 1 + + + 14 + bigint(21) unsigned|0s + 1 + + + 15 + bigint(21) unsigned|0s + 1 + + + 16 + bigint(21) unsigned|0s + 1 + + + 17 + varchar(16)|0s + 1 + '' + + + 18 + int(1)|0s + 1 + + + 19 + int(1)|0s + 1 + + + 20 + varchar(256)|0s + '' + + + 21 + int(1)|0s + 1 + + + 22 + bigint(21) unsigned|0s + 1 + + + 23 + int(1)|0s + 1 + + + 24 + int(1)|0s + 1 + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + int(11) unsigned|0s + 1 + + + 3 + int(11) unsigned|0s + 1 + + + 1 + varchar(65535)|0s + 1 + '' + + + 2 + varchar(65535)|0s + 1 + '' + + + 3 + int(20)|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 + 1 + '' + + + 6 + varchar(64)|0s + '' + + + 7 + varchar(20)|0s + '' + + + 8 + varchar(64)|0s + '' + + + 9 + varchar(65535)|0s + '' + + + 10 + varchar(80)|0s + '' + + + 11 + varchar(64)|0s + 1 + '' + + + 1 + bigint(21) unsigned|0s + 1 + + + 2 + varchar(32)|0s + 1 + '' + + + 3 + varchar(64)|0s + 1 + '' + + + 4 + varchar(64)|0s + '' + + + 5 + varchar(16)|0s + 1 + '' + + + 6 + int(7)|0s + 1 + + + 7 + varchar(64)|0s + '' + + + 8 + varchar(65535)|0s + '' + + + 1 + int(20)|0s + 1 + + + 2 + int(20)|0s + 1 + + + 3 + varchar(30)|0s + 1 + '' + + + 4 + decimal(905)|0s + 1 + + + 5 + decimal(905)|0s + + + 6 + decimal(905)|0s + + + 7 + int(20)|0s + + + 8 + int(20)|0s + + + 9 + int(20)|0s + + + 10 + int(20)|0s + + + 11 + int(20)|0s + + + 12 + int(20)|0s + + + 13 + int(20)|0s + + + 14 + int(20)|0s + + + 15 + int(20)|0s + + + 16 + varchar(30)|0s + '' + + + 17 + varchar(20)|0s + '' + + + 18 + int(20)|0s + + + 1 + varchar(81)|0s + 1 + '' + + + 2 + varchar(512)|0s + 1 + '' + + + 3 + varchar(64)|0s + 1 + '' + + + 4 + varchar(64)|0s + 1 + '' + + + 5 + varchar(3)|0s + 1 + '' + + + 1 + varchar(64)|0s + 1 + '' + + + 2 + varchar(64)|0s + 1 + '' + + + 3 + varchar(64)|0s + '' + + + 4 + varchar(64)|0s + '' + + + 5 + bigint(21) unsigned|0s + + + 6 + bigint(21) unsigned|0s + + + 7 + bigint(21) unsigned|0s + + + 8 + bigint(21) unsigned|0s + + + 9 + varchar(2048)|0s + '' + + + 1 + varchar(81)|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(81)|0s + 1 + '' + + + 2 + varchar(512)|0s + 1 + '' + + + 3 + varchar(64)|0s + 1 + '' + + + 4 + varchar(3)|0s + 1 + '' + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(2048)|0s + 1 + + + 4 + int(10) unsigned|0s + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + varchar(3)|0s + 1 + + + 5 + varchar(3)|0s + 1 + + + 6 + int(10) unsigned|0s + 1 + + + 7 + varchar(9)|0s + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(64)|0s + + + 5 + int(10) unsigned|0s + 1 + + + 6 + text|0s + + + 7 + varchar(3)|0s + 1 + + + 8 + longtext|0s + + + 9 + bigint(21)|0s + + + 10 + bigint(21)|0s + + + 11 + bigint(10) unsigned|0s + + + 12 + bigint(10) unsigned|0s + + + 13 + int(10) unsigned|0s + + + 14 + varchar(64)|0s + + + 15 + varchar(64)|0s + + + 16 + mediumtext|0s + 1 + + + 17 + enum('', 'PRI', 'UNI', 'MUL')|0e + 1 + + + 18 + varchar(57)|0s + + + 19 + varchar(154)|0s + + + 20 + text|0s + 1 + + + 21 + longtext|0s + 1 + + + 22 + int(10) unsigned|0s + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + json|0s + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + varchar(93)|0s + 1 + + + 5 + varchar(64)|0s + 1 + + + 6 + varchar(3)|0s + 1 + + + 7 + longtext|0s + 1 + + + 8 + varchar(9)|0s + 1 + + + 9 + datetime|0s + + + 10 + int(11)|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 + + + 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', '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 + + + 13 + datetime|0s + + + 14 + datetime|0s + + + 15 + enum('ENABLED', 'DISABLED', 'SLAVESIDE_DISABLED')|0e + 1 + + + 16 + varchar(12)|0s + 1 + + + 17 + timestamp|0s + 1 + + + 18 + timestamp|0s + 1 + + + 19 + datetime|0s + + + 20 + varchar(2048)|0s + 1 + + + 21 + int(10) unsigned|0s + 1 + + + 22 + varchar(64)|0s + 1 + + + 23 + varchar(64)|0s + 1 + + + 24 + varchar(64)|0s + 1 + + + 1 + bigint(21)|0s + + + 2 + text|0s + + + 3 + varchar(256)|0s + + + 4 + varchar(259)|0s + 1 + + + 5 + char(0)|0s + 1 + + + 6 + binary(0)|0s + + + 7 + binary(0)|0s + + + 8 + varchar(256)|0s + + + 9 + bigint(21)|0s + + + 10 + varchar(64)|0s + 1 + + + 11 + binary(0)|0s + + + 12 + binary(0)|0s + + + 13 + binary(0)|0s + + + 14 + bigint(21)|0s + + + 15 + bigint(21)|0s + + + 16 + bigint(21)|0s + + + 17 + bigint(21)|0s + + + 18 + bigint(21)|0s + + + 19 + bigint(21)|0s + + + 20 + binary(0)|0s + + + 21 + binary(0)|0s + + + 22 + binary(0)|0s + + + 23 + binary(0)|0s + + + 24 + binary(0)|0s + + + 25 + bigint(21)|0s + + + 26 + varchar(256)|0s + + + 27 + binary(0)|0s + + + 28 + binary(0)|0s + + + 29 + binary(0)|0s + + + 30 + binary(0)|0s + + + 31 + binary(0)|0s + + + 32 + bigint(21)|0s + + + 33 + binary(0)|0s + + + 34 + binary(0)|0s + + + 35 + binary(0)|0s + + + 36 + binary(0)|0s + + + 37 + varchar(256)|0s + + + 38 + binary(0)|0s + + + 1 + varbinary(256)|0s + + + 2 + varchar(512)|0s + 1 + + + 1 + varbinary(256)|0s + + + 2 + varchar(64)|0s + 1 + + + 3 + bigint(11) unsigned|0s + 1 + + + 1 + varchar(129)|0s + + + 2 + varchar(129)|0s + + + 3 + varchar(129)|0s + + + 4 + bigint(21)|0s + 1 + + + 5 + int(1)|0s + 1 + + + 1 + varchar(129)|0s + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + int(10) unsigned|0s + 1 + + + 1 + varbinary(256)|0s + + + 2 + varchar(259)|0s + 1 + + + 3 + varchar(512)|0s + 1 + + + 4 + varbinary(256)|0s + + + 5 + varchar(7)|0s + 1 + + + 1 + varchar(29)|0s + + + 2 + int(11)|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 + + + 8 + int(10) unsigned|0s + 1 + + + 9 + binary(0)|0s + + + 10 + binary(0)|0s + + + 11 + binary(0)|0s + + + 12 + binary(0)|0s + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + bigint(11) unsigned|0s + 1 + + + 5 + varchar(5)|0s + + + 6 + varchar(64)|0s + + + 7 + longtext|0s + + + 8 + bigint(21)|0s + + + 9 + bigint(21)|0s + + + 10 + int(10) unsigned|0s + + + 11 + bigint(11)|0s + + + 12 + int(10) unsigned|0s + + + 13 + varchar(64)|0s + + + 14 + varchar(64)|0s + + + 15 + mediumtext|0s + 1 + + + 16 + enum('FUNCTION', 'PROCEDURE')|0e + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + varchar(64)|0s + + + 5 + varchar(64)|0s + + + 6 + int(6) unsigned|0s + + + 7 + int(6) unsigned|0s + + + 8 + varchar(13)|0s + + + 9 + varchar(13)|0s + + + 10 + varchar(2048)|0s + + + 11 + varchar(2048)|0s + + + 12 + text|0s + + + 13 + bigint(21) unsigned|0s + + + 14 + bigint(21) unsigned|0s + + + 15 + bigint(21) unsigned|0s + + + 16 + bigint(21) unsigned|0s + + + 17 + bigint(21) unsigned|0s + + + 18 + bigint(21) unsigned|0s + + + 19 + timestamp|0s + 1 + + + 20 + datetime|0s + + + 21 + datetime|0s + + + 22 + bigint(21)|0s + + + 23 + text|0s + 1 + + + 24 + varchar(256)|0s + + + 25 + varchar(259)|0s + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + varchar(64)|0s + 1 + + + 5 + varchar(64)|0s + 1 + + + 6 + varchar(64)|0s + + + 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 + 1 + + + 4 + blob|0s + + + 5 + int(11)|0s + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + varchar(64)|0s + 1 + + + 5 + enum('FUNCTION', 'PROCEDURE')|0e + 1 + + + 6 + longtext|0s + + + 7 + bigint(21)|0s + + + 8 + bigint(21)|0s + + + 9 + int(10) unsigned|0s + + + 10 + int(10) unsigned|0s + + + 11 + int(10) unsigned|0s + + + 12 + varchar(64)|0s + + + 13 + varchar(64)|0s + + + 14 + longtext|0s + + + 15 + varchar(3)|0s + 1 + + + 16 + longtext|0s + + + 17 + binary(0)|0s + + + 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 + 1 + + + 22 + binary(0)|0s + + + 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', '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(93)|0s + 1 + + + 29 + varchar(64)|0s + 1 + + + 30 + varchar(64)|0s + 1 + + + 31 + varchar(64)|0s + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + 1 + + + 4 + varchar(64)|0s + 1 + + + 5 + binary(0)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + int(1)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + varchar(64)|0s + + + 7 + int(10) unsigned|0s + 1 + + + 8 + varchar(64)|0s + + + 9 + varchar(1)|0s + + + 10 + bigint(21)|0s + + + 11 + bigint(21)|0s + + + 12 + binary(0)|0s + + + 13 + varchar(3)|0s + 1 + + + 14 + varchar(11)|0s + 1 + + + 15 + varchar(8)|0s + 1 + + + 16 + varchar(2048)|0s + 1 + + + 17 + varchar(3)|0s + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(80)|0s + + + 6 + int(10) unsigned|0s + + + 7 + longtext|0s + + + 1 + varchar(80)|0s + 1 + + + 2 + int(10) unsigned|0s + 1 + + + 3 + varchar(256)|0s + + + 4 + int(10) unsigned|0s + + + 5 + varchar(4096)|0s + 1 + + + 6 + varchar(2048)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + enum('BASE TABLE', 'VIEW', 'SYSTEM VIEW')|0e + 1 + + + 5 + varchar(64)|0s + + + 6 + int(2)|0s + + + 7 + enum('Fixed', 'Dynamic', 'Compressed', 'Redundant', 'Compact', 'Paged')|0e + + + 8 + bigint(21) unsigned|0s + + + 9 + bigint(21) unsigned|0s + + + 10 + bigint(21) unsigned|0s + + + 11 + bigint(21) unsigned|0s + + + 12 + bigint(21) unsigned|0s + + + 13 + bigint(21) unsigned|0s + + + 14 + bigint(21) unsigned|0s + + + 15 + timestamp|0s + 1 + + + 16 + datetime|0s + + + 17 + datetime|0s + + + 18 + varchar(64)|0s + + + 19 + bigint(21)|0s + + + 20 + varchar(256)|0s + + + 21 + varchar(256)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(64)|0s + + + 6 + varchar(11)|0s + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + enum('INSERT', 'UPDATE', 'DELETE')|0e + 1 + + + 5 + varchar(64)|0s + 1 + + + 6 + varchar(64)|0s + 1 + + + 7 + varchar(64)|0s + 1 + + + 8 + int(10) unsigned|0s + 1 + + + 9 + binary(0)|0s + + + 10 + longtext|0s + 1 + + + 11 + varchar(3)|0s + 1 + + + 12 + enum('BEFORE', 'AFTER')|0e + 1 + + + 13 + binary(0)|0s + + + 14 + binary(0)|0s + + + 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', 'INVALID_DATES', 'ERROR_FOR_DIVISION_BY_ZERO', 'TRADITIONAL', 'NOT_USED_29', 'HIGH_NOT_PRECEDENCE', 'NO_ENGINE_SUBSTITUTION', 'PAD_CHAR_TO_FULL_LENGTH')|0e + 1 + + + 19 + varchar(93)|0s + 1 + + + 20 + varchar(64)|0s + 1 + + + 21 + varchar(64)|0s + 1 + + + 22 + varchar(64)|0s + 1 + + + 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(93)|0s + + + 8 + varchar(7)|0s + + + 9 + varchar(64)|0s + 1 + + + 10 + varchar(64)|0s + 1 + + + 1 + 编号 + int(11)|0s + 1 + null + + + 2 + 支付超时时间;单位:分钟 + int(11)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + 订单编号 + bigint(11)|0s + 1 + null + + + 2 + 用户编号 + int(16)|0s + + + 1 + id + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(64)|0s + 1 + '' + + + 3 + char(32)|0s + 1 + '' + + + 4 + char(64)|0s + 1 + '' + + + 5 + char(64)|0s + 1 + '' + + + 6 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 7 + set('Select', 'Insert', 'Update', 'References')|0e + 1 + '' + utf8_general_ci + + + 1 + Host +Db +User +Table_name +Column_name + 1 + + + 1 + int(10) unsigned|0s + 1 + null + + + 2 + int(10) unsigned|0s + 1 + + + 3 + text|0s + 1 + + + 1 + component_id + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(64)|0s + 1 + '' + + + 3 + char(32)|0s + 1 + '' + + + 4 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 5 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 6 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 7 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 8 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 9 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 10 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 11 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 12 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 13 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 14 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 15 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 16 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 17 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 18 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 19 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 20 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 21 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 22 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + User + btree + + + 1 + Host +Db +User + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(32)|0s + 1 + '' + + + 3 + char(60)|0s + 1 + '%' + + + 4 + char(32)|0s + 1 + '' + + + 1 + HOST +USER +DEFAULT_ROLE_HOST +DEFAULT_ROLE_USER + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + int(11)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + float|0s + + + 5 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 6 + varchar(1024)|0s + + + 7 + float|0s + (case `cost_name` when _utf8mb4'io_block_read_cost' then 1.0 when _utf8mb4'memory_block_read_cost' then 0.25 else NULL end) + generated-virtual + + + 1 + cost_name +engine_name +device_type + 1 + + + 1 + char(64)|0s + 1 + '' + + + 2 + tinyint(1)|0s + 1 + 0 + + + 3 + char(128)|0s + 1 + '' + + + 4 + enum('function', 'aggregate')|0e + 1 + utf8_general_ci + + + 1 + name + 1 + + + 1 + timestamp(6)|0s + 1 + CURRENT_TIMESTAMP(6) + CURRENT_TIMESTAMP(6) + + + 2 + mediumtext|0s + 1 + + + 3 + bigint(21) unsigned|0s + 1 + + + 4 + int(10) unsigned|0s + 1 + + + 5 + varchar(64)|0s + 1 + + + 6 + mediumblob|0s + 1 + + + 1 + char(32)|0s + 1 + '' + + + 2 + char(60)|0s + 1 + '' + + + 3 + char(32)|0s + 1 + '' + utf8_general_ci + + + 4 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 1 + USER +HOST +PRIV + 1 + + + 1 + uuid of the source where the transaction was originally executed. + char(36)|0s + 1 + + + 2 + First number of interval. + bigint(20)|0s + 1 + + + 3 + Last number of interval. + bigint(20)|0s + 1 + + + 1 + source_uuid +interval_start + 1 + + + 1 + smallint(5) unsigned|0s + 1 + + + 2 + char(64)|0s + 1 + + + 3 + smallint(5) unsigned|0s + + + 4 + text|0s + 1 + + + name + 1 + btree + + + 1 + help_category_id + 1 + + + name + name + + + 1 + int(10) unsigned|0s + 1 + + + 2 + char(64)|0s + 1 + + + name + 1 + btree + + + 1 + help_keyword_id + 1 + + + name + name + + + 1 + int(10) unsigned|0s + 1 + + + 2 + int(10) unsigned|0s + 1 + + + 1 + help_keyword_id +help_topic_id + 1 + + + 1 + int(10) unsigned|0s + 1 + + + 2 + char(64)|0s + 1 + + + 3 + smallint(5) unsigned|0s + 1 + + + 4 + text|0s + 1 + + + 5 + text|0s + 1 + + + 6 + text|0s + 1 + + + name + 1 + btree + + + 1 + help_topic_id + 1 + + + name + name + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(199)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 5 + varchar(64)|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + + + 8 + varchar(1024)|0s + 1 + + + 1 + database_name +table_name +index_name +stat_name + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(199)|0s + 1 + + + 3 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 1 + database_name +table_name + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(32)|0s + 1 + '' + + + 3 + timestamp(6)|0s + 1 + CURRENT_TIMESTAMP(6) + + + 4 + text|0s + + + 1 + Host +User +Password_timestamp + 1 + + + 1 + varchar(64)|0s + 1 + '' + + + 2 + varchar(128)|0s + 1 + '' + + + 1 + name + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(64)|0s + 1 + '' + + + 3 + char(32)|0s + 1 + '' + + + 4 + char(64)|0s + 1 + '' + utf8_general_ci + + + 5 + enum('FUNCTION', 'PROCEDURE')|0e + 1 + + + 6 + char(93)|0s + 1 + '' + + + 7 + set('Execute', 'Alter Routine', 'Grant')|0e + 1 + '' + utf8_general_ci + + + 8 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + Grantor + btree + + + 1 + Host +Db +User +Routine_name +Routine_type + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(32)|0s + 1 + '' + + + 3 + char(60)|0s + 1 + '' + + + 4 + char(32)|0s + 1 + '' + + + 5 + tinyint(1)|0s + 1 + 0 + + + 6 + char(93)|0s + 1 + '' + + + 7 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + Grantor + btree + + + 1 + Host +User +Proxied_host +Proxied_user + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(32)|0s + 1 + '' + + + 3 + char(60)|0s + 1 + '' + + + 4 + char(32)|0s + 1 + '' + + + 5 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 1 + FROM_HOST +FROM_USER +TO_HOST +TO_USER + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + float|0s + + + 3 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 4 + varchar(1024)|0s + + + 5 + float|0s + (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) + generated-virtual + + + 1 + cost_name + 1 + + + 1 + char(64)|0s + 1 + '' + + + 2 + char(64)|0s + 1 + '' + + + 3 + char(64)|0s + 1 + '' + + + 4 + char(64)|0s + 1 + '' + + + 5 + char(64)|0s + 1 + '' + + + 6 + int(4)|0s + 1 + 0 + + + 7 + char(64)|0s + 1 + '' + + + 8 + char(64)|0s + 1 + '' + + + 9 + char(64)|0s + 1 + '' + + + 1 + Server_name + 1 + + + 1 + Number of lines in the file. + int(10) unsigned|0s + 1 + + + 2 + The name of the master binary log currently being read from the master. + text|0s + 1 + utf8_bin + + + 3 + The master log position of the last read event. + bigint(20) unsigned|0s + 1 + + + 4 + The host name of the master. + char(64)|0s + utf8_bin + + + 5 + The user name used to connect to the master. + text|0s + utf8_bin + + + 6 + The password used to connect to the master. + text|0s + utf8_bin + + + 7 + The network port used to connect to the master. + int(10) unsigned|0s + 1 + + + 8 + The period (in seconds) that the slave will wait before trying to reconnect to the master. + int(10) unsigned|0s + 1 + + + 9 + Indicates whether the server supports SSL connections. + tinyint(1)|0s + 1 + + + 10 + The file used for the Certificate Authority (CA) certificate. + text|0s + utf8_bin + + + 11 + The path to the Certificate Authority (CA) certificates. + text|0s + utf8_bin + + + 12 + The name of the SSL certificate file. + text|0s + utf8_bin + + + 13 + The name of the cipher in use for the SSL connection. + text|0s + utf8_bin + + + 14 + The name of the SSL key file. + text|0s + utf8_bin + + + 15 + Whether to verify the server certificate. + tinyint(1)|0s + 1 + + + 16 + float|0s + 1 + + + 17 + Displays which interface is employed when connecting to the MySQL server + text|0s + utf8_bin + + + 18 + The number of server IDs to be ignored, followed by the actual server IDs + text|0s + utf8_bin + + + 19 + The master server uuid. + text|0s + utf8_bin + + + 20 + Number of reconnect attempts, to the master, before giving up. + bigint(20) unsigned|0s + 1 + + + 21 + The file used for the Certificate Revocation List (CRL) + text|0s + utf8_bin + + + 22 + The path used for Certificate Revocation List (CRL) files + text|0s + utf8_bin + + + 23 + Indicates whether GTIDs will be used to retrieve events from the master. + tinyint(1)|0s + 1 + + + 24 + The channel on which the slave is connected to a source. Used in Multisource Replication + char(64)|0s + 1 + + + 25 + Tls version + text|0s + utf8_bin + + + 26 + The file containing public key of master server. + text|0s + utf8_bin + + + 27 + Preference to get public key from master. + tinyint(1)|0s + 1 + + + 1 + Channel_name + 1 + + + 1 + Number of lines in the file or rows in the table. Used to version table definitions. + int(10) unsigned|0s + 1 + + + 2 + The name of the current relay log file. + text|0s + 1 + utf8_bin + + + 3 + The relay log position of the last executed event. + bigint(20) unsigned|0s + 1 + + + 4 + The name of the master binary log file from which the events in the relay log file were read. + text|0s + 1 + utf8_bin + + + 5 + The master log position of the last executed event. + bigint(20) unsigned|0s + 1 + + + 6 + The number of seconds that the slave must lag behind the master. + int(11)|0s + 1 + + + 7 + int(10) unsigned|0s + 1 + + + 8 + Internal Id that uniquely identifies this record. + int(10) unsigned|0s + 1 + + + 9 + The channel on which the slave is connected to a source. Used in Multisource Replication + char(64)|0s + 1 + + + 1 + Channel_name + 1 + + + 1 + int(10) unsigned|0s + 1 + + + 2 + text|0s + 1 + utf8_bin + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + 1 + utf8_bin + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + text|0s + 1 + utf8_bin + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + text|0s + 1 + utf8_bin + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + int(10) unsigned|0s + 1 + + + 11 + int(10) unsigned|0s + 1 + + + 12 + blob|0s + 1 + + + 13 + The channel on which the slave is connected to a source. Used in Multisource Replication + char(64)|0s + 1 + + + 1 + Channel_name +Id + 1 + + + 1 + timestamp(6)|0s + 1 + CURRENT_TIMESTAMP(6) + CURRENT_TIMESTAMP(6) + + + 2 + mediumtext|0s + 1 + + + 3 + time(6)|0s + 1 + + + 4 + time(6)|0s + 1 + + + 5 + int(11)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 7 + varchar(512)|0s + 1 + + + 8 + int(11)|0s + 1 + + + 9 + int(11)|0s + 1 + + + 10 + int(10) unsigned|0s + 1 + + + 11 + mediumblob|0s + 1 + + + 12 + bigint(21) unsigned|0s + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(64)|0s + 1 + '' + + + 3 + char(32)|0s + 1 + '' + + + 4 + char(64)|0s + 1 + '' + + + 5 + char(93)|0s + 1 + '' + + + 6 + timestamp|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 7 + set('Select', 'Insert', 'Update', 'Delete', 'Create', 'Drop', 'Grant', 'References', 'Index', 'Alter', 'Create View', 'Show view', 'Trigger')|0e + 1 + '' + utf8_general_ci + + + 8 + set('Select', 'Insert', 'Update', 'References')|0e + 1 + '' + utf8_general_ci + + + Grantor + btree + + + 1 + Host +Db +User +Table_name + 1 + + + 1 + int(10) unsigned|0s + 1 + null + + + 2 + enum('Y', 'N')|0e + 1 + 'N' + + + 1 + Time_zone_id + 1 + + + 1 + bigint(20)|0s + 1 + + + 2 + int(11)|0s + 1 + + + 1 + Transition_time + 1 + + + 1 + char(64)|0s + 1 + + + 2 + int(10) unsigned|0s + 1 + + + 1 + Name + 1 + + + 1 + int(10) unsigned|0s + 1 + + + 2 + bigint(20)|0s + 1 + + + 3 + int(10) unsigned|0s + 1 + + + 1 + Time_zone_id +Transition_time + 1 + + + 1 + int(10) unsigned|0s + 1 + + + 2 + int(10) unsigned|0s + 1 + + + 3 + int(11)|0s + 1 + 0 + + + 4 + tinyint(3) unsigned|0s + 1 + 0 + + + 5 + char(8)|0s + 1 + '' + + + 1 + Time_zone_id +Transition_type_id + 1 + + + 1 + char(60)|0s + 1 + '' + + + 2 + char(32)|0s + 1 + '' + + + 3 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 4 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 5 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 6 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 7 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 8 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 9 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 10 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 11 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 12 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 13 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 14 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 15 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 16 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 17 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 18 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 19 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 20 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 21 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 22 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 23 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 24 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 25 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 26 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 27 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 28 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 29 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 30 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 31 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 32 + enum('', 'ANY', 'X509', 'SPECIFIED')|0e + 1 + '' + utf8_general_ci + + + 33 + blob|0s + 1 + + + 34 + blob|0s + 1 + + + 35 + blob|0s + 1 + + + 36 + int(11) unsigned|0s + 1 + 0 + + + 37 + int(11) unsigned|0s + 1 + 0 + + + 38 + int(11) unsigned|0s + 1 + 0 + + + 39 + int(11) unsigned|0s + 1 + 0 + + + 40 + char(64)|0s + 1 + 'caching_sha2_password' + + + 41 + text|0s + + + 42 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 43 + timestamp|0s + + + 44 + smallint(5) unsigned|0s + + + 45 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 46 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 47 + enum('N', 'Y')|0e + 1 + 'N' + utf8_general_ci + + + 48 + smallint(5) unsigned|0s + + + 49 + smallint(5) unsigned|0s + + + 1 + Host +User + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + bigint(20)|0s + 1 + + + 4 + bigint(20)|0s + 1 + + + USER +HOST + 1 + hash + + + USER +HOST + ACCOUNT + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + NAME + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + varchar(32)|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + bigint(20) unsigned|0s + + + 5 + bigint(20) unsigned|0s + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + varchar(128)|0s + 1 + + + 8 + bigint(20) unsigned|0s + + + 9 + bigint(20) unsigned|0s + + + 10 + bigint(20) unsigned|0s + + + 11 + bigint(20) unsigned|0s + 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 + varchar(32)|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + bigint(20) unsigned|0s + + + 5 + bigint(20) unsigned|0s + + + 6 + varchar(64)|0s + + + 7 + varchar(64)|0s + + + 8 + varchar(64)|0s + + + 9 + varchar(64)|0s + + + 10 + varchar(64)|0s + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + varchar(32)|0s + 1 + + + 13 + varchar(32)|0s + 1 + + + 14 + varchar(32)|0s + 1 + + + 15 + varchar(8192)|0s + + + ENGINE_TRANSACTION_ID +ENGINE + hash + + + THREAD_ID +EVENT_ID + hash + + + OBJECT_SCHEMA +OBJECT_NAME +PARTITION_NAME +SUBPARTITION_NAME + hash + + + 1 + ENGINE_LOCK_ID +ENGINE + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + int(11)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(5)|0s + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + timestamp|0s + '0000-00-00 00:00:00' + + + 9 + timestamp|0s + '0000-00-00 00:00:00' + + + USER +HOST +ERROR_NUMBER + 1 + hash + + + USER +HOST +ERROR_NUMBER + ACCOUNT + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + int(11)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(5)|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + timestamp|0s + '0000-00-00 00:00:00' + + + 8 + timestamp|0s + '0000-00-00 00:00:00' + + + HOST +ERROR_NUMBER + 1 + hash + + + HOST +ERROR_NUMBER + HOST + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + int(11)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(5)|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + timestamp|0s + '0000-00-00 00:00:00' + + + 8 + timestamp|0s + '0000-00-00 00:00:00' + + + THREAD_ID +ERROR_NUMBER + 1 + hash + + + THREAD_ID +ERROR_NUMBER + THREAD_ID + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + int(11)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(5)|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + timestamp|0s + '0000-00-00 00:00:00' + + + 8 + timestamp|0s + '0000-00-00 00:00:00' + + + USER +ERROR_NUMBER + 1 + hash + + + USER +ERROR_NUMBER + USER + + + 1 + int(11)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(5)|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + timestamp|0s + '0000-00-00 00:00:00' + + + 7 + timestamp|0s + '0000-00-00 00:00:00' + + + ERROR_NUMBER + 1 + hash + + + ERROR_NUMBER + ERROR_NUMBER + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + bigint(20) unsigned|0s + + + 10 + bigint(20) unsigned|0s + + + 11 + bigint(20) unsigned|0s + + + 12 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + bigint(20) unsigned|0s + + + 10 + bigint(20) unsigned|0s + + + 11 + bigint(20) unsigned|0s + + + 12 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + bigint(20) unsigned|0s + + + 10 + bigint(20) unsigned|0s + + + 11 + bigint(20) unsigned|0s + + + 12 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + varchar(128)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + USER +HOST +EVENT_NAME + 1 + hash + + + USER +HOST +EVENT_NAME + ACCOUNT + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + HOST +EVENT_NAME + 1 + hash + + + HOST +EVENT_NAME + HOST + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 1 + THREAD_ID +EVENT_NAME + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + USER +EVENT_NAME + 1 + hash + + + USER +EVENT_NAME + USER + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 1 + EVENT_NAME + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + bigint(20) unsigned|0s + 1 + + + 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(20) unsigned|0s + + + 18 + int(11)|0s + + + 19 + varchar(5)|0s + + + 20 + varchar(128)|0s + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + bigint(20) unsigned|0s + 1 + + + 34 + bigint(20) unsigned|0s + 1 + + + 35 + bigint(20) unsigned|0s + 1 + + + 36 + bigint(20) unsigned|0s + 1 + + + 37 + bigint(20) unsigned|0s + 1 + + + 38 + bigint(20) unsigned|0s + 1 + + + 39 + bigint(20) unsigned|0s + + + 40 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 41 + int(11)|0s + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + int(10) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + double(7,6 digit)|0s + 1 + + + SCHEMA_NAME +DIGEST +BUCKET_NUMBER + 1 + hash + + + SCHEMA_NAME +DIGEST +BUCKET_NUMBER + SCHEMA_NAME + + + 1 + int(10) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + double(7,6 digit)|0s + 1 + + + 1 + BUCKET_NUMBER + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + bigint(20) unsigned|0s + 1 + + + 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(20) unsigned|0s + + + 18 + int(11)|0s + + + 19 + varchar(5)|0s + + + 20 + varchar(128)|0s + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + bigint(20) unsigned|0s + 1 + + + 34 + bigint(20) unsigned|0s + 1 + + + 35 + bigint(20) unsigned|0s + 1 + + + 36 + bigint(20) unsigned|0s + 1 + + + 37 + bigint(20) unsigned|0s + 1 + + + 38 + bigint(20) unsigned|0s + 1 + + + 39 + bigint(20) unsigned|0s + + + 40 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 41 + int(11)|0s + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + bigint(20) unsigned|0s + 1 + + + 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(20) unsigned|0s + + + 18 + int(11)|0s + + + 19 + varchar(5)|0s + + + 20 + varchar(128)|0s + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + bigint(20) unsigned|0s + 1 + + + 34 + bigint(20) unsigned|0s + 1 + + + 35 + bigint(20) unsigned|0s + 1 + + + 36 + bigint(20) unsigned|0s + 1 + + + 37 + bigint(20) unsigned|0s + 1 + + + 38 + bigint(20) unsigned|0s + 1 + + + 39 + bigint(20) unsigned|0s + + + 40 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 41 + int(11)|0s + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + varchar(128)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + USER +HOST +EVENT_NAME + 1 + hash + + + USER +HOST +EVENT_NAME + ACCOUNT + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + longtext|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + timestamp(6)|0s + 1 + '0000-00-00 00:00:00.000000' + + + 29 + timestamp(6)|0s + 1 + '0000-00-00 00:00:00.000000' + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + longtext|0s + + + 34 + timestamp(6)|0s + 1 + '0000-00-00 00:00:00.000000' + + + 35 + bigint(20) unsigned|0s + 1 + + + SCHEMA_NAME +DIGEST + 1 + hash + + + SCHEMA_NAME +DIGEST + SCHEMA_NAME + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + HOST +EVENT_NAME + 1 + hash + + + HOST +EVENT_NAME + HOST + + + 1 + enum('EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER')|0e + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 1 + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 1 + THREAD_ID +EVENT_NAME + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + USER +EVENT_NAME + 1 + hash + + + USER +EVENT_NAME + USER + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 1 + EVENT_NAME + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e + + + 6 + bigint(20) unsigned|0s + + + 7 + varchar(64)|0s + + + 8 + int(11)|0s + + + 9 + varchar(130)|0s + + + 10 + varchar(130)|0s + + + 11 + varchar(64)|0s + + + 12 + varchar(64)|0s + + + 13 + bigint(20) unsigned|0s + + + 14 + bigint(20) unsigned|0s + + + 15 + bigint(20) unsigned|0s + + + 16 + enum('READ ONLY', 'READ WRITE')|0e + + + 17 + varchar(64)|0s + + + 18 + enum('YES', 'NO')|0e + 1 + + + 19 + bigint(20) unsigned|0s + + + 20 + bigint(20) unsigned|0s + + + 21 + bigint(20) unsigned|0s + + + 22 + bigint(20) unsigned|0s + + + 23 + bigint(20) unsigned|0s + + + 24 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e + + + 6 + bigint(20) unsigned|0s + + + 7 + varchar(64)|0s + + + 8 + int(11)|0s + + + 9 + varchar(130)|0s + + + 10 + varchar(130)|0s + + + 11 + varchar(64)|0s + + + 12 + varchar(64)|0s + + + 13 + bigint(20) unsigned|0s + + + 14 + bigint(20) unsigned|0s + + + 15 + bigint(20) unsigned|0s + + + 16 + enum('READ ONLY', 'READ WRITE')|0e + + + 17 + varchar(64)|0s + + + 18 + enum('YES', 'NO')|0e + 1 + + + 19 + bigint(20) unsigned|0s + + + 20 + bigint(20) unsigned|0s + + + 21 + bigint(20) unsigned|0s + + + 22 + bigint(20) unsigned|0s + + + 23 + bigint(20) unsigned|0s + + + 24 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e + + + 6 + bigint(20) unsigned|0s + + + 7 + varchar(64)|0s + + + 8 + int(11)|0s + + + 9 + varchar(130)|0s + + + 10 + varchar(130)|0s + + + 11 + varchar(64)|0s + + + 12 + varchar(64)|0s + + + 13 + bigint(20) unsigned|0s + + + 14 + bigint(20) unsigned|0s + + + 15 + bigint(20) unsigned|0s + + + 16 + enum('READ ONLY', 'READ WRITE')|0e + + + 17 + varchar(64)|0s + + + 18 + enum('YES', 'NO')|0e + 1 + + + 19 + bigint(20) unsigned|0s + + + 20 + bigint(20) unsigned|0s + + + 21 + bigint(20) unsigned|0s + + + 22 + bigint(20) unsigned|0s + + + 23 + bigint(20) unsigned|0s + + + 24 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + varchar(128)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + USER +HOST +EVENT_NAME + 1 + hash + + + USER +HOST +EVENT_NAME + ACCOUNT + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + HOST +EVENT_NAME + 1 + hash + + + HOST +EVENT_NAME + HOST + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 1 + THREAD_ID +EVENT_NAME + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + USER +EVENT_NAME + 1 + hash + + + USER +EVENT_NAME + USER + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 1 + EVENT_NAME + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + int(10) unsigned|0s + + + 10 + varchar(64)|0s + + + 11 + varchar(512)|0s + + + 12 + varchar(64)|0s + + + 13 + varchar(64)|0s + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + + + 16 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 17 + varchar(32)|0s + 1 + + + 18 + bigint(20)|0s + + + 19 + int(10) unsigned|0s + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + int(10) unsigned|0s + + + 10 + varchar(64)|0s + + + 11 + varchar(512)|0s + + + 12 + varchar(64)|0s + + + 13 + varchar(64)|0s + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + + + 16 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 17 + varchar(32)|0s + 1 + + + 18 + bigint(20)|0s + + + 19 + int(10) unsigned|0s + + + 1 + THREAD_ID +EVENT_ID + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(128)|0s + 1 + + + 5 + varchar(64)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + + + 8 + bigint(20) unsigned|0s + + + 9 + int(10) unsigned|0s + + + 10 + varchar(64)|0s + + + 11 + varchar(512)|0s + + + 12 + varchar(64)|0s + + + 13 + varchar(64)|0s + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + + + 16 + enum('TRANSACTION', 'STATEMENT', 'STAGE', 'WAIT')|0e + + + 17 + varchar(32)|0s + 1 + + + 18 + bigint(20)|0s + + + 19 + int(10) unsigned|0s + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + varchar(128)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + USER +HOST +EVENT_NAME + 1 + hash + + + USER +HOST +EVENT_NAME + ACCOUNT + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + HOST +EVENT_NAME + 1 + hash + + + HOST +EVENT_NAME + HOST + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + EVENT_NAME + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 1 + THREAD_ID +EVENT_NAME + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + USER +EVENT_NAME + 1 + hash + + + USER +EVENT_NAME + USER + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 1 + EVENT_NAME + 1 + + + 1 + varchar(512)|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + int(10) unsigned|0s + 1 + + + EVENT_NAME + hash + + + 1 + FILE_NAME + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20)|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20)|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 1 + EVENT_NAME + 1 + + + 1 + varchar(512)|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20)|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20)|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + FILE_NAME + hash + + + EVENT_NAME + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(1024)|0s + + + 1 + VARIABLE_NAME + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(1024)|0s + + + 1 + VARIABLE_NAME + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(255)|0s + utf8mb4_bin + + + 3 + enum('YES', 'NO')|0e + 1 + + + 4 + bigint(20)|0s + 1 + + + 5 + bigint(20)|0s + 1 + + + 6 + bigint(20)|0s + 1 + + + 7 + bigint(20)|0s + 1 + + + 8 + bigint(20)|0s + 1 + + + 9 + bigint(20)|0s + 1 + + + 10 + bigint(20)|0s + 1 + + + 11 + bigint(20)|0s + 1 + + + 12 + bigint(20)|0s + 1 + + + 13 + bigint(20)|0s + 1 + + + 14 + bigint(20)|0s + 1 + + + 15 + bigint(20)|0s + 1 + + + 16 + bigint(20)|0s + 1 + + + 17 + bigint(20)|0s + 1 + + + 18 + bigint(20)|0s + 1 + + + 19 + bigint(20)|0s + 1 + + + 20 + bigint(20)|0s + 1 + + + 21 + bigint(20)|0s + 1 + + + 22 + bigint(20)|0s + 1 + + + 23 + bigint(20)|0s + 1 + + + 24 + bigint(20)|0s + 1 + + + 25 + bigint(20)|0s + 1 + + + 26 + timestamp|0s + 1 + '0000-00-00 00:00:00' + + + 27 + timestamp|0s + 1 + '0000-00-00 00:00:00' + + + 28 + timestamp|0s + '0000-00-00 00:00:00' + + + 29 + timestamp|0s + '0000-00-00 00:00:00' + + + HOST + hash + + + 1 + IP + 1 + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + bigint(20)|0s + 1 + + + 3 + bigint(20)|0s + 1 + + + HOST + 1 + hash + + + HOST + HOST + + + 1 + char(36)|0s + 1 + utf8mb4_bin + + + 2 + json|0s + 1 + + + 3 + json|0s + 1 + + + 4 + json|0s + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + varchar(128)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20)|0s + 1 + + + 9 + bigint(20)|0s + 1 + + + 10 + bigint(20)|0s + 1 + + + 11 + bigint(20)|0s + 1 + + + 12 + bigint(20)|0s + 1 + + + 13 + bigint(20)|0s + 1 + + + USER +HOST +EVENT_NAME + 1 + hash + + + USER +HOST +EVENT_NAME + ACCOUNT + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20)|0s + 1 + + + 8 + bigint(20)|0s + 1 + + + 9 + bigint(20)|0s + 1 + + + 10 + bigint(20)|0s + 1 + + + 11 + bigint(20)|0s + 1 + + + 12 + bigint(20)|0s + 1 + + + HOST +EVENT_NAME + 1 + hash + + + HOST +EVENT_NAME + HOST + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20)|0s + 1 + + + 8 + bigint(20)|0s + 1 + + + 9 + bigint(20)|0s + 1 + + + 10 + bigint(20)|0s + 1 + + + 11 + bigint(20)|0s + 1 + + + 12 + bigint(20)|0s + 1 + + + 1 + THREAD_ID +EVENT_NAME + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20)|0s + 1 + + + 8 + bigint(20)|0s + 1 + + + 9 + bigint(20)|0s + 1 + + + 10 + bigint(20)|0s + 1 + + + 11 + bigint(20)|0s + 1 + + + 12 + bigint(20)|0s + 1 + + + USER +EVENT_NAME + 1 + hash + + + USER +EVENT_NAME + USER + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20)|0s + 1 + + + 7 + bigint(20)|0s + 1 + + + 8 + bigint(20)|0s + 1 + + + 9 + bigint(20)|0s + 1 + + + 10 + bigint(20)|0s + 1 + + + 11 + bigint(20)|0s + 1 + + + 1 + EVENT_NAME + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(64)|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + varchar(32)|0s + 1 + + + 7 + varchar(32)|0s + 1 + + + 8 + varchar(32)|0s + 1 + + + 9 + varchar(64)|0s + + + 10 + bigint(20) unsigned|0s + + + 11 + bigint(20) unsigned|0s + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME +COLUMN_NAME + hash + + + OWNER_THREAD_ID +OWNER_EVENT_ID + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + NAME + hash + + + LOCKED_BY_THREAD_ID + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + 1 + hash + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + OBJECT + + + 1 + enum('CYCLE', 'NANOSECOND', 'MICROSECOND', 'MILLISECOND')|0e + 1 + + + 2 + bigint(20)|0s + + + 3 + bigint(20)|0s + + + 4 + bigint(20)|0s + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(1024)|0s + + + 1 + VARIABLE_NAME + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + varchar(64)|0s + + + 4 + longtext|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + enum('EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER')|0e + + + 8 + varchar(64)|0s + + + 9 + varchar(64)|0s + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + bigint(20) unsigned|0s + 1 + + + 34 + bigint(20) unsigned|0s + 1 + + + 35 + bigint(20) unsigned|0s + 1 + + + OWNER_THREAD_ID +OWNER_EVENT_ID + 1 + hash + + + STATEMENT_ID + hash + + + STATEMENT_NAME + hash + + + OWNER_OBJECT_TYPE +OWNER_OBJECT_SCHEMA +OWNER_OBJECT_NAME + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + OWNER_THREAD_ID +OWNER_EVENT_ID + OWNER_THREAD_ID + + + 1 + char(64)|0s + 1 + + + 2 + int(11)|0s + 1 + + + 1 + CHANNEL_NAME + 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 + 1 + '0000-00-00 00:00:00.000000' + + + 6 + bigint(20) unsigned|0s + 1 + 0 + + + 1 + char(64)|0s + 1 + + + 2 + longtext|0s + 1 + + + 3 + enum('STARTUP_OPTIONS', 'CHANGE_REPLICATION_FILTER')|0e + 1 + + + 4 + timestamp(6)|0s + 1 + '0000-00-00 00:00:00.000000' + + + 1 + char(64)|0s + 1 + + + 2 + enum('ON', 'OFF')|0e + 1 + + + 3 + int(10) unsigned|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 1 + CHANNEL_NAME + 1 + + + 1 + char(64)|0s + 1 + + + 2 + bigint(20) unsigned|0s + + + 3 + enum('ON', 'OFF')|0e + 1 + + + 4 + int(11)|0s + 1 + + + 5 + varchar(1024)|0s + 1 + + + 6 + timestamp(6)|0s + 1 + + + 7 + char(57)|0s + + + 8 + timestamp(6)|0s + 1 + + + 9 + timestamp(6)|0s + 1 + + + 10 + timestamp(6)|0s + 1 + + + 11 + timestamp(6)|0s + 1 + + + 12 + char(57)|0s + + + 13 + timestamp(6)|0s + 1 + + + 14 + timestamp(6)|0s + 1 + + + 15 + timestamp(6)|0s + 1 + + + THREAD_ID + hash + + + 1 + CHANNEL_NAME + 1 + + + 1 + char(64)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + enum('ON', 'OFF')|0e + 1 + + + 5 + int(11)|0s + 1 + + + 6 + varchar(1024)|0s + 1 + + + 7 + timestamp(6)|0s + 1 + + + 8 + char(57)|0s + + + 9 + timestamp(6)|0s + 1 + + + 10 + timestamp(6)|0s + 1 + + + 11 + timestamp(6)|0s + 1 + + + 12 + timestamp(6)|0s + 1 + + + 13 + char(57)|0s + + + 14 + timestamp(6)|0s + 1 + + + 15 + timestamp(6)|0s + 1 + + + 16 + timestamp(6)|0s + 1 + + + THREAD_ID + hash + + + 1 + CHANNEL_NAME +WORKER_ID + 1 + + + 1 + char(64)|0s + 1 + + + 2 + char(60)|0s + 1 + utf8mb4_bin + + + 3 + int(11)|0s + 1 + + + 4 + char(32)|0s + 1 + utf8mb4_bin + + + 5 + char(60)|0s + 1 + utf8mb4_bin + + + 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(11)|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + Number of seconds after which a heartbeat will be sent . + double(10,3 digit) unsigned|0s + 1 + + + 19 + varchar(255)|0s + 1 + + + 20 + varchar(512)|0s + 1 + + + 21 + enum('YES', 'NO')|0e + 1 + + + 1 + CHANNEL_NAME + 1 + + + 1 + char(64)|0s + 1 + + + 2 + char(36)|0s + 1 + utf8mb4_bin + + + 3 + char(36)|0s + 1 + utf8mb4_bin + + + 4 + bigint(20) unsigned|0s + + + 5 + enum('ON', 'OFF', 'CONNECTING')|0e + 1 + + + 6 + bigint(20) unsigned|0s + 1 + 0 + + + 7 + Shows when the most recent heartbeat signal was received. + timestamp(6)|0s + 1 + + + 8 + longtext|0s + 1 + + + 9 + int(11)|0s + 1 + + + 10 + varchar(1024)|0s + 1 + + + 11 + timestamp(6)|0s + 1 + + + 12 + char(57)|0s + + + 13 + timestamp(6)|0s + 1 + + + 14 + timestamp(6)|0s + 1 + + + 15 + timestamp(6)|0s + 1 + + + 16 + timestamp(6)|0s + 1 + + + 17 + char(57)|0s + + + 18 + timestamp(6)|0s + 1 + + + 19 + timestamp(6)|0s + 1 + + + 20 + timestamp(6)|0s + 1 + + + THREAD_ID + hash + + + 1 + CHANNEL_NAME + 1 + + + 1 + char(64)|0s + 1 + + + 2 + char(60)|0s + 1 + utf8mb4_bin + + + 3 + char(36)|0s + 1 + utf8mb4_bin + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + longtext|0s + 1 + + + 9 + text|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 1 + char(64)|0s + 1 + + + 2 + char(36)|0s + 1 + utf8mb4_bin + + + 3 + char(60)|0s + 1 + utf8mb4_bin + + + 4 + int(11)|0s + + + 5 + char(64)|0s + 1 + utf8mb4_bin + + + 6 + char(64)|0s + 1 + utf8mb4_bin + + + 7 + char(64)|0s + 1 + utf8mb4_bin + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + int(10) unsigned|0s + 1 + + + NAME + hash + + + WRITE_LOCKED_BY_THREAD_ID + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(32)|0s + 1 + + + 3 + varchar(1024)|0s + + + 4 + int(11)|0s + + + 1 + PROCESSLIST_ID +ATTR_NAME + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(32)|0s + 1 + + + 3 + varchar(1024)|0s + + + 4 + int(11)|0s + + + 1 + PROCESSLIST_ID +ATTR_NAME + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(1024)|0s + + + 1 + VARIABLE_NAME + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(1024)|0s + + + 1 + VARIABLE_NAME + 1 + + + 1 + char(60)|0s + 1 + '%' + utf8mb4_bin + + + 2 + char(32)|0s + 1 + '%' + utf8mb4_bin + + + 3 + char(32)|0s + 1 + '%' + utf8mb4_bin + + + 4 + enum('YES', 'NO')|0e + 1 + 'YES' + + + 5 + enum('YES', 'NO')|0e + 1 + 'YES' + + + 1 + HOST +USER +ROLE + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + enum('YES', 'NO')|0e + 1 + + + 1 + NAME + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + enum('YES', 'NO')|0e + 1 + + + 3 + enum('YES', 'NO')|0e + + + 4 + set('singleton', 'progress', 'user', 'global_statistics', 'mutable')|0e + 1 + + + 5 + int(11)|0s + 1 + + + 6 + longtext|0s + + + 1 + NAME + 1 + + + 1 + enum('EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER')|0e + 1 + 'TABLE' + + + 2 + varchar(64)|0s + '%' + + + 3 + varchar(64)|0s + 1 + '%' + + + 4 + enum('YES', 'NO')|0e + 1 + 'YES' + + + 5 + enum('YES', 'NO')|0e + 1 + 'YES' + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + 1 + hash + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + OBJECT + + + 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(11)|0s + 1 + + + 6 + longtext|0s + + + 1 + NAME + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + + + 4 + int(11)|0s + 1 + + + 5 + varchar(64)|0s + 1 + + + 6 + int(11)|0s + 1 + + + 7 + enum('IDLE', 'ACTIVE')|0e + 1 + + + THREAD_ID + hash + + + SOCKET_ID + hash + + + IP +PORT + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 1 + EVENT_NAME + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + EVENT_NAME + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + char(60)|0s + utf8mb4_bin + + + 3 + varchar(64)|0s + 1 + + + 4 + varchar(1024)|0s + + + USER +HOST +VARIABLE_NAME + 1 + hash + + + USER +HOST +VARIABLE_NAME + ACCOUNT + + + 1 + char(60)|0s + utf8mb4_bin + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(1024)|0s + + + HOST +VARIABLE_NAME + 1 + hash + + + HOST +VARIABLE_NAME + HOST + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(1024)|0s + + + 1 + THREAD_ID +VARIABLE_NAME + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(1024)|0s + + + USER +VARIABLE_NAME + 1 + hash + + + USER +VARIABLE_NAME + USER + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(64)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + varchar(64)|0s + + + 8 + varchar(64)|0s + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + hash + + + OWNER_THREAD_ID +OWNER_EVENT_ID + hash + + + 1 + OBJECT_INSTANCE_BEGIN + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + varchar(64)|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + bigint(20) unsigned|0s + 1 + + + 34 + bigint(20) unsigned|0s + 1 + + + 35 + bigint(20) unsigned|0s + 1 + + + 36 + bigint(20) unsigned|0s + 1 + + + 37 + bigint(20) unsigned|0s + 1 + + + 38 + bigint(20) unsigned|0s + 1 + + + 39 + bigint(20) unsigned|0s + 1 + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME +INDEX_NAME + 1 + hash + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME +INDEX_NAME + OBJECT + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + bigint(20) unsigned|0s + 1 + + + 34 + bigint(20) unsigned|0s + 1 + + + 35 + bigint(20) unsigned|0s + 1 + + + 36 + bigint(20) unsigned|0s + 1 + + + 37 + bigint(20) unsigned|0s + 1 + + + 38 + bigint(20) unsigned|0s + 1 + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + 1 + hash + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + OBJECT + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + bigint(20) unsigned|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + bigint(20) unsigned|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + bigint(20) unsigned|0s + 1 + + + 22 + bigint(20) unsigned|0s + 1 + + + 23 + bigint(20) unsigned|0s + 1 + + + 24 + bigint(20) unsigned|0s + 1 + + + 25 + bigint(20) unsigned|0s + 1 + + + 26 + bigint(20) unsigned|0s + 1 + + + 27 + bigint(20) unsigned|0s + 1 + + + 28 + bigint(20) unsigned|0s + 1 + + + 29 + bigint(20) unsigned|0s + 1 + + + 30 + bigint(20) unsigned|0s + 1 + + + 31 + bigint(20) unsigned|0s + 1 + + + 32 + bigint(20) unsigned|0s + 1 + + + 33 + bigint(20) unsigned|0s + 1 + + + 34 + bigint(20) unsigned|0s + 1 + + + 35 + bigint(20) unsigned|0s + 1 + + + 36 + bigint(20) unsigned|0s + 1 + + + 37 + bigint(20) unsigned|0s + 1 + + + 38 + bigint(20) unsigned|0s + 1 + + + 39 + bigint(20) unsigned|0s + 1 + + + 40 + bigint(20) unsigned|0s + 1 + + + 41 + bigint(20) unsigned|0s + 1 + + + 42 + bigint(20) unsigned|0s + 1 + + + 43 + bigint(20) unsigned|0s + 1 + + + 44 + bigint(20) unsigned|0s + 1 + + + 45 + bigint(20) unsigned|0s + 1 + + + 46 + bigint(20) unsigned|0s + 1 + + + 47 + bigint(20) unsigned|0s + 1 + + + 48 + bigint(20) unsigned|0s + 1 + + + 49 + bigint(20) unsigned|0s + 1 + + + 50 + bigint(20) unsigned|0s + 1 + + + 51 + bigint(20) unsigned|0s + 1 + + + 52 + bigint(20) unsigned|0s + 1 + + + 53 + bigint(20) unsigned|0s + 1 + + + 54 + bigint(20) unsigned|0s + 1 + + + 55 + bigint(20) unsigned|0s + 1 + + + 56 + bigint(20) unsigned|0s + 1 + + + 57 + bigint(20) unsigned|0s + 1 + + + 58 + bigint(20) unsigned|0s + 1 + + + 59 + bigint(20) unsigned|0s + 1 + + + 60 + bigint(20) unsigned|0s + 1 + + + 61 + bigint(20) unsigned|0s + 1 + + + 62 + bigint(20) unsigned|0s + 1 + + + 63 + bigint(20) unsigned|0s + 1 + + + 64 + bigint(20) unsigned|0s + 1 + + + 65 + bigint(20) unsigned|0s + 1 + + + 66 + bigint(20) unsigned|0s + 1 + + + 67 + bigint(20) unsigned|0s + 1 + + + 68 + bigint(20) unsigned|0s + 1 + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + 1 + hash + + + OBJECT_TYPE +OBJECT_SCHEMA +OBJECT_NAME + OBJECT + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + 1 + + + 3 + varchar(10)|0s + 1 + + + 4 + bigint(20) unsigned|0s + + + 5 + varchar(32)|0s + + + 6 + varchar(60)|0s + + + 7 + varchar(64)|0s + + + 8 + varchar(16)|0s + + + 9 + bigint(20)|0s + + + 10 + varchar(64)|0s + + + 11 + longtext|0s + + + 12 + bigint(20) unsigned|0s + + + 13 + varchar(64)|0s + + + 14 + enum('YES', 'NO')|0e + 1 + + + 15 + enum('YES', 'NO')|0e + 1 + + + 16 + varchar(16)|0s + + + 17 + bigint(20) unsigned|0s + + + 18 + varchar(64)|0s + + + NAME + hash + + + PROCESSLIST_ID + hash + + + PROCESSLIST_USER +PROCESSLIST_HOST + hash + + + PROCESSLIST_HOST + hash + + + THREAD_OS_ID + hash + + + RESOURCE_GROUP + hash + + + 1 + THREAD_ID + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(20)|0s + 1 + + + 3 + varchar(20)|0s + 1 + + + 4 + varchar(1024)|0s + + + 5 + bigint(20)|0s + + + 1 + UDF_NAME + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + longblob|0s + + + 1 + THREAD_ID +VARIABLE_NAME + 1 + + + 1 + char(32)|0s + utf8mb4_bin + + + 2 + bigint(20)|0s + 1 + + + 3 + bigint(20)|0s + 1 + + + USER + 1 + hash + + + USER + USER + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(64)|0s + 1 + + + 3 + varchar(1024)|0s + + + 1 + THREAD_ID +VARIABLE_NAME + 1 + + + 1 + varchar(64)|0s + 1 + + + 2 + enum('COMPILED', 'GLOBAL', 'SERVER', 'EXPLICIT', 'EXTRA', 'USER', 'LOGIN', 'COMMAND_LINE', 'PERSISTED', 'DYNAMIC')|0e + 'COMPILED' + + + 3 + varchar(1024)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(64)|0s + + + 6 + timestamp(6)|0s + + + 7 + char(32)|0s + utf8mb4_bin + + + 8 + char(60)|0s + utf8mb4_bin + + + 1 + 账户标识 + bigint(20)|0s + 1 + null + + + 2 + 账户 + varchar(100)|0s + 1 + + + 3 + 密码 + varchar(100)|0s + 1 + + + 1 + id + 1 + + + 1 + 日程主键 + bigint(20)|0s + 1 + null + + + 2 + 日常开始日期时间 + datetime|0s + 1 + + + 3 + 日程结束日期时间 + datetime|0s + 1 + + + 4 + 工作时长(小时) + decimal(8,2 digit)|0s + 1 + + + 5 + 休息开始时间 + datetime|0s + + + 6 + 休息结束时间 + datetime|0s + + + 7 + 休息时长(小时) + decimal(8,2 digit)|0s + + + 8 + 日程暂存id + bigint(20)|0s + + + 9 + 业务班组ID + varchar(255)|0s + + + 10 + 基础班组ID(查询) + bigint(20)|0s + 1 + + + 11 + 所属组织 + bigint(20)|0s + + + 12 + 所属组织名称 + varchar(90)|0s + + + 13 + 日程创建者 + varchar(32)|0s + + + 14 + 日程创建时间 + datetime|0s + + + 15 + 日程更新者 + varchar(32)|0s + + + 16 + 更新时间 + datetime|0s + 1 + + + 17 + 状态(1-发布、0-暂存) + tinyint(1)|0s + 1 + + + 18 + 是否加班(1-加班、0-未加班) + tinyint(1)|0s + + + 19 + 加班开始时间 + datetime|0s + + + 20 + 加班结束时间 + datetime|0s + + + 21 + 日程删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 0 + + + 1 + id + 1 + + + 1 + 主键ID + bigint(20)|0s + 1 + null + + + 2 + (0-轮班制、1-行政班) + int(11)|0s + + + 3 + 班制(工作几日) + varchar(255)|0s + + + 4 + 班制(休息几日) + varchar(255)|0s + + + 5 + 日程开始时间 + time|0s + + + 6 + 日程结束时间 + time|0s + + + 7 + 排版班组名称(多个班组逗号隔开) + varchar(255)|0s + + + 8 + 排班班组带顺序的ID(多个班组逗号隔开) + varchar(255)|0s + + + 9 + 排班周期_开始时间 + datetime|0s + + + 10 + 排班周期_结束时间 + datetime|0s + + + 11 + 记录所属组织Id + bigint(20)|0s + + + 12 + 创建人 + varchar(32)|0s + + + 13 + 创建时间 + datetime|0s + 1 + + + 14 + 更新人 + varchar(32)|0s + + + 15 + 更新时间 + datetime|0s + 1 + + + 16 + 状态(1-发布、0-暂存) + tinyint(1)|0s + 1 + + + 17 + 删除标识(1:删除 0:正常) + tinyint(1)|0s + 1 + + + 1 + id + 1 + + + 1 + 主键 + bigint(20)|0s + 1 + null + + + 2 + 岗位名称 + varchar(90)|0s + + + 3 + 所属组织id(-1 表示归属系统) + bigint(20)|0s + + + 4 + 所属组织名称 + varchar(90)|0s + + + 5 + 创建者 + varchar(32)|0s + + + 6 + 更新者 + varchar(32)|0s + + + 7 + 创建时间 + datetime|0s + 1 + + + 8 + 更新时间 + datetime|0s + 1 + + + 9 + 员工数据限制 + int(11)|0s + + + 10 + 岗位人员限制(JSON字符串) + varchar(900)|0s + + + 11 + 岗位删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 12 + 岗位基础信息id + bigint(20)|0s + 1 + + + 1 + id + 1 + + + 1 + 班组主键 + bigint(20)|0s + 1 + null + + + 2 + 班组名称 + varchar(90)|0s + + + 3 + 班组负责人 + bigint(20)|0s + + + 4 + 班组负责人名称 + varchar(90)|0s + + + 5 + 所属组织ID + bigint(20)|0s + + + 6 + 组织名称 + varchar(90)|0s + + + 7 + 班组创建者 + varchar(32)|0s + + + 8 + 班组创建时间 + datetime|0s + 1 + + + 9 + 班组更新者 + varchar(32)|0s + + + 10 + 更新时间 + datetime|0s + 1 + + + 11 + 班组删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 主键ID + bigint(20)|0s + 1 + null + + + 2 + 数据范围 + varchar(32)|0s + 1 + + + 3 + 数据范围类型 + varchar(32)|0s + 1 + + + 4 + 附加信息 + varchar(255)|0s + + + 5 + 状态 (1:启用,0:停用) + tinyint(1)|0s + 1 + + + 6 + 创建人 + varchar(32)|0s + + + 7 + 创建时间 + datetime|0s + 1 + + + 8 + 更新人 + varchar(32)|0s + + + 9 + 更新时间 + datetime|0s + 1 + + + 10 + 删除标识(1:删除 0:正常) + tinyint(1)|0s + 1 + + + 1 + ID + 1 + + + 1 + 角色主键 + bigint(20)|0s + 1 + null + + + 2 + 角色名称 + varchar(90)|0s + + + 3 + 所属组织 例如:-1 表示归属系统 + bigint(20)|0s + + + 4 + 创建者 + varchar(32)|0s + + + 5 + 创建时间 + datetime|0s + + + 6 + 更新者 + varchar(32)|0s + + + 7 + 更新时间 + datetime|0s + 1 + + + 8 + 角色状态(1-启用、0-停用) + tinyint(1)|0s + 1 + + + 9 + 角色删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 0 + + + 10 + 描述 + varchar(255)|0s + + + 1 + id + 1 + + + 1 + int(11)|0s + 1 + + + 2 + varchar(50)|0s + + + 3 + varchar(200)|0s + 1 + + + 4 + varchar(20)|0s + 1 + + + 5 + varchar(1000)|0s + 1 + + + 6 + int(11)|0s + + + 7 + varchar(100)|0s + 1 + + + 8 + timestamp|0s + 1 + CURRENT_TIMESTAMP + + + 9 + int(11)|0s + 1 + + + 10 + tinyint(1)|0s + 1 + + + success + btree + + + 1 + installed_rank + 1 + + + 1 + 资质主键 + bigint(20)|0s + 1 + null + + + 2 + 资质名称 + varchar(90)|0s + + + 3 + 组织名称 + varchar(90)|0s + + + 4 + 组织ID + bigint(20)|0s + 1 + + + 5 + 创建者 + varchar(32)|0s + + + 6 + 创建时间 + datetime|0s + 1 + + + 7 + 更新者 + varchar(32)|0s + + + 8 + 更新时间 + datetime|0s + 1 + + + 9 + 资质删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 角色主键 + bigint(20)|0s + 1 + null + + + 2 + 角色名称 + varchar(90)|0s + + + 3 + 角色创建者 + bigint(20)|0s + + + 4 + 角色创建时间 + datetime|0s + CURRENT_TIMESTAMP + + + 5 + 角色更新者 + bigint(20)|0s + + + 6 + 角色更新时间 + datetime|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 7 + 角色状态(1-启用、0-停用) + tinyint(1)|0s + 1 + + + 8 + 角色删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 0 + + + 1 + id + 1 + + + 1 + 排班规则主键 + bigint(20)|0s + 1 + null + + + 2 + (0-轮班制、1-行政班) + tinyint(1)|0s + + + 3 + 班制(工作几日) + tinyint(1)|0s + + + 4 + 班制(休息几日) + tinyint(1)|0s + + + 5 + 开始时间 + time|0s + + + 6 + 结束时间 + time|0s + + + 7 + 日程休息状态(0-不休息、1-休息) + bit(1)|0s + + + 8 + 休息开始时间 + time|0s + + + 9 + 休息结束时间 + time|0s + + + 10 + 排班规则时段 1、当日下班 2、次日下班 + tinyint(1)|0s + + + 11 + 所属组织ID + bigint(20)|0s + + + 12 + 所属组织名称 + varchar(90)|0s + + + 13 + 排班规则创建者 + varchar(32)|0s + + + 14 + 排班规则创建时间 + datetime|0s + 1 + + + 15 + 排班规则更新者 + varchar(32)|0s + + + 16 + 排班规则更新时间 + datetime|0s + 1 + + + 17 + 排班规则删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 18 + 规则生效时间 + datetime|0s + + + 1 + id + 1 + + + 1 + 日程主键 + bigint(20)|0s + 1 + null + + + 2 + 日程日期 + datetime|0s + + + 3 + 时长 + tinyint(1)|0s + + + 4 + 部门id + bigint(20)|0s + + + 5 + 部门名称 + varchar(90)|0s + + + 6 + 日程所属科室id + bigint(20)|0s + + + 7 + 日程所属科室名称 + varchar(90)|0s + + + 8 + 日程创建者 + bigint(20)|0s + + + 9 + 日程创建时间 + datetime|0s + CURRENT_TIMESTAMP + + + 10 + 日程更新者 + bigint(20)|0s + + + 11 + 更新时间 + datetime|0s + 1 + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 12 + 日程签发字段(为用户name) + varchar(32)|0s + + + 13 + 状态(1-发布、0-暂存) + tinyint(1)|0s + 1 + + + 14 + 日程删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 0 + + + 1 + id + 1 + + + 1 + 主键 + bigint(20)|0s + 1 + null + + + 2 + 岗位名称 + varchar(90)|0s + + + 3 + 所属组织id + bigint(20)|0s + + + 4 + 所属组织名称 + varchar(90)|0s + + + 5 + 岗位创建者 + varchar(32)|0s + + + 6 + 岗位更新者 + varchar(32)|0s + + + 7 + 岗位创建时间 + datetime|0s + 1 + + + 8 + 岗位更新时间 + datetime|0s + 1 + + + 9 + 员工数据限制 + int(11)|0s + + + 10 + 岗位人员限制(JSON字符串) + varchar(900)|0s + + + 11 + 岗位删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 主键 + bigint(20)|0s + 1 + null + + + 2 + 基础岗位id + bigint(20)|0s + + + 3 + (规则)岗位上员工数量限制值 + int(11)|0s + + + 4 + 科室ID + bigint(20)|0s + + + 5 + 规则ID + varchar(255)|0s + + + 6 + 删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 主键 + bigint(20)|0s + 1 + null + + + 2 + 基础岗位表ID + bigint(20)|0s + + + 3 + 记录所属组织Id + bigint(20)|0s + + + 4 + 创建人 + varchar(32)|0s + + + 5 + 创建时间 + datetime|0s + 1 + + + 6 + 更新人 + varchar(32)|0s + + + 7 + 更新时间 + datetime|0s + 1 + + + 8 + 删除标识(1:删除 0:正常) + tinyint(1)|0s + 1 + + + 1 + id + 1 + + + 1 + 班组主键 + bigint(20)|0s + 1 + null + + + 2 + 班组名称 + varchar(90)|0s + + + 3 + 班组负责人 + bigint(20)|0s + + + 4 + 班组负责人名称 + varchar(90)|0s + + + 5 + 所属组织ID + bigint(20)|0s + + + 6 + 组织名称 + varchar(90)|0s + + + 7 + 班组创建者 + varchar(32)|0s + + + 8 + 班组创建时间 + datetime|0s + 1 + + + 9 + 班组更新者 + varchar(32)|0s + + + 10 + 更新时间 + datetime|0s + 1 + + + 11 + 班组删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 主键 + bigint(20)|0s + 1 + null + + + 2 + 业务岗位表ID + bigint(20)|0s + + + 3 + 员工表ID + bigint(20)|0s + + + 4 + 是否加班(1-加班、0-未加班) + tinyint(1)|0s + + + 5 + 加班开始时间 + datetime|0s + + + 6 + 加班结束时间 + datetime|0s + + + 7 + 日程表主键id + bigint(20)|0s + + + 8 + 原员工与岗位关联id(用于不同组换班记录原岗位id) + bigint(20)|0s + + + 9 + 换班数据id(关联另一条数据id) + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 班组岗位关联主键 + bigint(20)|0s + 1 + null + + + 2 + 班组主键 + bigint(20)|0s + 1 + + + 3 + 岗位主键 + bigint(20)|0s + 1 + + + 1 + id + 1 + + + 1 + 主键 + bigint(20)|0s + 1 + null + + + 2 + 角色主键 + bigint(20)|0s + + + 3 + 数据资源范围表ID + bigint(20)|0s + + + 4 + 岗位删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 0 + + + 1 + id + 1 + + + 1 + 主键ID + bigint(20)|0s + 1 + null + + + 2 + 记录所属组织Id + bigint(20)|0s + 1 + + + 3 + 数据角色ID + bigint(20)|0s + 1 + + + 4 + 创建者 + varchar(32)|0s + + + 5 + 创建时间 + datetime|0s + CURRENT_TIMESTAMP + + + 6 + 更新者 + varchar(32)|0s + + + 7 + 更新时间 + datetime|0s + CURRENT_TIMESTAMP + + + 8 + 角色状态(1-启用、0-停用) + tinyint(1)|0s + 1 + + + 9 + 类型:1:部门 2:科室 + tinyint(1)|0s + + + 10 + 删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 0 + + + 1 + id + 1 + + + 1 + 主键 + bigint(20)|0s + 1 + null + + + 2 + 全局实体id + bigint(20)|0s + + + 3 + 人员的唯一标识 + bigint(20)|0s + + + 4 + 用户名;可用于登录系统 + varchar(32)|0s + + + 5 + 全局实体类型 + varchar(32)|0s + 1 + + + 1 + id + 1 + + + 1 + 规则岗位关联主键 + bigint(20)|0s + 1 + null + + + 2 + 科室主键 + bigint(20)|0s + + + 3 + 班组主键 + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 角色资源关联主键 + bigint(20)|0s + 1 + null + + + 2 + 角色主键 + bigint(20)|0s + + + 3 + 数据资源范围表ID + bigint(20)|0s + + + 4 + 岗位删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 0 + + + 1 + id + 1 + + + 1 + 角色资源关联主键 + bigint(20)|0s + 1 + null + + + 2 + 角色主键 + bigint(20)|0s + + + 3 + 资源主键 + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 规则岗位关联主键 + bigint(20)|0s + 1 + null + + + 2 + 排版规则主键 + bigint(20)|0s + + + 3 + 岗位主键 + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 规则岗位关联主键 + bigint(20)|0s + 1 + null + + + 2 + 排版规则主键 + bigint(20)|0s + + + 3 + 班组主键 + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 日程班组关联主键 + bigint(20)|0s + 1 + null + + + 2 + 日程主键 + bigint(20)|0s + + + 3 + 班组主键 + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 规则岗位关联主键 + bigint(20)|0s + 1 + null + + + 2 + 岗位主键 + bigint(20)|0s + + + 3 + 排版规则主键 + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 班组岗位关联主键 + bigint(20)|0s + 1 + null + + + 2 + 班组主键 + bigint(20)|0s + 1 + + + 3 + 岗位主键 + bigint(20)|0s + 1 + + + 1 + id + 1 + + + 1 + 主键ID + bigint(20)|0s + 1 + null + + + 2 + 名称 + varchar(128)|0s + 1 + + + 3 + 参数键 + varchar(128)|0s + 1 + + + 4 + 状态(1-启用、0-停用) + tinyint(1)|0s + 1 + + + 5 + 系统内置(1是 0否) + char(1)|0s + 1 + + + 6 + 备注信息 + varchar(256)|0s + + + 7 + 创建者 + varchar(32)|0s + 1 + + + 8 + 创建时间 + datetime|0s + 1 + + + 9 + 更新者 + varchar(32)|0s + 1 + + + 10 + 更新时间 + datetime|0s + 1 + + + 11 + 删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 主键ID + bigint(20)|0s + 1 + null + + + 2 + 配置主键 + bigint(20)|0s + 1 + + + 3 + 租户ID + bigint(20)|0s + 0 + + + 4 + 数值键 + varchar(64)|0s + + + 5 + 参数值 + varchar(256)|0s + + + 6 + 状态(1-启用、0-停用) + tinyint(1)|0s + 1 + + + 7 + 数据创建者的用户名 + varchar(32)|0s + 1 + + + 8 + 数据的创建时间 + timestamp|0s + 1 + CURRENT_TIMESTAMP + + + 9 + 数据最后修改者的用户名 + varchar(32)|0s + 1 + + + 10 + 数据最后修改的时间 + timestamp|0s + 1 + CURRENT_TIMESTAMP + + + 11 + 删除标识(1-删除、0-未删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 主键ID + bigint(20)|0s + 1 + null + + + 2 + 附加信息 + varchar(255)|0s + + + 3 + 状态 (1:启用,0:停用) + tinyint(1)|0s + + + 4 + 创建人 + varchar(32)|0s + + + 5 + 创建时间 + datetime|0s + 1 + + + 6 + 更新人 + varchar(32)|0s + + + 7 + 更新时间 + datetime|0s + 1 + + + 8 + 删除标识(1:删除 0:正常) + tinyint(1)|0s + 1 + + + 9 + 数据范围 + varchar(90)|0s + + + 10 + 可见范围类型 + varchar(90)|0s + + + 1 + ID +created_time +updated_time +deleted + 1 + + + 1 + 字典数据ID + bigint(20)|0s + 1 + null + + + 2 + 字典标签 + varchar(128)|0s + 1 + + + 3 + 字典键值 + varchar(128)|0s + 1 + + + 4 + 字典类型 + varchar(128)|0s + 1 + + + 5 + 排序号(升序) + decimal(10)|0s + 1 + + + 6 + 系统内置(1是 0否) + char(1)|0s + 1 + + + 7 + 是否默认 + char(1)|0s + + + 8 + 状态(1正常 0停用) + char(1)|0s + '0' + + + 9 + 字典描述 + varchar(256)|0s + + + 10 + 备注信息 + varchar(256)|0s + + + 11 + 租户代码 + bigint(20)|0s + 1 + 0 + + + 12 + 创建者 + varchar(32)|0s + 1 + + + 13 + 创建时间 + datetime|0s + 1 + + + 14 + 更新者 + varchar(32)|0s + 1 + + + 15 + 更新时间 + datetime|0s + 1 + + + 16 + 删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 字典类型ID + bigint(20)|0s + 1 + null + + + 2 + 字典名称 + varchar(128)|0s + 1 + + + 3 + 字典类型 + varchar(128)|0s + 1 + + + 4 + 是否系统字典 + char(1)|0s + 1 + + + 5 + 状态(1正常 0停用) + char(1)|0s + 1 + '1' + + + 6 + 创建者 + varchar(32)|0s + 1 + + + 7 + 创建时间 + datetime|0s + 1 + + + 8 + 更新者 + varchar(32)|0s + 1 + + + 9 + 更新时间 + datetime|0s + 1 + + + 10 + 备注信息 + varchar(256)|0s + + + 11 + 删除状态(0-未删除、1-已删除) + tinyint(1)|0s + 1 + 0 + + + 1 + id + 1 + + + 1 + 主键ID,自增列 + bigint(20)|0s + 1 + null + + + 2 + 文件编号 + varchar(64)|0s + + + 3 + 原文件名 + varchar(128)|0s + + + 4 + 文件名 + varchar(256)|0s + + + 5 + 使用minio时文件存储的桶名称 + varchar(64)|0s + + + 6 + 文件类型 + varchar(64)|0s + + + 7 + 文件路径 + varchar(1024)|0s + + + 8 + 文件扩展名 + varchar(32)|0s + + + 9 + 文件大小 + decimal(12)|0s + + + 10 + 文件状态 + char(1)|0s + '0' + + + 11 + 文件信息 + varchar(256)|0s + + + 12 + 备注 + varchar(512)|0s + + + 13 + 上传者 + varchar(128)|0s + + + 14 + 上传时间 + datetime|0s + + + 15 + 修改者 + varchar(128)|0s + + + 16 + 修改时间 + datetime|0s + + + 1 + id + 1 + + + 1 + 主键ID + bigint(20)|0s + 1 + + + 2 + 记录所属组织Id + bigint(20)|0s + 1 + + + 3 + 数据角色ID + bigint(20)|0s + 1 + + + 4 + 人员的唯一标识 + bigint(20)|0s + + + 5 + 全局实体类型 + varchar(32)|0s + 1 + + + 1 + 机场四码 + char(4)|0s + + + 2 + 机场三码 + char(3)|0s + + + 3 + 城市三码 + char(3)|0s + + + 4 + 城市名称 + varchar(50)|0s + + + 5 + 城市英文名称 + varchar(50)|0s + + + 6 + 城市简称 + varchar(10)|0s + + + 7 + 城市区号 + varchar(10)|0s + + + 8 + 国际/国内 + char(1)|0s + + + 9 + 参考位置 + varchar(30)|0s + + + 10 + 真向(暂无此数据) + varchar(4)|0s + + + 11 + 真向距离(暂无此数据) + varchar(6)|0s + + + 12 + 用途 + varchar(1)|0s + + + 13 + 机场等级 + varchar(2)|0s + + + 14 + 是否通航 + text|0s + + + 1 + 部门id + varchar(255)|0s + 1 + + + 2 + 上级组织代码 + varchar(255)|0s + + + 3 + 父部门id + varchar(255)|0s + + + 4 + 组织编码 + varchar(255)|0s + + + 5 + 组织全称 + varchar(255)|0s + + + 6 + 组织简称 + varchar(255)|0s + + + 7 + 机构类型 + int(11)|0s + + + 8 + 组织排序 + int(11)|0s + + + 9 + 启用标志 + int(255)|0s + + + 10 + 是否钉钉(0否,1是) + int(1)|0s + + + 11 + 部门启用标志 0 启用 1禁用 + int(1)|0s + + + 12 + 部门电话 + varchar(32)|0s + + + 13 + 更新日期 + datetime(6)|0s + + + 14 + 是否隐藏部门(0否,1是) + int(1)|0s + + + 1 + ID + 1 + + + 1 + int(11)|0s + 1 + null + + + 2 + 一级预警时间 + varchar(3)|0s + + + 3 + 二级预警时间 + varchar(3)|0s + + + 4 + 三级预警时间 + varchar(3)|0s + + + 1 + id + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + 航班号 + varchar(10)|0s + + + 3 + 航班日期 + varchar(20)|0s + + + 4 + 进出港标识A/D + varchar(2)|0s + + + 5 + 始发地 + varchar(4)|0s + + + 6 + 目的地 + varchar(4)|0s + + + 7 + 计划起飞时间 + varchar(20)|0s + + + 8 + 计划到达时间 + varchar(20)|0s + + + 9 + 登机口 + varchar(10)|0s + + + 10 + datetime|0s + + + 1 + id + 1 + + + 1 + int(11)|0s + 1 + null + + + 2 + 机场三字代码 + varchar(3)|0s + + + 3 + 机场四字代码 + varchar(4)|0s + + + 4 + 机场属性(2401 国际 2402 地区 2403 国内 2404 混合) + varchar(4)|0s + + + 5 + 中文描述 + varchar(64)|0s + + + 6 + 英文描述 + varchar(64)|0s + + + 7 + 该通航机场是否开启 + varchar(1)|0s + + + 8 + 航站简称 + varchar(16)|0s + + + code + 1 + btree + + + 1 + id + 1 + + + code + code + + + 1 + varchar(128)|0s + 1 + + + 2 + 航班信息主键id + varchar(128)|0s + + + 3 + 旅客姓名 + varchar(30)|0s + + + 4 + 旅客性别 + int(2)|0s + + + 5 + 旅客年龄 + int(3)|0s + + + 6 + 证件号 + varchar(20)|0s + + + 7 + 证件类型(1.身份证2.护照3.其他) + varchar(10)|0s + + + 8 + 座位号 + varchar(4)|0s + + + 9 + 特殊服务编码 + varchar(10)|0s + + + 10 + datetime|0s + + + 11 + datetime|0s + + + 12 + int(5)|0s + + + 1 + id + 1 + + + 1 + int(20)|0s + 1 + null + + + 2 + 工单编号 + varchar(50)|0s + + + 3 + 特服类型编码 + varchar(10)|0s + + + 4 + 工单类型(1.接机,2.送机) + varchar(2)|0s + + + 5 + 工单创建类型(1.微信创建,2.web创建) + varchar(2)|0s + + + 6 + 送机人姓名 + varchar(30)|0s + + + 7 + 送机人电话 + varchar(15)|0s + + + 8 + 送机人地址 + varchar(100)|0s + + + 9 + 接机人姓名 + varchar(30)|0s + + + 10 + 接机人电话 + varchar(15)|0s + + + 11 + 接机人地址 + varchar(100)|0s + + + 12 + 航班号 + varchar(10)|0s + + + 13 + 航班日期 + varchar(20)|0s + + + 14 + 计划起飞时间 + varchar(20)|0s + + + 15 + 计划到达时间 + varchar(20)|0s + + + 16 + 始发站 + varchar(4)|0s + + + 17 + 目的地 + varchar(4)|0s + + + 18 + 进出港标识A/D + varchar(2)|0s + + + 19 + 登机口 + varchar(10)|0s + + + 20 + 到达口 + varchar(10)|0s + + + 21 + 旅客姓名 + varchar(30)|0s + + + 22 + 旅客性别0/1 + int(2)|0s + + + 23 + 旅客年龄 + int(3)|0s + + + 24 + 证件号 + varchar(20)|0s + + + 25 + 证件类型 + varchar(10)|0s + + + 26 + 座位号 + varchar(4)|0s + + + 27 + 托运行李 + varchar(10)|0s + + + 28 + 手提行李 + varchar(10)|0s + + + 29 + 备注 + varchar(255)|0s + + + 30 + 工单服务员姓名 + varchar(60)|0s + + + 31 + 服务时间 + datetime|0s + + + 32 + 工单状态(0.拒接,1.创建工单,2.接收工单,3.进行服务,4.服务完成,5.取消服务) + varchar(2)|0s + '1' + + + 33 + 创建工单时间 + datetime|0s + + + 34 + 工单创建人 + varchar(60)|0s + + + 35 + j接收工单时间/拒接工单时间 + datetime|0s + + + 36 + i接收人/拒接人 + varchar(60)|0s + + + 37 + 拒收/取消服务理由 + varchar(255)|0s + + + 38 + 进行/取消服务时间 + datetime|0s + + + 39 + 开始/取消服务人员 + varchar(60)|0s + + + 40 + 服务完成时间 + datetime|0s + + + 41 + 服务完成人员 + varchar(60)|0s + + + 42 + 微信用户唯一id + varchar(50)|0s + + + 1 + id + 1 + + + 1 + int(11)|0s + 1 + null + + + 2 + 特殊服务类型编码 + varchar(10)|0s + + + 3 + 特殊服务类型 + varchar(20)|0s + + + code + 1 + btree + + + 1 + id + 1 + + + code + code + + + 1 + 主键 + varchar(255)|0s + 1 + + + 2 + 创建人 + varchar(255)|0s + + + 3 + 创建时间 + datetime|0s + + + 4 + 菜单等级 + varchar(255)|0s + + + 5 + 前端路径 + varchar(1024)|0s + + + 6 + 菜单图片 + varchar(255)|0s + + + 7 + 菜单名称 + varchar(255)|0s + + + 8 + 排序 + varchar(255)|0s + 1 + + + 9 + 父级菜单id + varchar(255)|0s + + + 10 + 授权(多个用逗号分隔,如:user:list,user:create) + varchar(255)|0s + + + 11 + 备注 + varchar(255)|0s + + + 12 + 状态(0:1;无效:有效) + varchar(255)|0s + + + 13 + 更新人 + varchar(255)|0s + + + 14 + 更新时间 + datetime|0s + + + 15 + 菜单类型 0:目录 1:菜单 2:按钮 + int(11)|0s + 1 + 2 + + + 16 + 菜单是否展示标识(0:1;展示:隐藏) + int(11)|0s + 1 + 0 + + + 17 + H h5端,W web端 + varchar(25)|0s + + + 18 + 后端url路径 + varchar(1024)|0s + + + 19 + 组件id + varchar(255)|0s + + + 20 + 路由合集 + varchar(255)|0s + + + 1 + id + 1 + + + 1 + 主键 + bigint(255)|0s + 1 + null + + + 2 + 角色关联键 + varchar(255)|0s + + + 3 + 用户关联键 + varchar(255)|0s + + + 4 + 创建者 + varchar(255)|0s + + + 5 + 创建时间 + datetime|0s + + + 1 + id + 1 + + + 1 + 主键 + varchar(255)|0s + 1 + + + 2 + 创建人 + varchar(255)|0s + + + 3 + 创建时间 + datetime|0s + + + 4 + int(11)|0s + + + 5 + 备注 + varchar(255)|0s + + + 6 + 角色名称 + varchar(255)|0s + + + 7 + 状态(1:0;有效:无效) + varchar(255)|0s + + + 8 + 更新人 + varchar(255)|0s + + + 9 + 更新时间 + datetime|0s + + + 10 + 部门id + varchar(255)|0s + + + 1 + id + 1 + + + 1 + 主键 + bigint(32)|0s + 1 + null + + + 2 + 菜单关联键 + varchar(255)|0s + + + 3 + 角色关联键 + varchar(255)|0s + + + 4 + 创建者 + varchar(255)|0s + + + 5 + 创建时间 + datetime|0s + + + 1 + id + 1 + + + 1 + 主键 + varchar(255)|0s + 1 + + + 2 + 部门 + varchar(255)|0s + + + 3 + 状态(0:1;无效:有效) + varchar(255)|0s + + + 4 + 用户名称 + varchar(255)|0s + + + 5 + 用户工号 + varchar(255)|0s + + + 6 + 是否值班 + varchar(255)|0s + + + 7 + 图片 + varchar(255)|0s + + + 8 + 部门id + varchar(255)|0s + + + 9 + 出生日期 + varchar(255)|0s + + + 10 + 上次登录时间 + datetime|0s + + + 11 + 最后修改时间 + datetime|0s + + + 12 + 电话号码 + varchar(255)|0s + + + 13 + 邮箱 + varchar(255)|0s + + + 14 + 三字码 + varchar(255)|0s + + + 15 + 最后修改人 + varchar(255)|0s + + + 16 + 员工岗位2 + varchar(255)|0s + + + 17 + 专业 + varchar(255)|0s + + + 18 + 英文名 + varchar(255)|0s + + + 19 + 创建者 + varchar(255)|0s + + + 20 + 创建日期 + datetime|0s + + + 21 + 更新者 + varchar(255)|0s + + + 22 + 更新日期 + datetime|0s + + + 23 + varchar(255)|0s + + + 1 + id + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + varchar(128)|0s + + + 3 + timestamp|0s + CURRENT_TIMESTAMP + CURRENT_TIMESTAMP + + + 4 + varchar(128)|0s + + + 1 + variable + 1 + + + 113 + mysql.sys@localhost + before-row + I + + + 113 + mysql.sys@localhost + before-row + U + + + 1 + varchar(60)|0s + + + 2 + decimal(64)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + decimal(65)|0s + + + 6 + decimal(64)|0s + + + 7 + text|0s + + + 8 + decimal(41)|0s + + + 9 + decimal(41)|0s + + + 10 + bigint(21)|0s + 1 + + + 11 + text|0s + + + 12 + text|0s + + + 1 + varchar(60)|0s + + + 2 + decimal(42)|0s + + + 3 + text|0s + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 1 + varchar(60)|0s + + + 2 + decimal(42)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + decimal(42)|0s + + + 7 + decimal(42)|0s + + + 8 + decimal(42)|0s + + + 9 + decimal(43)|0s + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 1 + text|0s + + + 2 + text|0s + + + 3 + text|0s + + + 4 + bigint(21)|0s + 1 + + + 5 + bigint(21)|0s + 1 + + + 6 + bigint(21)|0s + 1 + + + 7 + decimal(44)|0s + + + 1 + text|0s + + + 2 + text|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + bigint(21)|0s + 1 + + + 6 + bigint(21)|0s + 1 + + + 7 + bigint(21)|0s + 1 + + + 8 + decimal(44)|0s + + + 1 + datetime|0s + + + 2 + time|0s + + + 3 + bigint(21)|0s + + + 4 + mediumtext|0s + + + 5 + varchar(64)|0s + + + 6 + varchar(64)|0s + + + 7 + varchar(64)|0s + + + 8 + varchar(64)|0s + + + 9 + varchar(64)|0s + + + 10 + varchar(32)|0s + 1 + + + 11 + varchar(18)|0s + 1 + + + 12 + datetime|0s + 1 + + + 13 + time|0s + + + 14 + bigint(21) unsigned|0s + 1 + + + 15 + bigint(21) unsigned|0s + 1 + + + 16 + bigint(21) unsigned|0s + 1 + + + 17 + longtext|0s + + + 18 + varchar(128)|0s + 1 + + + 19 + varchar(32)|0s + 1 + + + 20 + varchar(18)|0s + 1 + + + 21 + bigint(21) unsigned|0s + 1 + + + 22 + longtext|0s + + + 23 + varchar(128)|0s + 1 + + + 24 + varchar(32)|0s + 1 + + + 25 + datetime|0s + 1 + + + 26 + time|0s + + + 27 + bigint(21) unsigned|0s + 1 + + + 28 + bigint(21) unsigned|0s + 1 + + + 29 + varchar(32)|0s + 1 + + + 30 + varchar(26)|0s + 1 + + + 1 + varchar(128)|0s + + + 2 + decimal(42)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + + + 1 + varchar(512)|0s + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + text|0s + + + 4 + text|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + text|0s + + + 7 + text|0s + + + 8 + text|0s + + + 9 + decimal(26,2 digit)|0s + 1 + + + 1 + varchar(512)|0s + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + text|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + text|0s + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + text|0s + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + text|0s + + + 1 + varchar(128)|0s + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + text|0s + + + 9 + text|0s + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + text|0s + + + 12 + text|0s + + + 13 + text|0s + + + 1 + varchar(128)|0s + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 7 + text|0s + + + 8 + text|0s + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + text|0s + + + 11 + text|0s + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + text|0s + + + 14 + text|0s + + + 1 + varchar(149)|0s + + + 2 + varchar(512)|0s + + + 3 + text|0s + + + 4 + varchar(32)|0s + 1 + + + 5 + text|0s + + + 1 + varchar(60)|0s + + + 2 + decimal(41)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + + + 3 + decimal(41)|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 7 + text|0s + + + 1 + varchar(32)|0s + + + 2 + decimal(41)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20)|0s + 1 + + + 3 + text|0s + + + 4 + text|0s + + + 5 + bigint(20)|0s + 1 + + + 6 + text|0s + + + 7 + text|0s + + + 1 + text|0s + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(1024)|0s + + + 3 + varchar(13)|0s + 1 + + + 4 + varchar(3)|0s + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + + + 3 + varchar(128)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(16)|0s + + + 6 + varchar(64)|0s + + + 7 + bigint(20)|0s + + + 8 + longtext|0s + + + 9 + text|0s + + + 10 + decimal(26,2 digit)|0s + + + 11 + text|0s + + + 12 + bigint(20) unsigned|0s + + + 13 + bigint(20) unsigned|0s + + + 14 + bigint(20) unsigned|0s + + + 15 + bigint(20) unsigned|0s + + + 16 + bigint(20) unsigned|0s + + + 17 + varchar(3)|0s + 1 + + + 18 + longtext|0s + + + 19 + text|0s + + + 20 + text|0s + + + 21 + varchar(128)|0s + + + 22 + text|0s + + + 23 + varchar(64)|0s + + + 24 + text|0s + + + 25 + enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e + + + 26 + enum('YES', 'NO')|0e + + + 27 + varchar(1024)|0s + + + 28 + varchar(1024)|0s + + + 1 + varchar(64)|0s + 1 + + + 2 + varchar(1024)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + longtext|0s + + + 5 + mediumtext|0s + 1 + + + 6 + int(1)|0s + 1 + + + 7 + int(1)|0s + 1 + + + 8 + bigint(21) unsigned|0s + + + 9 + bigint(21) unsigned|0s + + + 10 + decimal(25,4 digit) unsigned|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + text|0s + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + text|0s + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + text|0s + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + text|0s + + + 1 + varchar(64)|0s + 1 + + + 2 + enum('FUNCTION', 'PROCEDURE')|0e + 1 + + + 3 + bigint(21)|0s + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + text|0s + + + 5 + int(1)|0s + + + 6 + varchar(64)|0s + + + 7 + text|0s + + + 8 + int(1)|0s + + + 9 + int(1)|0s + 1 + + + 10 + varchar(223)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + + + 5 + text|0s + + + 6 + varchar(32)|0s + 1 + + + 7 + varchar(32)|0s + 1 + + + 8 + longtext|0s + + + 9 + bigint(20)|0s + + + 10 + bigint(20) unsigned|0s + + + 11 + bigint(20) unsigned|0s + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + + + 14 + text|0s + + + 15 + varchar(32)|0s + 1 + + + 16 + varchar(32)|0s + 1 + + + 17 + varchar(31)|0s + + + 18 + varchar(25)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + text|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + text|0s + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + text|0s + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + text|0s + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + text|0s + + + 12 + decimal(42)|0s + + + 13 + text|0s + + + 14 + text|0s + + + 15 + decimal(42)|0s + + + 16 + text|0s + + + 17 + text|0s + + + 18 + decimal(42)|0s + + + 19 + text|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + text|0s + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + text|0s + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + text|0s + + + 11 + decimal(42)|0s + + + 12 + text|0s + + + 13 + text|0s + + + 14 + decimal(42)|0s + + + 15 + text|0s + + + 16 + text|0s + + + 17 + decimal(42)|0s + + + 18 + text|0s + + + 19 + text|0s + + + 20 + text|0s + + + 21 + text|0s + + + 22 + bigint(21)|0s + + + 23 + bigint(21)|0s + + + 24 + bigint(21)|0s + + + 25 + decimal(44)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + + + 3 + varchar(128)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(16)|0s + + + 6 + varchar(64)|0s + + + 7 + bigint(20)|0s + + + 8 + longtext|0s + + + 9 + text|0s + + + 10 + decimal(26,2 digit)|0s + + + 11 + text|0s + + + 12 + bigint(20) unsigned|0s + + + 13 + bigint(20) unsigned|0s + + + 14 + bigint(20) unsigned|0s + + + 15 + bigint(20) unsigned|0s + + + 16 + bigint(20) unsigned|0s + + + 17 + varchar(3)|0s + 1 + + + 18 + longtext|0s + + + 19 + text|0s + + + 20 + text|0s + + + 21 + varchar(128)|0s + + + 22 + text|0s + + + 23 + varchar(64)|0s + + + 24 + text|0s + + + 25 + enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e + + + 26 + enum('YES', 'NO')|0e + + + 27 + varchar(1024)|0s + + + 28 + varchar(1024)|0s + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(1024)|0s + + + 3 + varchar(1024)|0s + + + 4 + varchar(1024)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(1)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + text|0s + + + 8 + text|0s + + + 9 + text|0s + + + 10 + text|0s + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + decimal(21)|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + decimal(21)|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + decimal(21)|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + varchar(64)|0s + + + 22 + timestamp(6)|0s + 1 + + + 23 + timestamp(6)|0s + 1 + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + decimal(27,4 digit)|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + decimal(27,4 digit)|0s + 1 + + + 8 + timestamp(6)|0s + 1 + + + 9 + timestamp(6)|0s + 1 + + + 10 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + decimal(24)|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + decimal(21) unsigned|0s + + + 11 + decimal(21) unsigned|0s + + + 12 + timestamp(6)|0s + 1 + + + 13 + timestamp(6)|0s + 1 + + + 14 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(1)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + text|0s + + + 8 + text|0s + + + 9 + text|0s + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + decimal(21)|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + decimal(21)|0s + 1 + + + 14 + timestamp(6)|0s + 1 + + + 15 + timestamp(6)|0s + 1 + + + 16 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + decimal(21)|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + decimal(21)|0s + 1 + + + 11 + timestamp(6)|0s + 1 + + + 12 + timestamp(6)|0s + 1 + + + 13 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + decimal(21)|0s + 1 + + + 8 + decimal(24)|0s + 1 + + + 9 + timestamp(6)|0s + 1 + + + 10 + timestamp(6)|0s + 1 + + + 11 + varchar(64)|0s + + + 1 + varchar(32)|0s + + + 2 + decimal(64)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + decimal(65)|0s + + + 6 + decimal(64)|0s + + + 7 + text|0s + + + 8 + decimal(41)|0s + + + 9 + decimal(41)|0s + + + 10 + bigint(21)|0s + 1 + + + 11 + text|0s + + + 12 + text|0s + + + 1 + varchar(32)|0s + + + 2 + decimal(42)|0s + + + 3 + text|0s + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 1 + varchar(32)|0s + + + 2 + decimal(42)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + decimal(42)|0s + + + 7 + decimal(42)|0s + + + 8 + decimal(42)|0s + + + 9 + decimal(43)|0s + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 1 + varchar(5)|0s + 1 + + + 2 + varchar(6)|0s + 1 + + + 1 + varchar(128)|0s + + + 2 + decimal(42)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 1 + varchar(128)|0s + + + 2 + decimal(42)|0s + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + text|0s + + + 5 + text|0s + + + 6 + text|0s + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + text|0s + + + 4 + text|0s + + + 5 + text|0s + + + 1 + varchar(60)|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 + + + 10 + bigint(21)|0s + 1 + + + 11 + decimal(63)|0s + + + 12 + decimal(64)|0s + + + 1 + varchar(60)|0s + + + 2 + decimal(42)|0s + + + 3 + decimal(42)|0s + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(60)|0s + + + 2 + decimal(42)|0s + + + 3 + decimal(42)|0s + + + 4 + bigint(20) unsigned|0s + + + 5 + decimal(42)|0s + + + 6 + decimal(42)|0s + + + 7 + decimal(42)|0s + + + 8 + decimal(42)|0s + + + 9 + decimal(43)|0s + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 1 + text|0s + + + 2 + decimal(43)|0s + + + 3 + decimal(43)|0s + + + 4 + bigint(21)|0s + 1 + + + 5 + bigint(21)|0s + 1 + + + 6 + bigint(21)|0s + 1 + + + 7 + decimal(44)|0s + 1 + + + 1 + text|0s + + + 2 + text|0s + + + 3 + decimal(43)|0s + + + 4 + decimal(43)|0s + + + 5 + bigint(21)|0s + 1 + + + 6 + bigint(21)|0s + 1 + + + 7 + bigint(21)|0s + 1 + + + 8 + decimal(44)|0s + 1 + + + 1 + datetime|0s + + + 2 + time|0s + + + 3 + bigint(21)|0s + + + 4 + mediumtext|0s + + + 5 + varchar(64)|0s + + + 6 + varchar(64)|0s + + + 7 + varchar(64)|0s + + + 8 + varchar(64)|0s + + + 9 + varchar(64)|0s + + + 10 + varchar(32)|0s + 1 + + + 11 + varchar(18)|0s + 1 + + + 12 + datetime|0s + 1 + + + 13 + time|0s + + + 14 + bigint(21) unsigned|0s + 1 + + + 15 + bigint(21) unsigned|0s + 1 + + + 16 + bigint(21) unsigned|0s + 1 + + + 17 + varchar(1024)|0s + + + 18 + varchar(128)|0s + 1 + + + 19 + varchar(32)|0s + 1 + + + 20 + varchar(18)|0s + 1 + + + 21 + bigint(21) unsigned|0s + 1 + + + 22 + varchar(1024)|0s + + + 23 + varchar(128)|0s + 1 + + + 24 + varchar(32)|0s + 1 + + + 25 + datetime|0s + 1 + + + 26 + time|0s + + + 27 + bigint(21) unsigned|0s + 1 + + + 28 + bigint(21) unsigned|0s + 1 + + + 29 + varchar(32)|0s + 1 + + + 30 + varchar(26)|0s + 1 + + + 1 + varchar(128)|0s + + + 2 + decimal(42)|0s + + + 3 + decimal(42)|0s + + + 4 + bigint(20) unsigned|0s + + + 5 + decimal(24,4 digit)|0s + + + 6 + bigint(20) unsigned|0s + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + + + 1 + varchar(512)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20)|0s + 1 + + + 4 + decimal(23,4 digit)|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20)|0s + 1 + + + 7 + decimal(23,4 digit)|0s + 1 + + + 8 + bigint(21)|0s + 1 + + + 9 + decimal(26,2 digit)|0s + 1 + + + 1 + varchar(512)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(128)|0s + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20)|0s + 1 + + + 9 + decimal(23,4 digit)|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20)|0s + 1 + + + 12 + decimal(23,4 digit)|0s + 1 + + + 13 + bigint(21)|0s + 1 + + + 1 + varchar(128)|0s + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20)|0s + 1 + + + 11 + decimal(23,4 digit)|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20)|0s + 1 + + + 14 + decimal(23,4 digit)|0s + 1 + + + 1 + varchar(149)|0s + + + 2 + varchar(512)|0s + + + 3 + bigint(20) unsigned|0s + + + 4 + varchar(32)|0s + 1 + + + 5 + bigint(20)|0s + + + 1 + varchar(60)|0s + + + 2 + decimal(41)|0s + + + 3 + decimal(41)|0s + + + 4 + decimal(45,4 digit)|0s + 1 + + + 5 + bigint(20)|0s + + + 6 + decimal(42)|0s + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + varchar(128)|0s + + + 3 + decimal(41)|0s + + + 4 + decimal(41)|0s + + + 5 + decimal(45,4 digit)|0s + 1 + + + 6 + bigint(20)|0s + + + 7 + decimal(42)|0s + + + 1 + varchar(32)|0s + + + 2 + decimal(41)|0s + + + 3 + decimal(41)|0s + + + 4 + decimal(45,4 digit)|0s + 1 + + + 5 + bigint(20)|0s + + + 6 + decimal(42)|0s + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20)|0s + 1 + + + 3 + bigint(20)|0s + 1 + + + 4 + decimal(23,4 digit)|0s + 1 + + + 5 + bigint(20)|0s + 1 + + + 6 + bigint(20)|0s + 1 + + + 7 + decimal(23,4 digit)|0s + 1 + + + 1 + decimal(41)|0s + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + + + 3 + varchar(128)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(16)|0s + + + 6 + varchar(64)|0s + + + 7 + bigint(20)|0s + + + 8 + longtext|0s + + + 9 + bigint(20) unsigned|0s + + + 10 + decimal(26,2 digit)|0s + + + 11 + bigint(20) unsigned|0s + + + 12 + bigint(20) unsigned|0s + + + 13 + bigint(20) unsigned|0s + + + 14 + bigint(20) unsigned|0s + + + 15 + bigint(20) unsigned|0s + + + 16 + bigint(20) unsigned|0s + + + 17 + varchar(3)|0s + 1 + + + 18 + longtext|0s + + + 19 + bigint(20) unsigned|0s + + + 20 + decimal(41)|0s + + + 21 + varchar(128)|0s + + + 22 + varchar(20)|0s + + + 23 + varchar(64)|0s + + + 24 + bigint(20) unsigned|0s + + + 25 + enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e + + + 26 + enum('YES', 'NO')|0e + + + 27 + varchar(1024)|0s + + + 28 + varchar(1024)|0s + + + 1 + decimal(21)|0s + + + 2 + decimal(46,4 digit)|0s + 1 + + + 1 + bigint(21)|0s + 1 + + + 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(1)|0s + + + 5 + bigint(1)|0s + + + 6 + text|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(64)|0s + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + + + 5 + text|0s + + + 6 + varchar(32)|0s + 1 + + + 7 + varchar(32)|0s + 1 + + + 8 + longtext|0s + + + 9 + bigint(20)|0s + + + 10 + bigint(20) unsigned|0s + + + 11 + bigint(20) unsigned|0s + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + bigint(20) unsigned|0s + + + 14 + text|0s + + + 15 + varchar(32)|0s + 1 + + + 16 + varchar(32)|0s + 1 + + + 17 + varchar(31)|0s + + + 18 + varchar(25)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 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 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 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(43)|0s + + + 20 + decimal(43)|0s + + + 21 + decimal(44)|0s + + + 22 + bigint(21)|0s + + + 23 + bigint(21)|0s + + + 24 + bigint(21)|0s + + + 25 + decimal(44)|0s + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 1 + bigint(20) unsigned|0s + 1 + + + 2 + bigint(20) unsigned|0s + + + 3 + varchar(128)|0s + + + 4 + varchar(64)|0s + + + 5 + varchar(16)|0s + + + 6 + varchar(64)|0s + + + 7 + bigint(20)|0s + + + 8 + longtext|0s + + + 9 + bigint(20) unsigned|0s + + + 10 + decimal(26,2 digit)|0s + + + 11 + bigint(20) unsigned|0s + + + 12 + bigint(20) unsigned|0s + + + 13 + bigint(20) unsigned|0s + + + 14 + bigint(20) unsigned|0s + + + 15 + bigint(20) unsigned|0s + + + 16 + bigint(20) unsigned|0s + + + 17 + varchar(3)|0s + 1 + + + 18 + longtext|0s + + + 19 + bigint(20) unsigned|0s + + + 20 + decimal(41)|0s + + + 21 + varchar(128)|0s + + + 22 + varchar(20)|0s + + + 23 + varchar(64)|0s + + + 24 + bigint(20) unsigned|0s + + + 25 + enum('ACTIVE', 'COMMITTED', 'ROLLED BACK')|0e + + + 26 + enum('YES', 'NO')|0e + + + 27 + varchar(1024)|0s + + + 28 + varchar(1024)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(1)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + bigint(20) unsigned|0s + 1 + + + 12 + decimal(21)|0s + 1 + + + 13 + bigint(20) unsigned|0s + 1 + + + 14 + decimal(21)|0s + 1 + + + 15 + bigint(20) unsigned|0s + 1 + + + 16 + decimal(21)|0s + 1 + + + 17 + bigint(20) unsigned|0s + 1 + + + 18 + bigint(20) unsigned|0s + 1 + + + 19 + bigint(20) unsigned|0s + 1 + + + 20 + bigint(20) unsigned|0s + 1 + + + 21 + varchar(64)|0s + + + 22 + timestamp(6)|0s + 1 + + + 23 + timestamp(6)|0s + 1 + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + decimal(27,4 digit)|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + decimal(27,4 digit)|0s + 1 + + + 8 + timestamp(6)|0s + 1 + + + 9 + timestamp(6)|0s + 1 + + + 10 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + decimal(24)|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + decimal(21) unsigned|0s + + + 11 + decimal(21) unsigned|0s + + + 12 + timestamp(6)|0s + 1 + + + 13 + timestamp(6)|0s + 1 + + + 14 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + varchar(1)|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(20) unsigned|0s + 1 + + + 11 + decimal(21)|0s + 1 + + + 12 + bigint(20) unsigned|0s + 1 + + + 13 + decimal(21)|0s + 1 + + + 14 + timestamp(6)|0s + 1 + + + 15 + timestamp(6)|0s + 1 + + + 16 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + decimal(21)|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + decimal(21)|0s + 1 + + + 11 + timestamp(6)|0s + 1 + + + 12 + timestamp(6)|0s + 1 + + + 13 + varchar(64)|0s + + + 1 + longtext|0s + + + 2 + varchar(64)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + decimal(21)|0s + 1 + + + 8 + decimal(24)|0s + 1 + + + 9 + timestamp(6)|0s + 1 + + + 10 + timestamp(6)|0s + 1 + + + 11 + varchar(64)|0s + + + 1 + varchar(32)|0s + + + 2 + decimal(64)|0s + + + 3 + decimal(64)|0s + + + 4 + decimal(65,4 digit)|0s + 1 + + + 5 + decimal(65)|0s + + + 6 + decimal(64)|0s + + + 7 + decimal(64)|0s + + + 8 + decimal(41)|0s + + + 9 + decimal(41)|0s + + + 10 + bigint(21)|0s + 1 + + + 11 + decimal(63)|0s + + + 12 + decimal(64)|0s + + + 1 + varchar(32)|0s + + + 2 + decimal(42)|0s + + + 3 + decimal(42)|0s + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 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(43)|0s + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 7 + bigint(20) unsigned|0s + 1 + + + 8 + bigint(20) unsigned|0s + 1 + + + 9 + bigint(20) unsigned|0s + 1 + + + 10 + bigint(21) unsigned|0s + 1 + + + 1 + varchar(128)|0s + + + 2 + decimal(42)|0s + + + 3 + decimal(42)|0s + + + 4 + bigint(20) unsigned|0s + + + 5 + decimal(46,4 digit)|0s + 1 + + + 6 + bigint(20) unsigned|0s + + + 1 + varchar(128)|0s + + + 2 + decimal(42)|0s + + + 3 + decimal(42)|0s + + + 4 + bigint(20) unsigned|0s + + + 5 + decimal(46,4 digit)|0s + 1 + + + 6 + bigint(20) unsigned|0s + + + 1 + varchar(60)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(32)|0s + + + 2 + varchar(128)|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 6 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(128)|0s + 1 + + + 2 + bigint(20) unsigned|0s + 1 + + + 3 + bigint(20) unsigned|0s + 1 + + + 4 + bigint(20) unsigned|0s + 1 + + + 5 + bigint(20) unsigned|0s + 1 + + + 1 + varchar(64)|0s + + + 2 + varchar(64)|0s + + + 1 + int(10) unsigned|0s + + + 2 + int(10) 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(60)|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(20) unsigned|0s + + + 1 + varchar(128)|0s + + + 1 + varchar(128)|0s + + + 1 + bigint(20)|0s + + + 1 + varchar(128)|0s + + + 1 + varchar(128)|0s + + + 1 + bigint(20)|0s + + + 1 + tinyint(1)|0s + + + 1 + int(11)|0s + + + 1 + tinyint(1)|0s + + + 2 + tinyint(1)|0s + + + 1 + tinyint(1)|0s + + + 2 + tinyint(1)|0s + + + R + text|0s + + + 1 + bigint(20) unsigned|0s + + + R + bigint(20) unsigned|0s + + + 1 + bigint(20) unsigned|0s + + + R + longtext|0s + + + 1 + bigint(20) unsigned|0s + + + 2 + tinyint(1)|0s + + + R + longtext|0s + + + 1 + bigint(20) unsigned|0s + + + 1 + varchar(64)|0s + + + 2 + int(11)|0s + + + 3 + decimal(2,2 digit)|0s + + + 4 + tinyint(1)|0s + + + 5 + tinyint(1)|0s + + + 1 + bigint(20) 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 + + + 3 + O + enum('', 'BASE TABLE', 'VIEW', 'TEMPORARY')|0e + + + R + tinyint(3) unsigned|0s + + + R + tinyint(3) unsigned|0s + + + R + tinyint(3) unsigned|0s + + + 1 + 账户标识 + bigint(20)|0s + 1 + null + + + 2 + 账户 + varchar(100)|0s + 1 + + + 3 + 密码 + varchar(100)|0s + 1 + + + 1 + id + 1 + + + 1 + 系统资源标识 + bigint(20)|0s + 1 + null + + + 2 + 资源名称 + varchar(32)|0s + 1 + + + 3 + Api + varchar(128)|0s + + + 1 + id + 1 + + + 1 + 角色账户关联标识 + bigint(20)|0s + 1 + null + + + 2 + 角色标识 + bigint(20)|0s + 1 + + + 3 + 账户标识 + bigint(20)|0s + 1 + + + 1 + id + 1 + + + 1 + 角色系统资源关联标识 + bigint(20)|0s + 1 + null + + + 2 + 资源名称 + bigint(20)|0s + 1 + + + 3 + Api + bigint(20)|0s + + + 1 + id + 1 + + + 1 + 角色标识 + bigint(20)|0s + 1 + null + + + 2 + 角色名称 + varchar(100)|0s + + + 1 + id + 1 + + + 1 + 账户标识 + bigint(20)|0s + 1 + + + 2 + 账户 + varchar(100)|0s + 1 + + + 3 + 密码 + varchar(100)|0s + 1 + + + 4 + 角色标识 + bigint(20)|0s + 1 + + + 5 + 角色名称 + varchar(100)|0s + + + 6 + 系统资源标识 + bigint(20)|0s + 1 + + + 7 + 资源名称 + varchar(32)|0s + 1 + + + 8 + Api + varchar(128)|0s +
\ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml index ae2a163..02a2820 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -5,7 +5,12 @@ + + + + +
\ No newline at end of file diff --git a/ssm2019/ssm2019.iml b/ssm2019/ssm2019.iml deleted file mode 100644 index 58cc172..0000000 --- a/ssm2019/ssm2019.iml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/trip-web-server/base-module/common/pom.xml b/trip-web-server/base-module/common/pom.xml index 431a753..0803536 100644 --- a/trip-web-server/base-module/common/pom.xml +++ b/trip-web-server/base-module/common/pom.xml @@ -31,7 +31,6 @@ org.apache.commons commons-lang3 - diff --git a/trip-web-server/base-module/common/target/classes/application-common.yml b/trip-web-server/base-module/common/target/classes/application-common.yml new file mode 100644 index 0000000..5ac5da4 --- /dev/null +++ b/trip-web-server/base-module/common/target/classes/application-common.yml @@ -0,0 +1,52 @@ +##db config +#spring: +# datasource: +# druid: +# driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:mysql://localhost:3306/testdb?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 +# username: root +# password: root +# #连接池配置 +# initial-size: 5 +# max-active: 100 +# min-idle: 5 +# max-wait: 60000 +# pool-prepared-statements: true +# max-pool-prepared-statement-per-connection-size: 20 +# validation-query-timeout: 60000 +# validation-query: SELECT 1 FROM DUAL +# test-on-borrow: false +# test-on-return: false +# test-while-idle: true +# time-between-eviction-runs-millis: 60000 +# min-evictable-idle-time-millis: 100000 +# ###监控配置 begin### +# # WebStatFilter配置,说明请参考Druid Wiki,配置_配置WebStatFilter +# web-stat-filter: +# enabled: true +# url-pattern: /* +# exclusions: /druid/*,*.js,*.gif,*.jpg,*.png,*.css,*.ico +# # StatViewServlet配置,说明请参考Druid Wiki,配置_StatViewServlet配置 +# stat-view-servlet: +# enabled: true +# url-pattern: /druid/* +# reset-enable: false +# login-username: admin +# login-password: admin +# allow: 127.0.0.1 +# # 配置StatFilter +# filter: +# stat: +# db-type: mysql +# log-slow-sql: true +# slow-sql-millis: 5000 +# # 配置WallFilter +# wall: +# enabled: false # 是否允许删除 +# db-type: mysql +# config: +# delete-allow: false +# drop-table-allow: false +##knife4j: +## basic: +## enable: true \ No newline at end of file diff --git a/trip-web-server/base-module/datasource/pom.xml b/trip-web-server/base-module/datasource/pom.xml new file mode 100644 index 0000000..2171f67 --- /dev/null +++ b/trip-web-server/base-module/datasource/pom.xml @@ -0,0 +1,47 @@ + + + + base-module + cn.zm + 1.0.0-SNAPSHOT + + 4.0.0 + + datasource + + + 8 + 8 + 1.1.22 + + + + + cn.zm + common + + + + + mysql + mysql-connector-java + + + + com.google.protobuf + protobuf-java + + + + + + + com.alibaba + druid-spring-boot-starter + ${druid.version} + + + + \ No newline at end of file diff --git a/trip-web-server/base-module/datasource/src/main/resources/application-datasource.yml b/trip-web-server/base-module/datasource/src/main/resources/application-datasource.yml new file mode 100644 index 0000000..8268264 --- /dev/null +++ b/trip-web-server/base-module/datasource/src/main/resources/application-datasource.yml @@ -0,0 +1,54 @@ +#db config +spring: + profiles: + include: common + datasource: + druid: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/trip_web?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 + username: root + password: root + #连接池配置 + initial-size: 5 + max-active: 100 + min-idle: 5 + max-wait: 60000 + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 20 + validation-query-timeout: 60000 + validation-query: SELECT 1 FROM DUAL + test-on-borrow: false + test-on-return: false + test-while-idle: true + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 100000 + ###监控配置 begin### + # WebStatFilter配置,说明请参考Druid Wiki,配置_配置WebStatFilter + web-stat-filter: + enabled: true + url-pattern: /* + exclusions: /druid/*,*.js,*.gif,*.jpg,*.png,*.css,*.ico + # StatViewServlet配置,说明请参考Druid Wiki,配置_StatViewServlet配置 + stat-view-servlet: + enabled: true + url-pattern: /druid/* + reset-enable: false + login-username: admin + login-password: admin + allow: 127.0.0.1 + # 配置StatFilter + filter: + stat: + db-type: mysql + log-slow-sql: true + slow-sql-millis: 5000 + # 配置WallFilter + wall: + enabled: false # 是否允许删除 + db-type: mysql + config: + delete-allow: false + drop-table-allow: false +#knife4j: +# basic: +# enable: true \ No newline at end of file diff --git a/trip-web-server/base-module/datasource/target/classes/application-datasource.yml b/trip-web-server/base-module/datasource/target/classes/application-datasource.yml new file mode 100644 index 0000000..8268264 --- /dev/null +++ b/trip-web-server/base-module/datasource/target/classes/application-datasource.yml @@ -0,0 +1,54 @@ +#db config +spring: + profiles: + include: common + datasource: + druid: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/trip_web?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 + username: root + password: root + #连接池配置 + initial-size: 5 + max-active: 100 + min-idle: 5 + max-wait: 60000 + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 20 + validation-query-timeout: 60000 + validation-query: SELECT 1 FROM DUAL + test-on-borrow: false + test-on-return: false + test-while-idle: true + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 100000 + ###监控配置 begin### + # WebStatFilter配置,说明请参考Druid Wiki,配置_配置WebStatFilter + web-stat-filter: + enabled: true + url-pattern: /* + exclusions: /druid/*,*.js,*.gif,*.jpg,*.png,*.css,*.ico + # StatViewServlet配置,说明请参考Druid Wiki,配置_StatViewServlet配置 + stat-view-servlet: + enabled: true + url-pattern: /druid/* + reset-enable: false + login-username: admin + login-password: admin + allow: 127.0.0.1 + # 配置StatFilter + filter: + stat: + db-type: mysql + log-slow-sql: true + slow-sql-millis: 5000 + # 配置WallFilter + wall: + enabled: false # 是否允许删除 + db-type: mysql + config: + delete-allow: false + drop-table-allow: false +#knife4j: +# basic: +# enable: true \ No newline at end of file diff --git a/trip-web-server/base-module/mybatis-plus/pom.xml b/trip-web-server/base-module/mybatis-plus/pom.xml index e207f68..4fea2cb 100644 --- a/trip-web-server/base-module/mybatis-plus/pom.xml +++ b/trip-web-server/base-module/mybatis-plus/pom.xml @@ -23,7 +23,7 @@ cn.zm - common + datasource diff --git a/trip-web-server/base-module/mybatis-plus/src/main/resources/mapper/RoleAccountResourceMapper.xml b/trip-web-server/base-module/mybatis-plus/src/main/resources/mapper/RoleAccountResourceMapper.xml deleted file mode 100644 index 688d550..0000000 --- a/trip-web-server/base-module/mybatis-plus/src/main/resources/mapper/RoleAccountResourceMapper.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - - insert into role_account_resource( - accountId, - username, - password, - roleId, - roleName, - resourceId, - resourceName, - apiUrl - )values( - #{accountId}, - #{username}, - #{password}, - #{roleId}, - #{roleName}, - #{resourceId}, - #{resourceName}, - #{apiUrl} - ) - - - - - - - - update role_account_resource v - set v.web_id = #{web_id} - , v.accountId - = #{accountId} - , v.username - = #{username} - , v.password - = #{password} - , v.roleId - = #{roleId} - , v.roleName - = #{roleName} - , v.resourceId - = #{resourceId} - , v.resourceName - = #{resourceName} - , v.apiUrl - = #{apiUrl} - where v.web_id = #{web_id} - - - - delete from role_account_resource - where web_id = #{web_id} - - diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/application-plus.yml b/trip-web-server/base-module/mybatis-plus/target/classes/application-plus.yml new file mode 100644 index 0000000..791e6ac --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/application-plus.yml @@ -0,0 +1,23 @@ +mybatis-plus: + configuration: + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + globalConfig: + db-config: + #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; + idType: AUTO + #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" + fieldStrategy: 2 + #驼峰下划线转换 + dbColumnUnderline: true + #刷新mapper 调试神器 + isRefresh: true + #数据库大写下划线转换 + isCapitalMode: true + #逻辑删除配置 + logicDeleteValue: 0 + logicNotDeleteValue: 1 + mapper-locations: classpath:/mapper/*.xml #XML文件路径 + type-aliases-package: cn.zm.plus.entity + generate: + module: mybatis-plus + package: cn.zm.plus diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/gen.yml b/trip-web-server/base-module/mybatis-plus/target/classes/gen.yml new file mode 100644 index 0000000..eebab5b --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/gen.yml @@ -0,0 +1,11 @@ +#db +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/testdb?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8 + username: root + password: root +mybatis-plus: + generate: + module: base-dependencies/mybatis-plus + package: cn.zm.plus \ No newline at end of file diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/controller.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/controller.java.ftl new file mode 100644 index 0000000..e8ff547 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/controller.java.ftl @@ -0,0 +1,96 @@ +package ${package.Controller}; + +import ${package.Entity}.${entity}; +import com.github.pagehelper.PageInfo; +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import com.kofan.juanzong.admin.sys.annotation.CurrentUser; +import com.kofan.juanzong.admin.sys.annotation.LoginRequired; +import com.kofan.juanzong.admin.sys.annotation.NoAuth; +import com.kofan.juanzong.admin.sys.annotation.NotNull; +import com.kofan.juanzong.admin.user.entity.User; +import org.springframework.web.bind.annotation.RequestMapping; +import com.kofan.juanzong.sys.util.ResultUtil; +import ${package.Service}.${table.serviceName}; + +<#if restControllerStyle> + import org.springframework.web.bind.annotation.RestController; +<#else> + import org.springframework.stereotype.Controller; + +<#if superControllerClassPackage??> + import ${superControllerClassPackage}; + + +/** +*

+* a${table.comment!} +*

+* +* @author ${author} +* @since ${date} +*/ +<#if restControllerStyle> + @RestController +<#else> + @Controller + +<#if kotlin> + class ${table.controllerName}<#if superControllerClass??> : ${superControllerClass}() +<#else> + <#if superControllerClass??> + public class ${table.controllerName} extends ${superControllerClass} { + <#else> + public class ${table.controllerName} { + + + @Autowired + ${table.serviceName} ${table.entityPath}Service; + + @RequestMapping("/${table.entityPath}GetByPage") + @LoginRequired + @NoAuth("${table.comment!}查询(分页)") + @NotNull(str="pageNum,pageSize") + public Object getByPage(${entity} ${table.entityPath}, int pageNum, int pageSize, @CurrentUser User currentUser) { + List<${entity}> ${table.entityPath}List = ${table.entityPath}Service.get(${table.entityPath}, pageNum, pageSize); + PageInfo<${entity}> pageInfo = new PageInfo<>(${table.entityPath}List); + return ResultUtil.success(pageInfo); + } + + @RequestMapping("/${table.entityPath}Get") + @LoginRequired + @NoAuth("${table.comment!}查询") + public Object get(${entity} ${table.entityPath}, @CurrentUser User currentUser) { + List<${entity}> ${table.entityPath}List = ${table.entityPath}Service.get(${table.entityPath}); + return ResultUtil.success(${table.entityPath}List); + } + + @RequestMapping("/${table.entityPath}Add") + @LoginRequired + @NoAuth("${table.comment!}新增") + public Object add(${entity} ${table.entityPath}, @CurrentUser User currentUser) { + ${table.entityPath}.setCreate_user_id(currentUser.getUser_id()); + ${table.entityPath}Service.add(${table.entityPath}); + return ResultUtil.success(); + } + + @RequestMapping("/${table.entityPath}Del") + @LoginRequired + @NoAuth("${table.comment!}删除") + @NotNull(str="${table.name}_id") + public Object del(${entity} ${table.entityPath}, @CurrentUser User currentUser) { + ${table.entityPath}.setIs_del("1"); + ${table.entityPath}Service.update(${table.entityPath}); + return ResultUtil.success(); + } + + @RequestMapping("/${table.entityPath}Update") + @LoginRequired + @NoAuth("${table.comment!}修改") + @NotNull(str="${table.name}_id") + public Object update(${entity} ${table.entityPath}, @CurrentUser User currentUser) { + ${table.entityPath}Service.update(${table.entityPath}); + return ResultUtil.success(); + } + } + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/entity.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/entity.java.ftl new file mode 100644 index 0000000..21fc627 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/entity.java.ftl @@ -0,0 +1,139 @@ +package ${package.Entity}; + +<#list table.importPackages as pkg> + import ${pkg}; + +<#if swagger2> + import io.swagger.annotations.ApiModel; + import io.swagger.annotations.ApiModelProperty; + +<#if entityLombokModel> + import lombok.Data; + import lombok.EqualsAndHashCode; + import lombok.experimental.Accessors; + + +<#if entityLombokModel> + @Data + <#if superEntityClass??> + @EqualsAndHashCode(callSuper = true) + <#else> + @EqualsAndHashCode(callSuper = false) + + @Accessors(chain = true) + +<#if table.convert> + @TableName("${table.name}") + +<#if swagger2> + @ApiModel(value="${entity}对象", description="${table.comment!}") + +<#if superEntityClass??> + public class ${entity} extends ${superEntityClass}<#if activeRecord><${entity}> { +<#elseif activeRecord> + public class ${entity} extends Model<${entity}> { +<#else> + public class ${entity} implements Serializable { + +private static final long serialVersionUID = 1L; +<#-- ---------- BEGIN 字段循环遍历 ----------> +<#list table.fields as field> + <#if field.keyFlag> + <#assign keyPropertyName="${field.propertyName}"/> + + <#if field.comment!?length gt 0> + <#if swagger2> + @ApiModelProperty(value = "${field.comment}") + <#else> + + + <#if field.keyFlag> + <#-- 主键 --> + <#if field.keyIdentityFlag> + @TableId(value = "${field.name}", type = IdType.AUTO) + <#elseif idType??> + @TableId(value = "${field.name}", type = IdType.${idType}) + <#elseif field.convert> + @TableId("${field.name}") + + <#-- 普通字段 --> + <#elseif field.fill??> + <#-- ----- 存在字段填充设置 -----> + <#if field.convert> + @TableField(value = "${field.name}", fill = FieldFill.${field.fill}) + <#else> + @TableField(fill = FieldFill.${field.fill}) + + <#elseif field.convert> + @TableField("${field.name}") + +<#-- 乐观锁注解 --> + <#if (versionFieldName!"") == field.name> + @Version + +<#-- 逻辑删除注解 --> + <#if (logicDeleteFieldName!"") == field.name> + @TableLogic + + private ${field.propertyType} ${field.propertyName}; // ${field.comment} + +<#------------ END 字段循环遍历 ----------> + +<#------------ BEGIN lombok ----------> +<#if !entityLombokModel> + <#list table.fields as field> + <#if field.propertyType == "boolean"> + <#assign getprefix="is"/> + <#else> + <#assign getprefix="get"/> + + public ${field.propertyType} ${getprefix}${field.capitalName}() { + return ${field.propertyName}; + } + + <#if entityBuilderModel> + public ${entity} set${field.capitalName}(${field.propertyType} ${field.propertyName}) { + <#else> + public void set${field.capitalName}(${field.propertyType} ${field.propertyName}) { + + this.${field.propertyName} = ${field.propertyName}; + <#if entityBuilderModel> + return this; + + } + + +<#------------ END lombok ----------> + +<#if entityColumnConstant> + <#list table.fields as field> + public static final String ${field.name?upper_case} = "${field.name}"; + + + +<#if activeRecord> + @Override + protected Serializable pkVal() { + <#if keyPropertyName??> + return this.${keyPropertyName}; + <#else> + return null; + + } + + +<#if !entityLombokModel> + @Override + public String toString() { + return "${entity}{" + + <#list table.fields as field> + <#if field_index==0> + "${field.propertyName}=" + ${field.propertyName} + + <#else> + ", ${field.propertyName}=" + ${field.propertyName} + + + + "}"; + } + +} \ No newline at end of file diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/mapper.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/mapper.java.ftl new file mode 100644 index 0000000..9aa0ac3 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/mapper.java.ftl @@ -0,0 +1,16 @@ +package ${package.Mapper}; + +import java.util.List; +import ${package.Entity}.${entity}; +import ${superMapperClassPackage}; +<#if kotlin> +interface ${table.mapperName} : ${superMapperClass}<${entity}> +<#else> +public interface ${table.mapperName} extends ${superMapperClass}<${entity}> { + public void add(${entity} ${package.ModuleName}); + public void update(${entity} ${package.ModuleName}); + public void del(String ${package.ModuleName}_id); + public ${entity} getById(String ${package.ModuleName}_id); + public List<${entity}> get(${entity} ${package.ModuleName}); + } + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/mapper.xml.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/mapper.xml.ftl new file mode 100644 index 0000000..51b1897 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/mapper.xml.ftl @@ -0,0 +1,77 @@ + + + + + + insert into ${table.name}( + <#list table.fields as field> + <#if field.propertyName == "${package.ModuleName}_id"> + <#else> + ${field.propertyName}<#if field_has_next>, + + + )values( + <#list table.fields as field> + <#if field.propertyName == "${package.ModuleName}_id"> + <#else> + <#noparse>#{${field.propertyName}<#noparse>}<#if field_has_next>, + + + ) + + + + + + + + update ${table.name} v + set v.${package.ModuleName}_id = <#noparse>#{${package.ModuleName}_id<#noparse>} + <#list table.fields as field> + <#if field.propertyName == "${package.ModuleName}_id"> + <#else> + , v.${field.propertyName} + = <#noparse>#{${field.propertyName}<#noparse>} + + + where v.${package.ModuleName}_id = <#noparse>#{${package.ModuleName}_id<#noparse>} + + + + delete from ${table.name} + where ${package.ModuleName}_id = <#noparse>#{${package.ModuleName}_id<#noparse>} + + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/service.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/service.java.ftl new file mode 100644 index 0000000..99d8ca7 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/service.java.ftl @@ -0,0 +1,18 @@ +package ${package.Service}; + +import java.util.List; +import ${package.Entity}.${entity}; +import ${superServiceClassPackage}; + +<#if kotlin> + interface ${table.serviceName} : ${superServiceClass}<${entity}> +<#else> + public interface ${table.serviceName} extends ${superServiceClass}<${entity}> { + public void add(${entity} ${package.ModuleName}); + public void update(${entity} ${package.ModuleName}); + public void del(String ${package.ModuleName}_id); + public ${entity} getById(String ${package.ModuleName}_id); + public List<${entity}> get(${entity} ${package.ModuleName}); + public List<${entity}> get(${entity} ${package.ModuleName}, int pageNum, int pageSize); + } + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/serviceImpl.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/serviceImpl.java.ftl new file mode 100644 index 0000000..4b14170 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/backup/serviceImpl.java.ftl @@ -0,0 +1,58 @@ +package ${package.ServiceImpl}; + +import ${package.Entity}.${entity}; +import ${package.Mapper}.${table.mapperName}; +import ${package.Service}.${table.serviceName}; +import ${superServiceImplClassPackage}; +import java.util.List; +import com.github.pagehelper.PageHelper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +<#if kotlin> + open class ${table.serviceImplName} : ${superServiceImplClass}<${table.mapperName}, ${entity}>(), ${table.serviceName} { + + } +<#else> + public class ${table.serviceImplName} extends ${superServiceImplClass}<${table.mapperName}, ${entity}> implements ${table.serviceName} { + + @Autowired + ${table.mapperName} ${package.ModuleName}Mapper; + + @Override + public void add(${entity} ${package.ModuleName}) { + ${package.ModuleName}Mapper.add(${package.ModuleName}); + } + + @Override + public void del(String ${package.ModuleName}_id) { + ${package.ModuleName}Mapper.del(${package.ModuleName}_id); + } + + @Override + public void update(${entity} ${package.ModuleName}) { + ${package.ModuleName}Mapper.update(${package.ModuleName}); + } + + + @Override + public ${entity} getById(String ${package.ModuleName}_id) { + return ${package.ModuleName}Mapper.getById(${package.ModuleName}_id); + } + + @Override + public List<${entity}> get(${entity} ${package.ModuleName}) { + List<${entity}> ${package.ModuleName}List = ${package.ModuleName}Mapper.get(${package.ModuleName}); + return ${package.ModuleName}List; + } + + @Override + public List<${entity}> get(${entity} ${package.ModuleName}, int pageNum, int pageSize) { + PageHelper.startPage(pageNum, pageSize); + List<${entity}> ${package.ModuleName}List = ${package.ModuleName}Mapper.get(${package.ModuleName}); + return ${package.ModuleName}List; + } + + } + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/controller.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/controller.java.ftl new file mode 100644 index 0000000..9ef58a7 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/controller.java.ftl @@ -0,0 +1,108 @@ +package ${package.Controller}; + +import ${package.Service}.${table.serviceName}; +<#if restControllerStyle> +import org.springframework.web.bind.annotation.RestController; +<#else> +import org.springframework.stereotype.Controller; + +<#if superControllerClassPackage??> +import ${superControllerClassPackage}; + +import com.baomidou.mybatisplus.core.metadata.IPage; +import ResResult; +import ${package.Entity}.dto.<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}DTO; +import ${package.Entity}.vo.<#if entity?ends_with("VO")>${entity? cap_first? substring(0, entity? index_of("VO"))}<#else>${entity? cap_first}VO; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiImplicitParams; +import io.swagger.annotations.ApiOperation; +import io.swagger.annotations.Api; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; +import javax.annotation.Resource; +import java.util.Objects; +import java.util.List; + +/** + * ${table.comment!} + * @author ${author} + * @since ${date} + */ +<#if restControllerStyle> +@RequestMapping("<#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}") +@RestController +@Api(tags = "${table.comment}") +<#else> +@Controller + +<#if kotlin> +class ${table.controllerName}<#if superControllerClass??> : ${superControllerClass}() +<#else> + <#if superControllerClass??> +public class ${table.controllerName} extends ${superControllerClass} { + <#else> +public class ${table.controllerName} { + + + @Resource + private ${table.serviceName} <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service; + + @GetMapping + @ApiOperation("${table.comment!}page查询") + @ApiImplicitParams({ + @ApiImplicitParam(name = "page", value = "当前页数", defaultValue = "1"), + @ApiImplicitParam(name = "size", value = "每页个数", defaultValue = "10"), + @ApiImplicitParam(name = "orderByColumn", value = "排序字段"), + @ApiImplicitParam(name = "isDesc", value = "是否降序") + }) + public ResResult${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}VO>> getByPage(@Validated <#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity}DTO <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}) { + // TODO 分页查询 + IPage<<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}VO> page = <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service.selectByPage(getPage(), ${entity? uncap_first}); + return ResResult.succ(page); + } + + @PostMapping("list") + @ApiOperation("${table.comment!}list查询") + @ApiImplicitParams({ + @ApiImplicitParam(name = "orderByColumn", value = "排序字段"), + @ApiImplicitParam(name = "isDesc", value = "是否降序") + }) + public ResResult${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}VO>> list(@Validated @RequestBody <#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity}DTO <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}) { + // TODO 分页查询 + IPage<<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}VO> page = <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service.list(getPage(), ${entity? uncap_first}); + return ResResult.succ(page); + } + + @GetMapping("{id}") + @ApiOperation("${table.comment!}查询(id)") + public ResResult<<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}VO> get(@PathVariable String id) { + // TODO 查询 + boolean aNull = Objects.isNull(<#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service.getById(id)); + return ResResult.succ(aNull ? null : <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service.getById(id).convert()); + } + + @PostMapping + @ApiOperation("${table.comment!}新增") + public ResResult add(@RequestBody @Validated <#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity}DTO <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}) { + // TODO 新增 + <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service.save(${entity? uncap_first}.convert()); + return ResResult.succ("新增成功"); + } + + @DeleteMapping("{id}") + @ApiOperation("${table.comment!}删除") + public ResResult del(@PathVariable String id) { + // TODO 删除 + <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service.removeById(id); + return ResResult.succ("删除成功"); + } + + @PutMapping + @ApiOperation("${table.comment!}修改") + public ResResult update(@RequestBody @Validated <#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity}DTO <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}) { + // TODO 修改 + <#if entity?ends_with("DTO")>${entity? substring(0, entity? uncap_first? index_of("DTO"))}<#else>${entity? uncap_first}Service.updateById(${entity? uncap_first}.convert()); + return ResResult.succ("修改成功"); + } +} + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/entity.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/entity.java.ftl new file mode 100644 index 0000000..ce2f590 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/entity.java.ftl @@ -0,0 +1,141 @@ +package ${package.Entity}; + +<#list table.importPackages as pkg> +import ${pkg}; + +<#if swagger2> +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; + +<#if entityLombokModel> +import lombok.Data; +import lombok.experimental.Accessors; + +<#if entity?ends_with("DTO")> +import ${package.Entity?substring(0, package.Entity? index_of("dto"))}<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}; +<#elseif !entity?ends_with("DTO")&&!entity?ends_with("VO")> +import ${package.Entity}.vo.<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}VO; + +<#--<#if entity?ends_with("DTO")>--> +<#-- import ${package.Entity}.<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first};--> +<#--<#elseif !entity?ends_with("DTO")&&!entity?ends_with("VO")>--> +<#-- import ${package.Entity}.vo.<#if entity?ends_with("DTO")>${entity? cap_first? substring(0, entity? index_of("DTO"))}<#else>${entity? cap_first}VO;--> +<#----> + +<#if entityLombokModel> +@Data +<#if superEntityClass??> + +@Accessors(chain = true) + +<#if table.convert> +@TableName("${table.name}") + +<#if swagger2> +@ApiModel(value="${entity}对象", description="${table.comment!}") + +<#if superEntityClass??> +public class ${entity} <#if !entity?ends_with("VO")>extends ${superEntityClass}<#if entity?ends_with("DTO")><${entity? cap_first? substring(0, entity? index_of("DTO"))}><#else><${entity? cap_first}VO>{ +<#elseif activeRecord> +public class ${entity} extends Model<${entity}> { +<#else> +public class ${entity} implements Serializable { + +<#-- ---------- BEGIN 字段循环遍历 ----------> +<#list table.fields as field> + <#if field.keyFlag> + <#assign keyPropertyName="${field.propertyName}"/> + + <#if field.comment!?length gt 0> + <#if swagger2> + @ApiModelProperty(value = "${field.comment}") + <#else> + + + <#if field.keyFlag> + <#-- 主键 --> + <#if field.keyIdentityFlag> + @TableId(value = "${field.name}", type = IdType.AUTO) + <#elseif idType??> + @TableId(value = "${field.name}", type = IdType.${idType}) + <#elseif field.convert> + @TableId("${field.name}") + + <#-- 普通字段 --> + <#elseif field.fill??> + <#-- ----- 存在字段填充设置 -----> + <#if field.convert> + @TableField(value = "${field.name}", fill = FieldFill.${field.fill}) + <#else> + @TableField(fill = FieldFill.${field.fill}) + + <#elseif field.convert> + @TableField("${field.name}") + + <#-- 乐观锁注解 --> + <#if (versionFieldName!"") == field.name> + @Version + + <#-- 逻辑删除注解 --> + <#if (logicDeleteFieldName!"") == field.name> + @TableLogic + + private ${field.propertyType} ${field.propertyName}; + +<#------------ END 字段循环遍历 ----------> +} +<#------------ BEGIN lombok ----------> +<#if !entityLombokModel> +<#list table.fields as field> + <#if field.propertyType == "boolean"> + <#assign getprefix="is"/> + <#else> + <#assign getprefix="get"/> + + public ${field.propertyType} ${getprefix}${field.capitalName}() { + return ${field.propertyName}; + } + + <#if entityBuilderModel> + public ${entity} set${field.capitalName}(${field.propertyType} ${field.propertyName}) { + <#else> + public void set${field.capitalName}(${field.propertyType} ${field.propertyName}) { + + this.${field.propertyName} = ${field.propertyName}; + <#if entityBuilderModel> + return this; + + } + + +<#------------ END lombok ----------> + +<#if entityColumnConstant> + <#list table.fields as field> + public static final String ${field.name?upper_case} = "${field.name}"; + + +<#if activeRecord> + @Override + protected Serializable pkVal() { + <#if keyPropertyName??> + return this.${keyPropertyName}; + <#else> + return null; + + } + +<#if !entityLombokModel> + @Override + public String toString() { + return "${entity}{" + + <#list table.fields as field> + <#if field_index==0> + "${field.propertyName}=" + ${field.propertyName} + + <#else> + ", ${field.propertyName}=" + ${field.propertyName} + + + + "}"; + } + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/mapper.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/mapper.java.ftl new file mode 100644 index 0000000..3472094 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/mapper.java.ftl @@ -0,0 +1,12 @@ +package ${package.Mapper}; + +import ${package.Entity}.${entity}; +import ${superMapperClassPackage}; + +<#if kotlin> +interface ${table.mapperName} : ${superMapperClass}<${entity}> +<#else> +public interface ${table.mapperName} extends ${superMapperClass}<${entity}> { + +} + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/mapper.xml.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/mapper.xml.ftl new file mode 100644 index 0000000..ee720f2 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/mapper.xml.ftl @@ -0,0 +1,76 @@ + + + + + insert into ${table.name}( + <#list table.fields as field> + <#if field.propertyName == "${package.ModuleName}_id"> + <#else> + ${field.propertyName}<#if field_has_next>, + + + )values( + <#list table.fields as field> + <#if field.propertyName == "${package.ModuleName}_id"> + <#else> + <#noparse>#{${field.propertyName}<#noparse>}<#if field_has_next>, + + + ) + + + + + + + + update ${table.name} v + set v.${package.ModuleName}_id = <#noparse>#{${package.ModuleName}_id<#noparse>} + <#list table.fields as field> + <#if field.propertyName == "${package.ModuleName}_id"> + <#else> + , v.${field.propertyName} + = <#noparse>#{${field.propertyName}<#noparse>} + + + where v.${package.ModuleName}_id = <#noparse>#{${package.ModuleName}_id<#noparse>} + + + + delete from ${table.name} + where ${package.ModuleName}_id = <#noparse>#{${package.ModuleName}_id<#noparse>} + + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/service.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/service.java.ftl new file mode 100644 index 0000000..21f01d7 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/service.java.ftl @@ -0,0 +1,23 @@ +package ${package.Service}; + +import com.baomidou.mybatisplus.core.metadata.IPage; +import ${package.Entity}.${entity}; +import ${superServiceClassPackage}; +import cn.zm.plus.web.entity.dto.${entity? cap_first}DTO; +import cn.zm.plus.web.entity.vo.${entity? cap_first}VO; +<#--import ${package.Entity}.${};--> + +<#if kotlin> +interface ${table.serviceName} : ${superServiceClass}<${entity}> +<#else> +public interface ${table.serviceName} extends ${superServiceClass}<${entity}> { + /** + * 分页查询 + * + * @param page 分页信息 + * @param ${entity} ${table.comment!}入参 + * @return 分页结果 + */ + IPage<${entity? cap_first}VO> selectByPage(IPage<${entity}> page, ${entity? cap_first}DTO ${entity}); +} + diff --git a/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/serviceImpl.java.ftl b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/serviceImpl.java.ftl new file mode 100644 index 0000000..25fed20 --- /dev/null +++ b/trip-web-server/base-module/mybatis-plus/target/classes/templates/code/serviceImpl.java.ftl @@ -0,0 +1,30 @@ +package ${package.ServiceImpl}; + +import ${package.Entity}.${entity}; +import ${package.Mapper}.${table.mapperName}; +import ${package.Service}.${table.serviceName}; +import ${superServiceImplClassPackage}; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; +import com.baomidou.mybatisplus.core.metadata.IPage; +import cn.zm.plus.web.entity.dto.${entity? cap_first}DTO; +import cn.zm.plus.web.entity.vo.${entity? cap_first}VO; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import ${package.Service?substring(0, package.Service? index_of("web.service"))}utils.ConvertUtil; + + +@Service +@Transactional(rollbackFor = Exception.class) +<#if kotlin> +open class ${table.serviceImplName} : ${superServiceImplClass}<${table.mapperName}, ${entity}>(), ${table.serviceName} { + +} +<#else> +public class ${table.serviceImplName} extends ${superServiceImplClass}<${table.mapperName}, ${entity}> implements ${table.serviceName} { + @Override + public IPage<${entity? cap_first}VO> selectByPage(IPage<${entity}> page, ${entity? cap_first}DTO ${table.name}) { + IPage<${entity}> ${table.name}Page = baseMapper.selectPage(page, new QueryWrapper<>(${table.name}.convert())); + return ConvertUtil.buildPage(${table.name}Page); + } +} + diff --git a/trip-web-server/base-module/pom.xml b/trip-web-server/base-module/pom.xml index e18e693..dae90eb 100644 --- a/trip-web-server/base-module/pom.xml +++ b/trip-web-server/base-module/pom.xml @@ -21,6 +21,7 @@ common knife4j mybatis-plus + datasource \ No newline at end of file diff --git a/trip-web-server/pom.xml b/trip-web-server/pom.xml index 17dd3e2..c757208 100644 --- a/trip-web-server/pom.xml +++ b/trip-web-server/pom.xml @@ -16,6 +16,9 @@ base-module + trip-web-model + trip-web-service + trip-web-api @@ -31,7 +34,6 @@ - org.springframework.boot spring-boot-dependencies @@ -46,7 +48,6 @@ spring-security-jwt - io.jsonwebtoken @@ -54,6 +55,24 @@ + + cn.zm + datasource + ${project.version} + + + + cn.zm + trip-web-model + ${project.version} + + + + cn.zm + trip-web-service + ${project.version} + + cn.zm common diff --git a/trip-web-server/trip-web-api/pom.xml b/trip-web-server/trip-web-api/pom.xml new file mode 100644 index 0000000..2846cd4 --- /dev/null +++ b/trip-web-server/trip-web-api/pom.xml @@ -0,0 +1,30 @@ + + + + trip-web-server + cn.zm + 1.0.0-SNAPSHOT + + 4.0.0 + + trip-web-api + + + 8 + 8 + + + + + org.springframework.boot + spring-boot-starter-web + + + cn.zm + trip-web-service + + + + \ No newline at end of file diff --git a/trip-web-server/trip-web-api/src/main/java/cn/zm/api/TripWebApplication.java b/trip-web-server/trip-web-api/src/main/java/cn/zm/api/TripWebApplication.java new file mode 100644 index 0000000..27fb763 --- /dev/null +++ b/trip-web-server/trip-web-api/src/main/java/cn/zm/api/TripWebApplication.java @@ -0,0 +1,11 @@ +package cn.zm.api; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class TripWebApplication { + public static void main(String[] args) { + SpringApplication.run(TripWebApplication.class, args); + } +} diff --git a/trip-web-server/trip-web-api/src/main/resources/application.yml b/trip-web-server/trip-web-api/src/main/resources/application.yml new file mode 100644 index 0000000..8e2c549 --- /dev/null +++ b/trip-web-server/trip-web-api/src/main/resources/application.yml @@ -0,0 +1,7 @@ +server: + port: 8080 +spring: + application: + name: trip-web + profiles: + active: plus, datasource diff --git a/trip-web-server/trip-web-api/target/classes/application.yml b/trip-web-server/trip-web-api/target/classes/application.yml new file mode 100644 index 0000000..8e2c549 --- /dev/null +++ b/trip-web-server/trip-web-api/target/classes/application.yml @@ -0,0 +1,7 @@ +server: + port: 8080 +spring: + application: + name: trip-web + profiles: + active: plus, datasource diff --git a/trip-web-server/trip-web-model/pom.xml b/trip-web-server/trip-web-model/pom.xml new file mode 100644 index 0000000..ef2a801 --- /dev/null +++ b/trip-web-server/trip-web-model/pom.xml @@ -0,0 +1,26 @@ + + + + trip-web-server + cn.zm + 1.0.0-SNAPSHOT + + 4.0.0 + + trip-web-model + + + 8 + 8 + + + + + cn.zm + mybatis-plus + + + + \ No newline at end of file diff --git a/trip-web-server/trip-web-service/pom.xml b/trip-web-server/trip-web-service/pom.xml new file mode 100644 index 0000000..210f2ec --- /dev/null +++ b/trip-web-server/trip-web-service/pom.xml @@ -0,0 +1,25 @@ + + + + trip-web-server + cn.zm + 1.0.0-SNAPSHOT + + 4.0.0 + + trip-web-service + + + 8 + 8 + + + + cn.zm + trip-web-model + + + + \ No newline at end of file