← Back to team overview

maria-developers team mailing list archive

Re: 9145b7d: MDEV-11153 - Introduce status variables for table cache monitoring and tuning

 

Hi, Sergey!

On Oct 26, Sergey Vojtovich wrote:
> Hi Sergei,
> 
> The only reason is there were minor requests to make it tunable. It is easier
> to convert read-only var to command line option.
> 
> If we know for sure that we won't do it, I can make it status var instead.

As discussed on irc, let's make it a status var.

> > > +static Sys_var_uint Sys_table_cache_active_instances(
> > > +       "table_open_cache_active_instances",
> > > +       "Number of active table cache instances",
> > > +       READ_ONLY GLOBAL_VAR(tc_active_instances), NO_CMD_LINE,
> > > +       VALID_RANGE(1, 64), DEFAULT(1), BLOCK_SIZE(1));
> > 
> > Why did you do it as a sysvar, not as a status variable?

Regards,
Sergei
Chief Architect MariaDB
and security@xxxxxxxxxxx


References