The current way of handling uuid's in MariaDB is not very user friendly. If you want to do it right you have to replace all 4 "-" chars with "" and store it in a binary(16) type and so on. That is a lot of work and sadly people start to use just varchar() for it because it's easier. But that is a huge performence problem.
MDEV-35427Assertion `is_null() >= item->null_value' failed in Timestamp_or_zero_datetime_native_null::Timestamp_or_zero_datetime_native_null on EXECUTE
Daniel Black
added a comment - To all those that are watching, a preview release is available for testing and feedback:
https://mariadb.org/10-7-preview-feature-uuid-data-type/
Hi guys, so excited to see the UUID data type as a feature! One question - does the actually implemented feature use the bits-shuffle solution to optimize performance? Or was this only an idea that didn't get implemented?
Slawomir Dymitrow
added a comment - Hi guys, so excited to see the UUID data type as a feature! One question - does the actually implemented feature use the bits-shuffle solution to optimize performance? Or was this only an idea that didn't get implemented?
Alexander Barkov
added a comment - eXsio ,
Also please see these comments:
https://github.com/MariaDB/server/blob/10.7/plugin/type_uuid/sql_type_uuid.h#L29
People
Alice Sherepa
Leo Unglaub
Votes:
36Vote for this issue
Watchers:
37Start 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":959.2000000476837,"ttfb":336.7999999523163,"pageVisibility":"visible","entityId":25411,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"c3bb2074-f81e-4638-9572-20abed230133","navigationType":0,"readyForUser":1095.7999999523163,"redirectCount":0,"resourceLoadedEnd":1125.2000000476837,"resourceLoadedStart":343.2000000476837,"resourceTiming":[{"duration":78.09999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":343.2000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":343.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":421.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":78.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":343.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":343.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":422,"responseStart":0,"secureConnectionStart":0},{"duration":134,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":343.59999990463257,"connectEnd":343.59999990463257,"connectStart":343.59999990463257,"domainLookupEnd":343.59999990463257,"domainLookupStart":343.59999990463257,"fetchStart":343.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":343.59999990463257,"responseEnd":477.59999990463257,"responseStart":477.59999990463257,"secureConnectionStart":343.59999990463257},{"duration":244.79999995231628,"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":343.7999999523163,"connectEnd":343.7999999523163,"connectStart":343.7999999523163,"domainLookupEnd":343.7999999523163,"domainLookupStart":343.7999999523163,"fetchStart":343.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":343.7999999523163,"responseEnd":588.5999999046326,"responseStart":588.5999999046326,"secureConnectionStart":343.7999999523163},{"duration":248.59999990463257,"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":344,"connectEnd":344,"connectStart":344,"domainLookupEnd":344,"domainLookupStart":344,"fetchStart":344,"redirectEnd":0,"redirectStart":0,"requestStart":344,"responseEnd":592.5999999046326,"responseStart":592.5999999046326,"secureConnectionStart":344},{"duration":248.89999985694885,"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":344.2000000476837,"connectEnd":344.2000000476837,"connectStart":344.2000000476837,"domainLookupEnd":344.2000000476837,"domainLookupStart":344.2000000476837,"fetchStart":344.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":344.2000000476837,"responseEnd":593.0999999046326,"responseStart":593.0999999046326,"secureConnectionStart":344.2000000476837},{"duration":249.09999990463257,"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":344.40000009536743,"connectEnd":344.40000009536743,"connectStart":344.40000009536743,"domainLookupEnd":344.40000009536743,"domainLookupStart":344.40000009536743,"fetchStart":344.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":344.40000009536743,"responseEnd":593.5,"responseStart":593.5,"secureConnectionStart":344.40000009536743},{"duration":279.90000009536743,"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":344.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":344.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":624.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":249.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":344.7000000476837,"connectEnd":344.7000000476837,"connectStart":344.7000000476837,"domainLookupEnd":344.7000000476837,"domainLookupStart":344.7000000476837,"fetchStart":344.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":344.7000000476837,"responseEnd":593.9000000953674,"responseStart":593.9000000953674,"secureConnectionStart":344.7000000476837},{"duration":279.69999980926514,"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":344.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":344.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":624.5999999046326,"responseStart":0,"secureConnectionStart":0},{"duration":249.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":345,"connectEnd":345,"connectStart":345,"domainLookupEnd":345,"domainLookupStart":345,"fetchStart":345,"redirectEnd":0,"redirectStart":0,"requestStart":345,"responseEnd":594.5,"responseStart":594.5,"secureConnectionStart":345},{"duration":633.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":347.40000009536743,"connectEnd":347.40000009536743,"connectStart":347.40000009536743,"domainLookupEnd":347.40000009536743,"domainLookupStart":347.40000009536743,"fetchStart":347.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":347.40000009536743,"responseEnd":980.9000000953674,"responseStart":980.9000000953674,"secureConnectionStart":347.40000009536743},{"duration":773.5,"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":351.7000000476837,"connectEnd":351.7000000476837,"connectStart":351.7000000476837,"domainLookupEnd":351.7000000476837,"domainLookupStart":351.7000000476837,"fetchStart":351.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":351.7000000476837,"responseEnd":1125.2000000476837,"responseStart":1125.2000000476837,"secureConnectionStart":351.7000000476837},{"duration":343.7999999523163,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":637.5,"connectEnd":637.5,"connectStart":637.5,"domainLookupEnd":637.5,"domainLookupStart":637.5,"fetchStart":637.5,"redirectEnd":0,"redirectStart":0,"requestStart":637.5,"responseEnd":981.2999999523163,"responseStart":981.2999999523163,"secureConnectionStart":637.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":84,"responseStart":336,"responseEnd":341,"domLoading":340,"domInteractive":1273,"domContentLoadedEventStart":1273,"domContentLoadedEventEnd":1324,"domComplete":1675,"loadEventStart":1675,"loadEventEnd":1675,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1226.7999999523163},{"name":"bigPipe.sidebar-id.end","time":1229.5},{"name":"bigPipe.activity-panel-pipe-id.start","time":1230.2999999523163},{"name":"bigPipe.activity-panel-pipe-id.end","time":1232.0999999046326},{"name":"activityTabFullyLoaded","time":1342.5}],"measures":[],"correlationId":"53585aa940a23d","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":178,"dbReadsTimeInMs":40,"dbConnsTimeInMs":61,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
To all those that are watching, a preview release is available for testing and feedback:
https://mariadb.org/10-7-preview-feature-uuid-data-type/