Data comes from Sandy Bridge system running sysbench OLTP RO in 1 thread against 1 table.
Call graphs:
- 0.07% mysqld mysqld
|
- handler::rebind_psi()
|
+ 73.91% open_tables(THD*, DDL_options_st const&, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*)
|
+ 26.09% open_table(THD*, TABLE_LIST*, Open_table_context*)
|
Most time spent for function call convention. It also adds ~0.03% to open_table(). Try to make it inline.
{"report":{"fcp":1176.5999994277954,"ttfb":522.1999998092651,"pageVisibility":"visible","entityId":50811,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"8556ae06-8c71-49cb-81c7-311ad17284fe","navigationType":0,"readyForUser":1245,"redirectCount":0,"resourceLoadedEnd":1269.0999994277954,"resourceLoadedStart":527.8000001907349,"resourceTiming":[{"duration":118,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":527.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":527.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":645.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":118.10000038146973,"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":528.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":528.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":646.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":172.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":528.3000001907349,"connectEnd":528.3000001907349,"connectStart":528.3000001907349,"domainLookupEnd":528.3000001907349,"domainLookupStart":528.3000001907349,"fetchStart":528.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":528.3000001907349,"responseEnd":700.8000001907349,"responseStart":700.8000001907349,"secureConnectionStart":528.3000001907349},{"duration":235,"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":528.3999996185303,"connectEnd":528.3999996185303,"connectStart":528.3999996185303,"domainLookupEnd":528.3999996185303,"domainLookupStart":528.3999996185303,"fetchStart":528.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":528.3999996185303,"responseEnd":763.3999996185303,"responseStart":763.3999996185303,"secureConnectionStart":528.3999996185303},{"duration":238.89999961853027,"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":528.6999998092651,"connectEnd":528.6999998092651,"connectStart":528.6999998092651,"domainLookupEnd":528.6999998092651,"domainLookupStart":528.6999998092651,"fetchStart":528.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":528.6999998092651,"responseEnd":767.5999994277954,"responseStart":767.5999994277954,"secureConnectionStart":528.6999998092651},{"duration":239.4000005722046,"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":528.8999996185303,"connectEnd":528.8999996185303,"connectStart":528.8999996185303,"domainLookupEnd":528.8999996185303,"domainLookupStart":528.8999996185303,"fetchStart":528.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":528.8999996185303,"responseEnd":768.3000001907349,"responseStart":768.3000001907349,"secureConnectionStart":528.8999996185303},{"duration":240.30000019073486,"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":529.0999994277954,"connectEnd":529.0999994277954,"connectStart":529.0999994277954,"domainLookupEnd":529.0999994277954,"domainLookupStart":529.0999994277954,"fetchStart":529.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":529.0999994277954,"responseEnd":769.3999996185303,"responseStart":769.3999996185303,"secureConnectionStart":529.0999994277954},{"duration":316,"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":529.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":529.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":845.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":241.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":529.3999996185303,"connectEnd":529.3999996185303,"connectStart":529.3999996185303,"domainLookupEnd":529.3999996185303,"domainLookupStart":529.3999996185303,"fetchStart":529.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":529.3999996185303,"responseEnd":771.0999994277954,"responseStart":771.0999994277954,"secureConnectionStart":529.3999996185303},{"duration":315.70000076293945,"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":529.5999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":529.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":845.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":242.5,"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":529.6999998092651,"connectEnd":529.6999998092651,"connectStart":529.6999998092651,"domainLookupEnd":529.6999998092651,"domainLookupStart":529.6999998092651,"fetchStart":529.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":529.6999998092651,"responseEnd":772.1999998092651,"responseStart":772.1999998092651,"secureConnectionStart":529.6999998092651},{"duration":473.6000003814697,"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":530.5999994277954,"connectEnd":530.5999994277954,"connectStart":530.5999994277954,"domainLookupEnd":530.5999994277954,"domainLookupStart":530.5999994277954,"fetchStart":530.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":530.5999994277954,"responseEnd":1004.1999998092651,"responseStart":1004.1999998092651,"secureConnectionStart":530.5999994277954},{"duration":662.0999994277954,"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":535,"connectEnd":535,"connectStart":535,"domainLookupEnd":535,"domainLookupStart":535,"fetchStart":535,"redirectEnd":0,"redirectStart":0,"requestStart":535,"responseEnd":1197.0999994277954,"responseStart":1197.0999994277954,"secureConnectionStart":535},{"duration":150,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":856.5999994277954,"connectEnd":856.5999994277954,"connectStart":856.5999994277954,"domainLookupEnd":856.5999994277954,"domainLookupStart":856.5999994277954,"fetchStart":856.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":856.5999994277954,"responseEnd":1006.5999994277954,"responseStart":1006.5999994277954,"secureConnectionStart":856.5999994277954},{"duration":156.19999980926514,"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":1112.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1112.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1268.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":155.89999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/50bc9be5bfead1a25e72c1a9338c94f6-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/css/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":1113.1999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1113.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1269.0999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":116.89999961853027,"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":1114,"connectEnd":1114,"connectStart":1114,"domainLookupEnd":1114,"domainLookupStart":1114,"fetchStart":1114,"redirectEnd":0,"redirectStart":0,"requestStart":1114,"responseEnd":1230.8999996185303,"responseStart":1230.8999996185303,"secureConnectionStart":1114},{"duration":128,"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":1114.3999996185303,"connectEnd":1114.3999996185303,"connectStart":1114.3999996185303,"domainLookupEnd":1114.3999996185303,"domainLookupStart":1114.3999996185303,"fetchStart":1114.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1114.3999996185303,"responseEnd":1242.3999996185303,"responseStart":1242.3999996185303,"secureConnectionStart":1114.3999996185303},{"duration":130.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/e0bf5781d46ea69fb123572974cf39de-CDN/lu2cib/820016/12ta74/e108c7645258ccb43280ed3404e3e949/_/download/contextbatch/js/com.atlassian.jira.plugins.jira-development-integration-plugin:0,-_super,-jira.view.issue,-jira.global,-jira.general,-jira.browse.project,-project.issue.navigator,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":1114.6999998092651,"connectEnd":1114.6999998092651,"connectStart":1114.6999998092651,"domainLookupEnd":1114.6999998092651,"domainLookupStart":1114.6999998092651,"fetchStart":1114.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":1114.6999998092651,"responseEnd":1245,"responseStart":1245,"secureConnectionStart":1114.6999998092651},{"duration":147.19999980926514,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1167.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1167.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1314.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":42,"responseStart":522,"responseEnd":528,"domLoading":525,"domInteractive":1339,"domContentLoadedEventStart":1339,"domContentLoadedEventEnd":1385,"domComplete":1691,"loadEventStart":1691,"loadEventEnd":1692,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1321.3999996185303},{"name":"bigPipe.sidebar-id.end","time":1322.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1322.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1323.3000001907349},{"name":"activityTabFullyLoaded","time":1404}],"measures":[],"correlationId":"385acc1ea91d6d","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
serg, please review fix for this bug.