Details

    Description

      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.

      To fix that i would propose to add a "uuid" datatype to MariaDB the same way PostgreSQL did it. http://www.postgresql.org/docs/9.2/static/datatype-uuid.html

      That would make working with uuid's a lot easier and faster.
      Thanks and greetings
      Leo

      Attachments

        Issue Links

          Activity

            danblack 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/

            danblack 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/
            alice Alice Sherepa added a comment -

            I think it could be merged into 10.7

            alice Alice Sherepa added a comment - I think it could be merged into 10.7

            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?

            eXsio 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?
            greenman Ian Gilfillan added a comment - eXsio see MDEV-26664
            bar 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 Alice Sherepa
              leo.unglaub Leo Unglaub
              Votes:
              36 Vote for this issue
              Watchers:
              37 Start 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.