Type:
Bug
Priority:
Trivial
Resolution:
Unresolved
Affects Version/s:
10.4(EOL) , 10.5 , 10.6 , 10.11 , 11.0(EOL) , 11.1(EOL) , 11.2(EOL) , 11.4 , 11.5(EOL)
FULLTEXT indexes are not included into INDEX_STATISTICS. Maybe it's intentional, in which case it needs to be reflected in the documentation (if it hasn't been yet).
SET @userstat.save= @@userstat;
set global userstat= 1;
create table ft (c text,fulltext(c));
insert into ft (c) values ( 'Once upon a time' ),
( 'There was a wicked witch' ),( 'Who ate everybody up' );
flush index_statistics;
select * from ft where MATCH(c) AGAINST( 'wicked' );
show index_statistics;
explain select * from ft where MATCH(c) AGAINST( 'wicked' );
# Cleanup
set global userstat= @userstat.save;
drop table ft;
10.4 d8249775980f9a6cb1a85e4799e1c1be452c2f2a
flush index_statistics;
select * from ft where MATCH(c) AGAINST( 'wicked' );
c
There was a wicked witch
show index_statistics;
Table_schema Table_name Index_name Rows_read
explain select * from ft where MATCH(c) AGAINST( 'wicked' );
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE ft fulltext c c 0 1 Using where
{"report":{"fcp":841.5999999940395,"ttfb":283,"pageVisibility":"visible","entityId":128720,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"3a184d5c-f478-40e2-87bd-14e9b7b5f808","navigationType":0,"readyForUser":922.5999999940395,"redirectCount":0,"resourceLoadedEnd":848.1999999955297,"resourceLoadedStart":288.5,"resourceTiming":[{"duration":39.399999998509884,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":288.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":327.8999999985099,"responseStart":0,"secureConnectionStart":0},{"duration":39.70000000298023,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":288.69999999552965,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":288.69999999552965,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":328.3999999985099,"responseStart":0,"secureConnectionStart":0},{"duration":105.10000000149012,"initiatorType":"script","name":"https://jira.mariadb.org/s/e9b27a47da5fb0f74a35acd57e9847fb-CDN/lu2bv2/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":288.8999999985099,"connectEnd":288.8999999985099,"connectStart":288.8999999985099,"domainLookupEnd":288.8999999985099,"domainLookupStart":288.8999999985099,"fetchStart":288.8999999985099,"redirectEnd":0,"redirectStart":0,"requestStart":288.8999999985099,"responseEnd":394,"responseStart":393.8999999985099,"secureConnectionStart":288.8999999985099},{"duration":182.80000000447035,"initiatorType":"script","name":"https://jira.mariadb.org/s/c32eb0da7ad9831253f8397e6cc26afd-CDN/lu2bv2/820016/12ta74/2380add21a9a1006587582385952de73/_/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":289.09999999403954,"connectEnd":289.09999999403954,"connectStart":289.09999999403954,"domainLookupEnd":289.09999999403954,"domainLookupStart":289.09999999403954,"fetchStart":289.09999999403954,"redirectEnd":0,"redirectStart":0,"requestStart":289.09999999403954,"responseEnd":471.8999999985099,"responseStart":471.8999999985099,"secureConnectionStart":289.09999999403954},{"duration":186.39999999850988,"initiatorType":"script","name":"https://jira.mariadb.org/s/bc0bcb146314416123c992714ee00ff7-CDN/lu2bv2/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":289.29999999701977,"connectEnd":289.29999999701977,"connectStart":289.29999999701977,"domainLookupEnd":289.29999999701977,"domainLookupStart":289.29999999701977,"fetchStart":289.29999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":289.29999999701977,"responseEnd":475.69999999552965,"responseStart":475.59999999403954,"secureConnectionStart":289.29999999701977},{"duration":186.59999999403954,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":289.5,"connectEnd":289.5,"connectStart":289.5,"domainLookupEnd":289.5,"domainLookupStart":289.5,"fetchStart":289.5,"redirectEnd":0,"redirectStart":0,"requestStart":289.5,"responseEnd":476.09999999403954,"responseStart":476.09999999403954,"secureConnectionStart":289.5},{"duration":186.70000000298023,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":289.69999999552965,"connectEnd":289.69999999552965,"connectStart":289.69999999552965,"domainLookupEnd":289.69999999552965,"domainLookupStart":289.69999999552965,"fetchStart":289.69999999552965,"redirectEnd":0,"redirectStart":0,"requestStart":289.69999999552965,"responseEnd":476.3999999985099,"responseStart":476.3999999985099,"secureConnectionStart":289.69999999552965},{"duration":246.29999999701977,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bv2/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":289.79999999701977,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":289.79999999701977,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":536.0999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":186.79999999701977,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":290,"connectEnd":290,"connectStart":290,"domainLookupEnd":290,"domainLookupStart":290,"fetchStart":290,"redirectEnd":0,"redirectStart":0,"requestStart":290,"responseEnd":476.79999999701977,"responseStart":476.79999999701977,"secureConnectionStart":290},{"duration":246.10000000149012,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bv2/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":290.19999999552965,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":290.19999999552965,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":536.2999999970198,"responseStart":0,"secureConnectionStart":0},{"duration":187,"initiatorType":"script","name":"https://jira.mariadb.org/s/719848dd97ebe0663199f49a3936487a-CDN/lu2bv2/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":290.3999999985099,"connectEnd":290.3999999985099,"connectStart":290.3999999985099,"domainLookupEnd":290.3999999985099,"domainLookupStart":290.3999999985099,"fetchStart":290.3999999985099,"redirectEnd":0,"redirectStart":0,"requestStart":290.3999999985099,"responseEnd":477.3999999985099,"responseStart":477.3999999985099,"secureConnectionStart":290.3999999985099},{"duration":548.2000000029802,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":291.19999999552965,"connectEnd":291.19999999552965,"connectStart":291.19999999552965,"domainLookupEnd":291.19999999552965,"domainLookupStart":291.19999999552965,"fetchStart":291.19999999552965,"redirectEnd":0,"redirectStart":0,"requestStart":291.19999999552965,"responseEnd":839.3999999985099,"responseStart":839.3999999985099,"secureConnectionStart":291.19999999552965},{"duration":557,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bv2/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":291.19999999552965,"connectEnd":291.19999999552965,"connectStart":291.19999999552965,"domainLookupEnd":291.19999999552965,"domainLookupStart":291.19999999552965,"fetchStart":291.19999999552965,"redirectEnd":0,"redirectStart":0,"requestStart":291.19999999552965,"responseEnd":848.1999999955297,"responseStart":848.0999999940395,"secureConnectionStart":291.19999999552965},{"duration":291.8999999985099,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":547.7999999970198,"connectEnd":547.7999999970198,"connectStart":547.7999999970198,"domainLookupEnd":547.7999999970198,"domainLookupStart":547.7999999970198,"fetchStart":547.7999999970198,"redirectEnd":0,"redirectStart":0,"requestStart":547.7999999970198,"responseEnd":839.6999999955297,"responseStart":839.6999999955297,"secureConnectionStart":547.7999999970198},{"duration":185.5,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":835.6999999955297,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":835.6999999955297,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1021.1999999955297,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":125,"responseStart":283,"responseEnd":284,"domLoading":286,"domInteractive":1057,"domContentLoadedEventStart":1057,"domContentLoadedEventEnd":1096,"domComplete":1897,"loadEventStart":1897,"loadEventEnd":1899,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1028.8999999985099},{"name":"bigPipe.sidebar-id.end","time":1030.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1031.0999999940395},{"name":"bigPipe.activity-panel-pipe-id.end","time":1035.1999999955297},{"name":"activityTabFullyLoaded","time":1102.2999999970198}],"measures":[],"correlationId":"761ed9185091d9","effectiveType":"4g","downlink":9.2,"rtt":0,"serverDuration":91,"dbReadsTimeInMs":9,"dbConnsTimeInMs":17,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}