← Back to team overview

maria-developers team mailing list archive

Re: [Commits] 7819ddb: MDEV-8192 - THD::set_command() takes 0.05% in OLTP RO

 

Hi, Sergey!

On May 20, svoj@xxxxxxxxxxx wrote:
> revision-id: 7819ddb99be5dff26c8a2109ba70a54289a950ad
> parent(s): fcb48ee418959ea2c05d528266bb2dcad5bce46b
> committer: Sergey Vojtovich
> branch nick: mariadb
> timestamp: 2015-05-20 16:55:20 +0400
> message:
> 
> MDEV-8192 - THD::set_command() takes 0.05% in OLTP RO
> 
> Moved THD::set_command() definition to sql_class.h so that it can be inlined.

ok

> Call PSI_server::set_thread_command() conditionally: it is cheaper than calling
> dummy function when PFS is off (though it adds some overhead when PFS is on).

I'm not sure about it. P_S will be used more and more over time, let's
not intentionally penalize it.

Regards,
Sergei


Follow ups