[MDEV-15642] Add new GLOBAL STATUS for MariaDB 10.4 Created: 2018-03-23 Updated: 2018-12-29 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Server |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Aurélien LEQUOY | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The goal is to increase efficiently of tool's monitoring and get
only when we need it. The goal is to add a new GLOBAL STATUS with name : Com_set_global_variables (who only affected when we update this, for all server like with SET GLOBAL XXXXX=YY; I know there is Com_set_option, but when we do
it's update to +1 to Com_set_option and I don't want this because most of ORM and Apps made this. (like AUTOCOMMIT) |
| Comments |
| Comment by Aurélien LEQUOY [ 2018-08-10 ] | ||||||||||||||||||||||||||
|
any news ? the goal is to ask Variables only when we need it and not each time and compare we previous request. This is ask for new feature | ||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2018-08-10 ] | ||||||||||||||||||||||||||
|
You mean, you will do SHOW STATUS LIKE 'Com_set_global_variables' and when it changes you do SHOW GLOBAL VARIABLES? Technically, you can get a similar functionality without any server changes by comparing checksum of all global variables. You can generate the checksum with, for example, SELECT MD5(GROUP_CONCAT(VARIABLE_VALUE)) FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES; The complete solution might look like (untested):
| ||||||||||||||||||||||||||
| Comment by Aurélien LEQUOY [ 2018-09-17 ] | ||||||||||||||||||||||||||
|
i rewrited as :
|