mariadb/mysql-test/suite
Marko Mäkelä 6b423fe466 MDEV-37152: Reimplement innodb_buffer_pool_read_requests
Let us remove the thread-local variable mariadb_stats and introduce
trx_t::pages_accessed, trx_t::active_handler_stats for more
efficiently maintaining some statistics inside InnoDB.

buf_pool.stat.n_page_gets: Reimplemented as Atomic_counter<ulint>.
This will no longer track some accesses in the background where
!current_thd() || !thd_to_trx(current_thd).

trx_t::free(), trx_t::commit_cleanup(): Apply pages_accessed
to buf_pool.stat.n_page_gets.

buf_read_ahead_report(): Report a completed read-ahead batch.

ha_innobase::estimate_rows_upper_bound(): Do not bother updating
trx_t::op_info around some quick arithmetics.

ha_innobase::records_in_range(): Do invoke mariadb_set_stats.
This will change some ANALYZE FORMAT=JSON SELECT results of the test
main.rowid_filter_innodb.
2025-09-24 14:14:03 +03:00
..
archive Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
atomic Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
binlog Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
binlog_encryption Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
client
compat MDEV-36216 TO_CHAR FM format not recognized in SQL_MODE=Oracle 2025-04-16 12:55:49 +04:00
csv
encryption Merge 10.11 into 11.4 2025-09-24 13:40:09 +03:00
engines Merge 10.11 into 11.4 2025-09-16 17:01:39 +03:00
events Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
federated Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
funcs_1 Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
funcs_2 Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
galera Merge 10.11 into 11.4 2025-09-24 13:40:09 +03:00
galera_3nodes Merge 10.11 into 11.4 2025-09-24 13:40:09 +03:00
galera_3nodes_sr galera mtr tests: synchronization between branches and editions 2025-04-02 04:50:11 +02:00
galera_sr galera tests: synchronization between versions and editions 2025-08-14 17:04:40 +02:00
gcol Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
handler Merge 10.11 into 11.4 2025-01-09 07:58:08 +02:00
heap Merge branch '10.11 into 11.4 2025-01-30 12:01:11 +01:00
innodb MDEV-37152: Reimplement innodb_buffer_pool_read_requests 2025-09-24 14:14:03 +03:00
innodb_fts MDEV-35163 InnoDB persistent statistics fail to update after ALTER TABLE...ALGORITHM=COPY 2025-09-22 17:39:47 +05:30
innodb_gis Merge branch '10.11' into 11.4 2025-06-17 09:50:22 +02:00
innodb_i_s
innodb_zip Merge branch '10.11 into 11.4 2025-01-30 12:01:11 +01:00
jp
json Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
large_tests
maria Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
mariabackup Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
merge Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
mtr/t Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
mtr2
multi_source multi_source.mariadb-dump_slave: don't change global settings 2025-07-31 11:57:38 +02:00
optimizer_unfixed_bugs
parts Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
perfschema Merge 10.11 into 11.4 2025-09-24 13:40:09 +03:00
perfschema_stress
period Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
plugins Merge 10.11 into 11.4 2025-09-24 13:40:09 +03:00
roles Merge branch '10.11 into 11.4 2025-01-30 12:01:11 +01:00
rpl Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
s3 Merge branch '10.11' into 11.4 2025-06-17 09:50:22 +02:00
sql_sequence Merge 10.6 into 10.11 2025-09-24 12:48:56 +03:00
storage_engine
stress
sys_vars Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
sysschema Merge branch 10.11 into 11.4 2025-09-02 15:58:39 +02:00
unit
vcol Merge branch '10.11' into bb-11.4-release 2025-09-15 16:17:33 +02:00
versioning Merge branch 10.11 into 11.4 2025-09-02 15:58:39 +02:00
wsrep Merge 10.11 into 11.4 2025-09-03 10:32:56 +03:00