mariadb/storage/innobase/handler
Marko Mäkelä 807bfd05d8 MDEV-39040 log_sys.latch performance lost to PERFORMANCE_SCHEMA
log_sys.latch: Remove the PERFORMANCE_SCHEMA instrumentation.
We already know that this is a very busy latch. All code paths
where a shared log_sys.latch is being held should already be
highly optimized. The few paths where an exclusive log_sys.latch
is being held are known to be potentially problematic, but rare.

Removing the PERFORMANCE_SCHEMA instrumentation for this latch
is expected to improve performance. On a quick Sysbench run with

	performance_schema_instrument=wait/synch/rwlock/%=on

I observed an 2.9% improvement on throughput.

srw_lock_debug_simple: A non-instrumented version of srw_lock_debug,
to allow PERFORMANCE_SCHEMA to work WITH_INNODB_EXTRA_DEBUG=ON.

Reviewed by: Alessandro Vetere
2026-03-19 14:18:01 +02:00
..
ha_innodb.cc MDEV-39040 log_sys.latch performance lost to PERFORMANCE_SCHEMA 2026-03-19 14:18:01 +02:00
ha_innodb.h Merge 10.6 into 10.11 2025-09-24 12:48:56 +03:00
handler0alter.cc Merge 10.6 into 10.11 2026-03-11 09:06:05 +02:00
i_s.cc Fixed that one can compile MariaDB with ASAN with -Wframe-larger-than=16384 2025-09-04 18:08:38 +03:00
i_s.h Merge 10.5 into 10.6 2021-08-23 11:21:33 +03:00