| Bug #117850 | Expose more component information to SQL than currently provided | ||
|---|---|---|---|
| Submitted: | 2 Apr 6:58 | Modified: | 2 Apr 8:45 |
| Reporter: | Simon Mudd (OCA) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Information schema | Severity: | S4 (Feature request) |
| Version: | 8.0, 8.4, 9.x | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | component, plugins, upgrades, visibility | ||
[2 Apr 6:58]
Simon Mudd
[2 Apr 7:07]
Simon Mudd
component information provided by MySQL 8.4 is minimal:
mysql> SELECT * FROM mysql.component;
+--------------+--------------------+------------------------------------+
| component_id | component_group_id | component_urn |
+--------------+--------------------+------------------------------------+
| 1 | 1 | file://component_validate_password |
| 2 | 2 | file://component_log_sink_json |
+--------------+--------------------+------------------------------------+
A different box I use shows this:
+--------------+--------------------+-------------------------------------+
| component_id | component_group_id | component_urn |
+--------------+--------------------+-------------------------------------+
| 1 | 1 | file://component_log_filter_dragnet |
+--------------+--------------------+-------------------------------------+
Again rather basic.
Also compare this with I_S.PLUGINS (8.4.4):
show create table information_schema.plugins\G
*************************** 1. row ***************************
Table: PLUGINS
Create Table: CREATE TEMPORARY TABLE `PLUGINS` (
`PLUGIN_NAME` varchar(64) NOT NULL DEFAULT '',
`PLUGIN_VERSION` varchar(20) NOT NULL DEFAULT '',
`PLUGIN_STATUS` varchar(10) NOT NULL DEFAULT '',
`PLUGIN_TYPE` varchar(80) NOT NULL DEFAULT '',
`PLUGIN_TYPE_VERSION` varchar(20) NOT NULL DEFAULT '',
`PLUGIN_LIBRARY` varchar(64) DEFAULT NULL,
`PLUGIN_LIBRARY_VERSION` varchar(20) DEFAULT NULL,
`PLUGIN_AUTHOR` varchar(64) DEFAULT NULL,
`PLUGIN_DESCRIPTION` longtext,
`PLUGIN_LICENSE` varchar(80) DEFAULT NULL,
`LOAD_OPTION` varchar(64) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 <====== time to move to utf8mb4?
[2 Apr 7:17]
MySQL Verification Team
Hello Simon, Thank you for the feature request! regards, Umesh
[2 Apr 8:45]
Simon Mudd
Note: I see the category has been changed to MySQL Server: Information schema. That may be correct but performance_schema may be better as if we want to see live dependency references between components etc then information_schema may not be appropriate. Either way that's a detail, it making the information available that's important and useful.
