Logging: ./mtr --mem --repeat=2 innodb_defrag_concurrent
|
..
|
=================================================
|
|
TEST RESULT TIME (ms) or COMMENT
|
--------------------------------------------------------------------------
|
|
worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
|
innodb.innodb_defrag_concurrent 'innodb' [ pass ] 29589
|
innodb.innodb_defrag_concurrent 'innodb' [ 2 fail ]
|
Test ended at 2022-05-13 12:39:55
|
|
CURRENT_TEST: innodb.innodb_defrag_concurrent
|
--- /Server_bin/10.8_asan/mysql-test/suite/innodb/r/innodb_defrag_concurrent.result 2022-03-01 17:39:21.000000000 +0100
|
+++ /Server_bin/10.8_asan/mysql-test/suite/innodb/r/innodb_defrag_concurrent.reject 2022-05-13 12:39:54.905656077 +0200
|
@@ -46,7 +46,7 @@
|
15800
|
select count(stat_value) > 0 from mysql.innodb_index_stats where table_name like '%t1%' and stat_name in ('n_pages_freed');
|
count(stat_value) > 0
|
-0
|
+1
|
select count(stat_value) > 0 from mysql.innodb_index_stats where table_name like '%t1%' and stat_name in ('n_page_split');
|
count(stat_value) > 0
|
1
|
|
mysqltest: Result content mismatch
|
|
The reason for that is the following:
|
The creation of the table t1 leads to records like
|
select database_name, table_name, index_name, stat_name, stat_value, sample_size
|
from mysql.innodb_index_stats where table_name like '%t1%' and stat_name in ('n_page_split');
|
database_name table_name index_name stat_name stat_value sample_size
|
test t1 PRIMARY n_page_split # NULL
|
test t1 second n_page_split # NULL
|
After some OPTIMIZE t1 we get some additional record
|
test t1 FTS_DOC_ID_INDEX n_page_split # NULL
|
|
And these records do not disappear if the table t1 gets dropped.
|
IMHO this is rather harmless as long as parts of the server
|
- do not use these values at all
|
or
|
- are aware that whatever statistics which is older than the create
|
data of a table mentioned is no more valid.
|
|
The repetition of innodb_defrag_concurrent meets at its begin this
|
historic data of the previous execution and fails with result set difference.
|
|
{"report":{"fcp":730.7999999523163,"ttfb":178.59999990463257,"pageVisibility":"visible","entityId":110953,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"cfafe1f3-be08-4f9e-a549-7a489c0a867c","navigationType":0,"readyForUser":869.5,"redirectCount":0,"resourceLoadedEnd":788.1999998092651,"resourceLoadedStart":183.39999985694885,"resourceTiming":[{"duration":142.40000009536743,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":183.39999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":183.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":325.7999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":142.20000004768372,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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","startTime":183.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":183.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":325.89999985694885,"responseStart":0,"secureConnectionStart":0},{"duration":151.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":183.69999980926514,"connectEnd":183.69999980926514,"connectStart":183.69999980926514,"domainLookupEnd":183.69999980926514,"domainLookupStart":183.69999980926514,"fetchStart":183.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":183.69999980926514,"responseEnd":335,"responseStart":335,"secureConnectionStart":183.69999980926514},{"duration":234.39999985694885,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/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","startTime":183.79999995231628,"connectEnd":183.79999995231628,"connectStart":183.79999995231628,"domainLookupEnd":183.79999995231628,"domainLookupStart":183.79999995231628,"fetchStart":183.79999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":183.79999995231628,"responseEnd":418.19999980926514,"responseStart":418.19999980926514,"secureConnectionStart":183.79999995231628},{"duration":238,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":184,"connectEnd":184,"connectStart":184,"domainLookupEnd":184,"domainLookupStart":184,"fetchStart":184,"redirectEnd":0,"redirectStart":0,"requestStart":184,"responseEnd":422,"responseStart":422,"secureConnectionStart":184},{"duration":238.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":184.09999990463257,"connectEnd":184.09999990463257,"connectStart":184.09999990463257,"domainLookupEnd":184.09999990463257,"domainLookupStart":184.09999990463257,"fetchStart":184.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":184.09999990463257,"responseEnd":422.2999999523163,"responseStart":422.2999999523163,"secureConnectionStart":184.09999990463257},{"duration":238.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":184.09999990463257,"connectEnd":184.09999990463257,"connectStart":184.09999990463257,"domainLookupEnd":184.09999990463257,"domainLookupStart":184.09999990463257,"fetchStart":184.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":184.09999990463257,"responseEnd":422.69999980926514,"responseStart":422.69999980926514,"secureConnectionStart":184.09999990463257},{"duration":239,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":184.19999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":184.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":423.19999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":238.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":184.29999995231628,"connectEnd":184.29999995231628,"connectStart":184.29999995231628,"domainLookupEnd":184.29999995231628,"domainLookupStart":184.29999995231628,"fetchStart":184.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":184.29999995231628,"responseEnd":423.09999990463257,"responseStart":423.09999990463257,"secureConnectionStart":184.29999995231628},{"duration":239,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/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":184.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":184.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":423.5,"responseStart":0,"secureConnectionStart":0},{"duration":239.09999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/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":184.59999990463257,"connectEnd":184.59999990463257,"connectStart":184.59999990463257,"domainLookupEnd":184.59999990463257,"domainLookupStart":184.59999990463257,"fetchStart":184.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":184.59999990463257,"responseEnd":423.69999980926514,"responseStart":423.69999980926514,"secureConnectionStart":184.59999990463257},{"duration":512,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":190.29999995231628,"connectEnd":190.29999995231628,"connectStart":190.29999995231628,"domainLookupEnd":190.29999995231628,"domainLookupStart":190.29999995231628,"fetchStart":190.29999995231628,"redirectEnd":0,"redirectStart":0,"requestStart":190.29999995231628,"responseEnd":702.2999999523163,"responseStart":702.2999999523163,"secureConnectionStart":190.29999995231628},{"duration":523.1000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":190.39999985694885,"connectEnd":190.39999985694885,"connectStart":190.39999985694885,"domainLookupEnd":190.39999985694885,"domainLookupStart":190.39999985694885,"fetchStart":190.39999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":190.39999985694885,"responseEnd":713.5,"responseStart":713.5,"secureConnectionStart":190.39999985694885},{"duration":214.70000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":487.7999999523163,"connectEnd":487.7999999523163,"connectStart":487.7999999523163,"domainLookupEnd":487.7999999523163,"domainLookupStart":487.7999999523163,"fetchStart":487.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":487.7999999523163,"responseEnd":702.5,"responseStart":702.5,"secureConnectionStart":487.7999999523163},{"duration":1.7999999523162842,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":724.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":724.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":725.8999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":33.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2bu7/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","startTime":748.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":748.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":781.3999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":32.799999952316284,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/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","startTime":749.0999999046326,"connectEnd":749.0999999046326,"connectStart":749.0999999046326,"domainLookupEnd":749.0999999046326,"domainLookupStart":749.0999999046326,"fetchStart":749.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":749.0999999046326,"responseEnd":781.8999998569489,"responseStart":781.8999998569489,"secureConnectionStart":749.0999999046326},{"duration":38.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/f51ef5507eea4c158f257c66c93b2a3f-CDN/lu2bu7/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","startTime":749.5,"connectEnd":749.5,"connectStart":749.5,"domainLookupEnd":749.5,"domainLookupStart":749.5,"fetchStart":749.5,"redirectEnd":0,"redirectStart":0,"requestStart":749.5,"responseEnd":788.1999998092651,"responseStart":788.1999998092651,"secureConnectionStart":749.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":52,"responseStart":179,"responseEnd":187,"domLoading":181,"domInteractive":938,"domContentLoadedEventStart":938,"domContentLoadedEventEnd":985,"domComplete":1133,"loadEventStart":1133,"loadEventEnd":1134,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":910.3999998569489},{"name":"bigPipe.sidebar-id.end","time":911.0999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":911.3999998569489},{"name":"bigPipe.activity-panel-pipe-id.end","time":912.3999998569489},{"name":"activityTabFullyLoaded","time":1002.5}],"measures":[],"correlationId":"e71e416d564c85","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":68,"dbReadsTimeInMs":10,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I don’t think it makes sense to spend effort on this, given that this functionality was removed in
MDEV-30545and never was really useful.