mariadb/storage/innobase/row
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
..
row0ext.cc Merge 10.3 into 10.4 2020-07-02 07:39:33 +03:00
row0ftsort.cc Merge branch '10.6' into 10.11 2026-01-28 14:22:20 +01:00
row0import.cc Merge branch '10.6' into 10.11 2026-01-28 14:22:20 +01:00
row0ins.cc MDEV-36436 Assertion "unexpected references" == 0 after ALTER IGNORE TABLE 2026-02-26 13:18:23 +05:30
row0log.cc Merge 10.6 into 10.11 2026-01-02 11:06:05 +02:00
row0merge.cc MDEV-38968 Redundant FILE_CHECKPOINT writes 2026-03-11 12:20:08 +02:00
row0mysql.cc MDEV-39040 log_sys.latch performance lost to PERFORMANCE_SCHEMA 2026-03-19 14:18:01 +02:00
row0purge.cc MDEV-16168: Performance regression after MDEV-12288 2025-09-04 08:40:40 +03:00
row0quiesce.cc Merge 10.6 into 10.11 2025-05-21 07:36:35 +03:00
row0row.cc MDEV-36545: Possible crash in row_raw_format_str() 2025-10-23 09:08:08 +03:00
row0sel.cc MDEV-37619 The forced use of THD accessors hurts InnoDB performance 2025-09-16 15:18:32 +03:00
row0uins.cc MDEV-36436 Assertion "unexpected references" == 0 after ALTER IGNORE TABLE 2026-02-26 13:18:23 +05:30
row0umod.cc MDEV-36017 Alter table aborts when temporary directory is full 2025-05-26 10:12:14 +05:30
row0undo.cc MDEV-36436 Assertion "unexpected references" == 0 after ALTER IGNORE TABLE 2026-02-26 13:18:23 +05:30
row0upd.cc MDEV-36017 Alter table aborts when temporary directory is full 2025-05-26 10:12:14 +05:30
row0vers.cc Merge 10.6 into 10.11 2025-10-09 13:29:46 +03:00