Type:
New Feature
Priority:
Critical
Resolution:
Fixed
Goal of this task is to set default global variables to 4 bytes utf8 charset
meaning :
character_set_client : from from utf8 to utf8mb4.
character_set_database : from latin1 to utf8mb4
character_set_server : from latin1 to utf8mb4
character_set_results: from utf8 to utf8mb4
character_set_connection: from utf8 to utf8mb4
collation_database: from latin1_swedish_ci to utf8mb4_uca1400_ai_ci
collation_server: from latin1_swedish_ci to utf8mb4_uca1400_ai_ci
Default changed in mysql 8.0.1
There are some questions which should be discussed before/while working on this task:
YES: Should we change the default collation for utf8mb4 from utf8mb4_general_ci to uca1400_ai_ci? The problem is that utf8mb4_general_ci is very bad for non-BMP characters - it considers all non-BMP charcters as equal to each other. See MDEV-25829
YES: Should we reassign the UTF8 Linux Locale from utf8mb3 to utf8mb4 in the client? Or to what the server side uses as the alias for "utf8". See MDEV-19123
YES: Should we change system_charset_info from utf8mb3 to utf8mb4 and allow non-BMP characters in identifiers? See MDEV-27490 .
If so, table name to file name encoding should be extended to support non-BMP characters. See MDEV-27490
system charset cannot be utf8mb4 until we fix the collation as above
YES: Should we change numerous INFORMATION_SCHEMA columns from utf8mb3 to utf8mb4?
they should be in the system_charset_info, as they store identifiers
{"report":{"fcp":1150.6000000238419,"ttfb":172.20000004768372,"pageVisibility":"visible","entityId":74138,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"46ba3ee2-7e48-4531-8a7c-d41eaf05d0bb","navigationType":0,"readyForUser":1226.6000000238419,"redirectCount":0,"resourceLoadedEnd":1335.2000000476837,"resourceLoadedStart":179.5,"resourceTiming":[{"duration":495.39999997615814,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":179.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":674.8999999761581,"responseStart":0,"secureConnectionStart":0},{"duration":495.1999999284744,"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":179.80000007152557,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":179.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":675,"responseStart":0,"secureConnectionStart":0},{"duration":504,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":179.89999997615814,"connectEnd":179.89999997615814,"connectStart":179.89999997615814,"domainLookupEnd":179.89999997615814,"domainLookupStart":179.89999997615814,"fetchStart":179.89999997615814,"redirectEnd":0,"redirectStart":0,"requestStart":179.89999997615814,"responseEnd":683.8999999761581,"responseStart":683.8999999761581,"secureConnectionStart":179.89999997615814},{"duration":527.7000000476837,"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":180,"connectEnd":180,"connectStart":180,"domainLookupEnd":180,"domainLookupStart":180,"fetchStart":180,"redirectEnd":0,"redirectStart":0,"requestStart":180,"responseEnd":707.7000000476837,"responseStart":707.7000000476837,"secureConnectionStart":180},{"duration":531.2000000476837,"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":180.10000002384186,"connectEnd":180.10000002384186,"connectStart":180.10000002384186,"domainLookupEnd":180.10000002384186,"domainLookupStart":180.10000002384186,"fetchStart":180.10000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":180.10000002384186,"responseEnd":711.3000000715256,"responseStart":711.2000000476837,"secureConnectionStart":180.10000002384186},{"duration":531.3999999761581,"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":180.20000004768372,"connectEnd":180.20000004768372,"connectStart":180.20000004768372,"domainLookupEnd":180.20000004768372,"domainLookupStart":180.20000004768372,"fetchStart":180.20000004768372,"redirectEnd":0,"redirectStart":0,"requestStart":180.20000004768372,"responseEnd":711.6000000238419,"responseStart":711.6000000238419,"secureConnectionStart":180.20000004768372},{"duration":532.1999999284744,"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":180.30000007152557,"connectEnd":180.30000007152557,"connectStart":180.30000007152557,"domainLookupEnd":180.30000007152557,"domainLookupStart":180.30000007152557,"fetchStart":180.30000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":180.30000007152557,"responseEnd":712.5,"responseStart":712.5,"secureConnectionStart":180.30000007152557},{"duration":533.2000000476837,"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":180.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":713.7000000476837,"responseStart":0,"secureConnectionStart":0},{"duration":533,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":180.5,"connectEnd":180.5,"connectStart":180.5,"domainLookupEnd":180.5,"domainLookupStart":180.5,"fetchStart":180.5,"redirectEnd":0,"redirectStart":0,"requestStart":180.5,"responseEnd":713.5,"responseStart":713.5,"secureConnectionStart":180.5},{"duration":533.7000000476837,"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":180.60000002384186,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":180.60000002384186,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":714.3000000715256,"responseStart":0,"secureConnectionStart":0},{"duration":533.6999999284744,"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":180.80000007152557,"connectEnd":180.80000007152557,"connectStart":180.80000007152557,"domainLookupEnd":180.80000007152557,"domainLookupStart":180.80000007152557,"fetchStart":180.80000007152557,"redirectEnd":0,"redirectStart":0,"requestStart":180.80000007152557,"responseEnd":714.5,"responseStart":714.5,"secureConnectionStart":180.80000007152557},{"duration":681.2000000476837,"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":188,"connectEnd":188,"connectStart":188,"domainLookupEnd":188,"domainLookupStart":188,"fetchStart":188,"redirectEnd":0,"redirectStart":0,"requestStart":188,"responseEnd":869.2000000476837,"responseStart":869.2000000476837,"secureConnectionStart":188},{"duration":1147.2000000476837,"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":188,"connectEnd":188,"connectStart":188,"domainLookupEnd":188,"domainLookupStart":188,"fetchStart":188,"redirectEnd":0,"redirectStart":0,"requestStart":188,"responseEnd":1335.2000000476837,"responseStart":1335.1000000238419,"secureConnectionStart":188},{"duration":318.2999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":913.3000000715256,"connectEnd":913.3000000715256,"connectStart":913.3000000715256,"domainLookupEnd":913.3000000715256,"domainLookupStart":913.3000000715256,"fetchStart":913.3000000715256,"redirectEnd":0,"redirectStart":0,"requestStart":913.3000000715256,"responseEnd":1231.6000000238419,"responseStart":1231.6000000238419,"secureConnectionStart":913.3000000715256}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":11,"responseStart":173,"responseEnd":183,"domLoading":177,"domInteractive":1365,"domContentLoadedEventStart":1365,"domContentLoadedEventEnd":1404,"domComplete":2171,"loadEventStart":2171,"loadEventEnd":2172,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1338.8000000715256},{"name":"bigPipe.sidebar-id.end","time":1339.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1339.8999999761581},{"name":"bigPipe.activity-panel-pipe-id.end","time":1342.3999999761581},{"name":"activityTabFullyLoaded","time":1412.3999999761581}],"measures":[],"correlationId":"ccf6d37a13f6df","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":109,"dbReadsTimeInMs":39,"dbConnsTimeInMs":49,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}