Performing bulk inserts into identical tables using MyISAM, Aria, and InnoDB, the performance of Aria when TRANSACTIONAL=1 (the default) is over 100x slower than MyISAM or InnoDB (single transaction) on 10.4.7.
When TRANSACTIONAL=0, performance is approximately 75% of MyISAM & InnoDB
Setting ROW_FORMAT=FIXED results in a 20% improvement in 10.1, but from 10.3 forward ROW_FORMAT=PAGE loses very little to FIXED.
The problem is that not only does this make Aria with TRANSACTIONAL=1 almost unusable for updates, but since 10.4 uses Aria with TRANSACTIONAL=1 for system tables, system operations in 10.4 are seriously affected. Adding users, for example, is 52% slower in 10.3 than in 10.1, but 511% slower in 10.4.
create table simple (
id int(10) unsigned not null auto_increment,
modified timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
~# time for i in {1..1000}; do mysql -Ae "grant all privileges on *.* to 'test'@'127.0.0.1' identified by 'terriblylongpassword-weo48u' with grant option; flush privileges; drop user 'test'@'127.0.0.1';"; done
10.1.29:
real 0m3.388s
user 0m2.475s
sys 0m0.463s
10.3.15:
real 0m5.177s
user 0m3.647s
sys 0m1.098s
10.4.7:
real 0m17.335s
user 0m5.412s
sys 0m3.418s
*All tests performed on 1GB RAM VMs with aria_pagecache_buffer_size=300M, key_buffer_size=300M, and innodb-buffer-pool-size=300M
Attachments
Issue Links
relates to
MDEV-23326aria TRANSACTIONAL=1 significantly slow on timezone intialisation (was: time zone initialision significantly slower in 10.4 compared to 10.3 (myisam))
juan.vera, you must have something really misconfigured or broken in your system. While in my first quick test Aria is, indeed, slower than MySQL, it's nowhere near 100x. Still, it is slower, so let's keep this bug open to investigate it.
apparently InnoDB isn't tuned for performance in mtr
Sergei Golubchik
added a comment - juan.vera , you must have something really misconfigured or broken in your system. While in my first quick test Aria is, indeed, slower than MySQL, it's nowhere near 100x. Still, it is slower, so let's keep this bug open to investigate it.
I've run the following mtr test on 10.4:
create table simple (
id int (10) unsigned not null auto_increment,
modified timestamp not null default current_timestamp () on update current_timestamp (),
val int (10) unsigned default null ,
blah varchar (511) default null ,
primary key (id),
key simple_modified (modified),
key simple_blah100 (blah(100))
) engine=aria default charset=utf8mb4 collate utf8mb4_unicode_ci transactional=1;
--disable_query_log
--let $a=1000000
--while ($a) {
insert simple(val, blah) values ( RAND()*10000000, repeat(rand(), 10));
--dec $a
}
--enable_query_log
drop table simple;
with the opt file
--aria-pagecache-buffer-size=300M
--key-buffer-size=300M
--loose-innodb-buffer-pool-size=300M
Aria, transactional=1
405.590
MyISAM
189.696
Aria, transactional=0
376.955
InnoDB
11814.816
apparently InnoDB isn't tuned for performance in mtr
serg Your numbers do not coincide with the tests I ran on all these versions on both VirtualBox VMs and Digital Ocean instances. The instances and configurations are not haphazard. I went ahead & re-ran the tests on 10.3 & 10.4 for your peace of mind. The results are the same as before although there is a clear shift from better MyISAM & InnoDB performance to better Aria T=1 performance which seems to be a function of the paravirtualization interface - I don't know if this has to do with faster memory, but the differences are not as dramatically attenuated as yours:
Type
Ver
MyISAM
Aria T=0
Aria T=1
InnoDB
VB
10.3.17
1.35MB/s
988KB/s
15.4KB/s
1.37MB/s
VB
10.4.7
1.37MB/s
1016KB/s
15.2KB/s
1.37MB/s
DO
10.3.17
733KB/s
545KB/s
79KB/s
752KB/s
DO
10.4.7
389KB/s
498KB/s
89KB/s
695KB/s
The instances are all correct and comparable in terms of I/O, RAM, and CPU: 1GB RAM 1 CPU CentOS 7.5 instances on VirtualBox running on an Ubuntu 19.04 Core i9 32GB RAM NVMe test machine, and 1GB RAM 1 CPU CentOS 7.5 instances on DigitalOcean:
local VirtualBox VMs (VB) ioping:
--- / (xfs /dev/dm-0) ioping statistics ---
9 requests completed in 4.29 ms, 36 KiB read, 2.10 k iops, 8.19 MiB/s
Juan
added a comment - - edited serg Your numbers do not coincide with the tests I ran on all these versions on both VirtualBox VMs and Digital Ocean instances. The instances and configurations are not haphazard. I went ahead & re-ran the tests on 10.3 & 10.4 for your peace of mind. The results are the same as before although there is a clear shift from better MyISAM & InnoDB performance to better Aria T=1 performance which seems to be a function of the paravirtualization interface - I don't know if this has to do with faster memory, but the differences are not as dramatically attenuated as yours:
Type
Ver
MyISAM
Aria T=0
Aria T=1
InnoDB
VB
10.3.17
1.35MB/s
988KB/s
15.4KB/s
1.37MB/s
VB
10.4.7
1.37MB/s
1016KB/s
15.2KB/s
1.37MB/s
DO
10.3.17
733KB/s
545KB/s
79KB/s
752KB/s
DO
10.4.7
389KB/s
498KB/s
89KB/s
695KB/s
The instances are all correct and comparable in terms of I/O, RAM, and CPU: 1GB RAM 1 CPU CentOS 7.5 instances on VirtualBox running on an Ubuntu 19.04 Core i9 32GB RAM NVMe test machine, and 1GB RAM 1 CPU CentOS 7.5 instances on DigitalOcean:
local VirtualBox VMs (VB) ioping:
--- / (xfs /dev/dm-0) ioping statistics ---
9 requests completed in 4.29 ms, 36 KiB read, 2.10 k iops, 8.19 MiB/s
generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
min/avg/max/mdev = 358.5 us / 477.1 us / 550.6 us / 55.5 us
DigitaOcean AMS3/1G (DO)ioping:
--- / (xfs /dev/vda1) ioping statistics ---
9 requests completed in 4.50 ms, 36 KiB read, 2 k iops, 7.81 MiB/s
generated 10 requests in 9.00 s, 40 KiB, 1 iops, 4.44 KiB/s
min/avg/max/mdev = 397.7 us / 499.9 us / 635.4 us / 77.2 us
VB fio r/w:
read: IOPS=23.4k, BW=91.5MiB/s (95.9MB/s)(3070MiB/33565msec)
write: IOPS=7825, BW=30.6MiB/s (32.1MB/s)(1026MiB/33565msec)
DO fio r/w:
read: IOPS=16.5k, BW=64.4MiB/s (67.5MB/s)(3070MiB/47702msec)
write: IOPS=5506, BW=21.5MiB/s (22.6MB/s)(1026MiB/47702msec)
and tests are done both with the original testing configuration:
[mysqld]
aria_pagecache_buffer_size=300M
key_buffer_size=300M
innodb-buffer-pool-size=300M
innodb-flush-log-at-trx-commit=0
sync-binlog=1000
transaction-isolation=READ-COMMITTED
log_bin
log_basename=cluster
binlog_format=ROW
binlog_row_image=MINIMAL
#log_slave_updates=1
expire_logs_days=2
default-storage-engine=innodb
innodb_autoinc_lock_mode=2
innodb_fast_shutdown=0
bind-address=0.0.0.0
server-id=1
gtid-domain-id=10
log-error=/var/log/mariadb-err.log
log-warnings=3
gtid_strict_mode=0
and with a configuration reflecting only the parameters you listed above:
[mysqld]
aria_pagecache_buffer_size=300M
key_buffer_size=300M
innodb-buffer-pool-size=300M
which produced consistent results with each other and with prior results using either server.cnf:
10.3.17 Transactional=0: 1.30MiB/s
10.3.17 Transactional=1: 15.6KiB/s
10.4.7 Transactional=0: 1.32MiB/s
10.4.7 Transactional=1: 15.6KiB/s
for db in mysql aria_non_transactional innodb rocksdb myisam; do echo $db ; time sql/mysql_tzinfo_to_sql /usr/share/zoneinfo/ | client/mysql -S /tmp/s.sock $db ; done
Rotational old 5400rpm WD disk mysql_tzinfo_to_sql Performance for storage engines
MDEV-23326 show aria T=1 has significant time in biolatency for Sync-Write IO operations. How hard is it to make Aria recognise transactions and perform check-pointing only on COMMIT (or internal buffers being full?)
Daniel Black
added a comment - - edited Repeating a restructure of MDEV-23326 tests against mysql_tzinfo_to_sql
Alternate table structures created with:
create altername timezone data tables in new database
create database if not exists aria_non_transactional;
use aria_non_transactional;
create table time_zone like mysql.time_zone ;
create table time_zone_leap_second like mysql.time_zone_leap_second ;
create table time_zone_name like mysql.time_zone_name ;
create table time_zone_transition like mysql.time_zone_transition ;
create table time_zone_transition_type like mysql.time_zone_transition_type;
alter table time_zone transactional=0;
alter table time_zone_leap_second transactional=0;
alter table time_zone_name transactional=0;
alter table time_zone_transition transactional=0;
alter table time_zone_transition_type transactional=0;
Includes MDEV-23440 patch to add a transaction wrapper around the insert statements.
default server statup
scripts/mysql_install_db --no-defaults --srcdir=${OLDPWD} --builddir=${PWD} --datadir=/home/dan/datadir/MDEV-20555_test
sql/mysqld --no-defaults --skip-networking --datadir=/home/dan/datadir/MDEV-20555_test --socket /tmp/s.sock --lc-messages-dir=${PWD}/sql/share --plugin-dir=./storage/rocksdb --verbose
test execution
for db in mysql aria_non_transactional innodb rocksdb myisam; do echo $db ; time sql/mysql_tzinfo_to_sql /usr/share/zoneinfo/ | client/mysql -S /tmp/s.sock $db ; done
Rotational old 5400rpm WD disk mysql_tzinfo_to_sql Performance for storage engines
datadir spec -old disk
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Green
Device Model: WDC WD40EZRX-00SPEB0
Serial Number: WD-WCC4E5000UCH
LU WWN Device Id: 5 0014ee 2b568678d
Firmware Version: 80.00A80
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
MariaDB-10.4.14: Real Time Seconds to complete. mysql_tzinfo_to_sql load
Table engine definition
Time to load
Aria T=1
17m44.511s
Aria T=0
0m1.588s
Innodb
0m24.773s
RocksDB
0m4.195s
MyISAM
0m4.195s
postcheck
for db in mysql aria_non_transactional innodb rocksdb myisam; do echo $db ; client/mysql -S /tmp/s.sock -e "show create table $db.time_zone" | grep -i engine ; done
mysql
time_zone CREATE TABLE `time_zone` (\n `Time_zone_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `Use_leap_seconds` enum('Y','N') NOT NULL DEFAULT 'N',\n PRIMARY KEY (`Time_zone_id`)\n) ENGINE=Aria AUTO_INCREMENT=1784 DEFAULT CHARSET=utf8 PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Time zones'
aria_non_transactional
time_zone CREATE TABLE `time_zone` (\n `Time_zone_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `Use_leap_seconds` enum('Y','N') NOT NULL DEFAULT 'N',\n PRIMARY KEY (`Time_zone_id`)\n) ENGINE=Aria AUTO_INCREMENT=1784 DEFAULT CHARSET=utf8 PAGE_CHECKSUM=1 TRANSACTIONAL=0 COMMENT='Time zones'
innodb
time_zone CREATE TABLE `time_zone` (\n `Time_zone_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `Use_leap_seconds` enum('Y','N') NOT NULL DEFAULT 'N',\n PRIMARY KEY (`Time_zone_id`)\n) ENGINE=InnoDB AUTO_INCREMENT=1784 DEFAULT CHARSET=utf8 PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Time zones'
rocksdb
time_zone CREATE TABLE `time_zone` (\n `Time_zone_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `Use_leap_seconds` enum('Y','N') NOT NULL DEFAULT 'N',\n PRIMARY KEY (`Time_zone_id`)\n) ENGINE=ROCKSDB AUTO_INCREMENT=1784 DEFAULT CHARSET=utf8 PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Time zones'
myisam
time_zone CREATE TABLE `time_zone` (\n `Time_zone_id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `Use_leap_seconds` enum('Y','N') NOT NULL DEFAULT 'N',\n PRIMARY KEY (`Time_zone_id`)\n) ENGINE=MyISAM AUTO_INCREMENT=1784 DEFAULT CHARSET=utf8 PAGE_CHECKSUM=1 TRANSACTIONAL=0 COMMENT='Time zones'
NVME M.2 SSD mysql_tzinfo_to_sql Performance for storage engines
Model Number: Samsung SSD 970 EVO Plus 500GB
Firmware Version: 1B2QEXM7
Table engine definition
Time to load
Aria T=1
0m15.714s
Aria T=0
0m0.813s
Innodb
0m1.634s
Innodb (without MDEV-23440 patch)
0m26.869s
RocksDB
0m1.641s
MyISAM
0m0.786s
So performance is better, but Aria transaction is still very slow as our users noticed - https://github.com/docker-library/mariadb/issues/262
MDEV-23326 show aria T=1 has significant time in biolatency for Sync-Write IO operations. How hard is it to make Aria recognise transactions and perform check-pointing only on COMMIT (or internal buffers being full?)
Tip from monty, LOCK TABLES ... WRITE will defer the sync until the UNLOCK TABLES and allow a faster insert where there are multiple INSERT statements on the same table(s) in a sequence that need to be updated.
Daniel Black
added a comment - Tip from monty , LOCK TABLES ... WRITE will defer the sync until the UNLOCK TABLES and allow a faster insert where there are multiple INSERT statements on the same table(s) in a sequence that need to be updated.
The summary is the improvement to performance here needs to reduce the number of fsync for large series of inserts. fsyncs of different hardware sectors may have a benefit per one of the MariaDB Server Fest 2020 talks.
Alternately implementing Aria with transaction rollback and becoming a full MVCC compliant system will allow syncs to happen less often.
Daniel Black
added a comment - The summary is the improvement to performance here needs to reduce the number of fsync for large series of inserts. fsyncs of different hardware sectors may have a benefit per one of the MariaDB Server Fest 2020 talks.
Alternately implementing Aria with transaction rollback and becoming a full MVCC compliant system will allow syncs to happen less often.
This thing can be closed.
If one uses single row transactions, then thing will of course be slow, not much that can be done about that.
Michael Widenius
added a comment - This thing can be closed.
If one uses single row transactions, then thing will of course be slow, not much that can be done about that.
People
Michael Widenius
Juan
Votes:
1Vote for this issue
Watchers:
10Start watching this issue
Dates
Created:
Updated:
Resolved:
Git Integration
Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.
{"report":{"fcp":905.2000000476837,"ttfb":265,"pageVisibility":"visible","entityId":78873,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"0a3fedc2-e27e-48ca-af56-fa34b829aea4","navigationType":0,"readyForUser":1028.4000000953674,"redirectCount":0,"resourceLoadedEnd":955.2999999523163,"resourceLoadedStart":273.5,"resourceTiming":[{"duration":165.70000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":273.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":273.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":439.2000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":165.70000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":273.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":273.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":439.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":174.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":273.90000009536743,"connectEnd":273.90000009536743,"connectStart":273.90000009536743,"domainLookupEnd":273.90000009536743,"domainLookupStart":273.90000009536743,"fetchStart":273.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":273.90000009536743,"responseEnd":448,"responseStart":448,"secureConnectionStart":273.90000009536743},{"duration":228,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":274.10000014305115,"connectEnd":274.10000014305115,"connectStart":274.10000014305115,"domainLookupEnd":274.10000014305115,"domainLookupStart":274.10000014305115,"fetchStart":274.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":274.10000014305115,"responseEnd":502.10000014305115,"responseStart":502.10000014305115,"secureConnectionStart":274.10000014305115},{"duration":231.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":274.2999999523163,"connectEnd":274.2999999523163,"connectStart":274.2999999523163,"domainLookupEnd":274.2999999523163,"domainLookupStart":274.2999999523163,"fetchStart":274.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":274.2999999523163,"responseEnd":505.5,"responseStart":505.5,"secureConnectionStart":274.2999999523163},{"duration":231.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":274.5,"connectEnd":274.5,"connectStart":274.5,"domainLookupEnd":274.5,"domainLookupStart":274.5,"fetchStart":274.5,"redirectEnd":0,"redirectStart":0,"requestStart":274.5,"responseEnd":506,"responseStart":506,"secureConnectionStart":274.5},{"duration":231.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":274.60000014305115,"connectEnd":274.60000014305115,"connectStart":274.60000014305115,"domainLookupEnd":274.60000014305115,"domainLookupStart":274.60000014305115,"fetchStart":274.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":274.60000014305115,"responseEnd":506.2999999523163,"responseStart":506.2999999523163,"secureConnectionStart":274.60000014305115},{"duration":314.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":274.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":274.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":589.5,"responseStart":0,"secureConnectionStart":0},{"duration":231.70000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":275,"connectEnd":275,"connectStart":275,"domainLookupEnd":275,"domainLookupStart":275,"fetchStart":275,"redirectEnd":0,"redirectStart":0,"requestStart":275,"responseEnd":506.7000000476837,"responseStart":506.7000000476837,"secureConnectionStart":275},{"duration":314.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":275.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":275.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":589.6000001430511,"responseStart":0,"secureConnectionStart":0},{"duration":231.89999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":275.40000009536743,"connectEnd":275.40000009536743,"connectStart":275.40000009536743,"domainLookupEnd":275.40000009536743,"domainLookupStart":275.40000009536743,"fetchStart":275.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":275.40000009536743,"responseEnd":507.2999999523163,"responseStart":507.2999999523163,"secureConnectionStart":275.40000009536743},{"duration":356.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":278.7999999523163,"connectEnd":278.7999999523163,"connectStart":278.7999999523163,"domainLookupEnd":278.7999999523163,"domainLookupStart":278.7999999523163,"fetchStart":278.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":278.7999999523163,"responseEnd":635.7000000476837,"responseStart":635.7000000476837,"secureConnectionStart":278.7999999523163},{"duration":409.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":290.60000014305115,"connectEnd":290.60000014305115,"connectStart":290.60000014305115,"domainLookupEnd":290.60000014305115,"domainLookupStart":290.60000014305115,"fetchStart":290.60000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":290.60000014305115,"responseEnd":699.7000000476837,"responseStart":699.7000000476837,"secureConnectionStart":290.60000014305115},{"duration":51.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":619.7999999523163,"connectEnd":619.7999999523163,"connectStart":619.7999999523163,"domainLookupEnd":619.7999999523163,"domainLookupStart":619.7999999523163,"fetchStart":619.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":619.7999999523163,"responseEnd":671.2000000476837,"responseStart":671.2000000476837,"secureConnectionStart":619.7999999523163},{"duration":95.39999985694885,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":859.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":859.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":955.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":73.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-project.issue.navigator,-jira.view.issue,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":860.7000000476837,"connectEnd":860.7000000476837,"connectStart":860.7000000476837,"domainLookupEnd":860.7000000476837,"domainLookupStart":860.7000000476837,"fetchStart":860.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":860.7000000476837,"responseEnd":934.2000000476837,"responseStart":934.2000000476837,"secureConnectionStart":860.7000000476837},{"duration":89.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/097ae97cb8fbec7d6ea4bbb1f26955b9-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/js/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":861.1000001430511,"connectEnd":861.1000001430511,"connectStart":861.1000001430511,"domainLookupEnd":861.1000001430511,"domainLookupStart":861.1000001430511,"fetchStart":861.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":935.7999999523163,"responseEnd":950.2999999523163,"responseStart":945.9000000953674,"secureConnectionStart":861.1000001430511},{"duration":170,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":899.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":899.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1069.5,"responseStart":0,"secureConnectionStart":0},{"duration":79.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1071.7999999523163,"connectEnd":1071.7999999523163,"connectStart":1071.7999999523163,"domainLookupEnd":1071.7999999523163,"domainLookupStart":1071.7999999523163,"fetchStart":1071.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":1071.7999999523163,"responseEnd":1151.2000000476837,"responseStart":1151.2000000476837,"secureConnectionStart":1071.7999999523163}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":29,"responseStart":265,"responseEnd":291,"domLoading":269,"domInteractive":1145,"domContentLoadedEventStart":1145,"domContentLoadedEventEnd":1204,"domComplete":1281,"loadEventStart":1281,"loadEventEnd":1282,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1076.2000000476837},{"name":"bigPipe.sidebar-id.end","time":1077},{"name":"bigPipe.activity-panel-pipe-id.start","time":1077.2000000476837},{"name":"bigPipe.activity-panel-pipe-id.end","time":1085},{"name":"activityTabFullyLoaded","time":1235.2000000476837}],"measures":[],"correlationId":"107f3e1770f8c7","effectiveType":"4g","downlink":9.7,"rtt":0,"serverDuration":163,"dbReadsTimeInMs":18,"dbConnsTimeInMs":29,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
juan.vera, you must have something really misconfigured or broken in your system. While in my first quick test Aria is, indeed, slower than MySQL, it's nowhere near 100x. Still, it is slower, so let's keep this bug open to investigate it.
I've run the following mtr test on 10.4:
--disable_query_log
--let $a=1000000
--while ($a) {
--dec $a
}
--enable_query_log
with the opt file
--aria-pagecache-buffer-size=300M
--key-buffer-size=300M
--loose-innodb-buffer-pool-size=300M
apparently InnoDB isn't tuned for performance in mtr