Query caching is enabled in MariaDB apt packages although it’s not the default behaviour of a vanilla MariaDB server (see the documentation of query_cache_type).
This probably happens because query_cache_size is set to a non-default value.
It is especially problematic since query caching has a regression in MariaDB 10.2.x and 10.3.x which causes SELECT to return wrong results in certain scenarios (see MDEV-16087 for details).
Attachments
Issue Links
relates to
MDEV-16087Inconsistent SELECT results when query cache is enabled
Closed
MDEV-22795Query cache still activated in Ubutu pacakges
With MDEV-16087 fixed, should query cache be now enabled by default or not?
I see that in upstream Debian packaging the my.cnf ships with query_cache_size=64M and in downstream official Debian packages there is query_cache_size=16M
Otto Kekäläinen
added a comment - With MDEV-16087 fixed, should query cache be now enabled by default or not?
I see that in upstream Debian packaging the my.cnf ships with query_cache_size=64M and in downstream official Debian packages there is query_cache_size=16M
With MDEV-16087 fixed, should query cache be now enabled by default or not?
In my opinion the apt packages should use the default configuration.
I.e. default query_cache_size and thus query caching disabled.
Benedikt Waldvogel
added a comment - With MDEV-16087 fixed, should query cache be now enabled by default or not?
In my opinion the apt packages should use the default configuration.
I.e. default query_cache_size and thus query caching disabled.
Closed via aaaf005ce61a543f1a1470b179ccb535698b36ef and bb8477778b72f047437b2a03a2bd38997e155f10 when #1504 was merged.
Otto Kekäläinen
added a comment - Closed via aaaf005ce61a543f1a1470b179ccb535698b36ef and bb8477778b72f047437b2a03a2bd38997e155f10 when #1504 was merged.
People
Otto Kekäläinen
Benedikt Waldvogel
Votes:
0Vote for this issue
Watchers:
6Start 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":1644.5999999046326,"ttfb":372.3999996185303,"pageVisibility":"visible","entityId":67692,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"9af85867-a8bb-4392-ba8d-fa89ee8d9dc5","navigationType":0,"readyForUser":1871,"redirectCount":0,"resourceLoadedEnd":1920.1999998092651,"resourceLoadedStart":541.6999998092651,"resourceTiming":[{"duration":341.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":541.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":541.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":882.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":382.59999990463257,"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":542.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":542.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":924.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":392,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":542.1999998092651,"connectEnd":542.1999998092651,"connectStart":542.1999998092651,"domainLookupEnd":542.1999998092651,"domainLookupStart":542.1999998092651,"fetchStart":542.1999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":542.1999998092651,"responseEnd":934.1999998092651,"responseStart":934.1999998092651,"secureConnectionStart":542.1999998092651},{"duration":498.30000019073486,"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":542.2999997138977,"connectEnd":542.2999997138977,"connectStart":542.2999997138977,"domainLookupEnd":542.2999997138977,"domainLookupStart":542.2999997138977,"fetchStart":542.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":542.2999997138977,"responseEnd":1040.5999999046326,"responseStart":1040.5999999046326,"secureConnectionStart":542.2999997138977},{"duration":530.3999996185303,"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":542.5,"connectEnd":542.5,"connectStart":542.5,"domainLookupEnd":542.5,"domainLookupStart":542.5,"fetchStart":542.5,"redirectEnd":0,"redirectStart":0,"requestStart":542.5,"responseEnd":1072.8999996185303,"responseStart":1072.8999996185303,"secureConnectionStart":542.5},{"duration":531.0999999046326,"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":542.6999998092651,"connectEnd":542.6999998092651,"connectStart":542.6999998092651,"domainLookupEnd":542.6999998092651,"domainLookupStart":542.6999998092651,"fetchStart":542.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":542.6999998092651,"responseEnd":1073.7999997138977,"responseStart":1073.7999997138977,"secureConnectionStart":542.6999998092651},{"duration":548.7000002861023,"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":542.8999996185303,"connectEnd":542.8999996185303,"connectStart":542.8999996185303,"domainLookupEnd":542.8999996185303,"domainLookupStart":542.8999996185303,"fetchStart":542.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":542.8999996185303,"responseEnd":1091.5999999046326,"responseStart":1091.5999999046326,"secureConnectionStart":542.8999996185303},{"duration":629.4000000953674,"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":543.0999999046326,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":543.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1172.5,"responseStart":0,"secureConnectionStart":0},{"duration":588.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":543.2999997138977,"connectEnd":543.2999997138977,"connectStart":543.2999997138977,"domainLookupEnd":543.2999997138977,"domainLookupStart":543.2999997138977,"fetchStart":543.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":543.2999997138977,"responseEnd":1132.0999999046326,"responseStart":1132.0999999046326,"secureConnectionStart":543.2999997138977},{"duration":629.1999998092651,"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":543.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":543.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1172.6999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":589.0999999046326,"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":543.5999999046326,"connectEnd":543.5999999046326,"connectStart":543.5999999046326,"domainLookupEnd":543.5999999046326,"domainLookupStart":543.5999999046326,"fetchStart":543.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":543.5999999046326,"responseEnd":1132.6999998092651,"responseStart":1132.6999998092651,"secureConnectionStart":543.5999999046326},{"duration":838.5,"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":544.5999999046326,"connectEnd":544.5999999046326,"connectStart":544.5999999046326,"domainLookupEnd":544.5999999046326,"domainLookupStart":544.5999999046326,"fetchStart":544.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":544.5999999046326,"responseEnd":1383.0999999046326,"responseStart":1383.0999999046326,"secureConnectionStart":544.5999999046326},{"duration":1201.6999998092651,"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":544.5999999046326,"connectEnd":544.5999999046326,"connectStart":544.5999999046326,"domainLookupEnd":544.5999999046326,"domainLookupStart":544.5999999046326,"fetchStart":544.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":544.5999999046326,"responseEnd":1746.2999997138977,"responseStart":1746.2999997138977,"secureConnectionStart":544.5999999046326},{"duration":179.7000002861023,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1203.8999996185303,"connectEnd":1203.8999996185303,"connectStart":1203.8999996185303,"domainLookupEnd":1203.8999996185303,"domainLookupStart":1203.8999996185303,"fetchStart":1203.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1203.8999996185303,"responseEnd":1383.5999999046326,"responseStart":1383.5999999046326,"secureConnectionStart":1203.8999996185303},{"duration":319.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":1601,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1601,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1920.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":181.60000038146973,"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":1601.8999996185303,"connectEnd":1601.8999996185303,"connectStart":1601.8999996185303,"domainLookupEnd":1601.8999996185303,"domainLookupStart":1601.8999996185303,"fetchStart":1601.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":1601.8999996185303,"responseEnd":1783.5,"responseStart":1783.5,"secureConnectionStart":1601.8999996185303},{"duration":223.09999990463257,"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":1602.5,"connectEnd":1602.5,"connectStart":1602.5,"domainLookupEnd":1602.5,"domainLookupStart":1602.5,"fetchStart":1602.5,"redirectEnd":0,"redirectStart":0,"requestStart":1602.5,"responseEnd":1825.5999999046326,"responseStart":1825.5999999046326,"secureConnectionStart":1602.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":209,"responseStart":372,"responseEnd":445,"domLoading":509,"domInteractive":1965,"domContentLoadedEventStart":1965,"domContentLoadedEventEnd":2022,"domComplete":2533,"loadEventStart":2533,"loadEventEnd":2533,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1929.8999996185303},{"name":"bigPipe.sidebar-id.end","time":1930.7999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":1930.8999996185303},{"name":"bigPipe.activity-panel-pipe-id.end","time":1932.2999997138977},{"name":"activityTabFullyLoaded","time":2038.5999999046326}],"measures":[],"correlationId":"a3215d7a8bd86","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":98,"dbReadsTimeInMs":15,"dbConnsTimeInMs":24,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
With
MDEV-16087fixed, should query cache be now enabled by default or not?I see that in upstream Debian packaging the my.cnf ships with query_cache_size=64M and in downstream official Debian packages there is query_cache_size=16M