Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
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
- blocks
-
CONJ-899 Support UUID Object
-
- Closed
-
-
MDEV-15854 Implement uuid_to_bin, bin_to_uuid and is_uuid functions
-
- Open
-
- causes
-
MDEV-26615 uuid() function on default column value can violate PK/Unique constrants
-
- Closed
-
-
MDEV-26616 uuid data type - convert from text with binary data based on length
-
- Closed
-
-
MDEV-26664 Store UUIDs in a more efficient manner
-
- Closed
-
-
MDEV-26732 Assertion `0' failed in Item::val_native
-
- Closed
-
-
MDEV-26742 Assertion `field->type_handler() == this' failed in FixedBinTypeBundle<NATIVE_LEN, MAX_CHAR_LEN>::Type_handler_fbt::stored_field_cmp_to_item
-
- Closed
-
-
MDEV-26785 Hyphens inside the value of uuid datatype
-
- Closed
-
-
MDEV-34981 Functions missing from INFORMATION_SCHEMA.SQL_FUNCTIONS
-
- Closed
-
- duplicates
-
MDEV-5593 Feature request native support for UUID's as a column type
-
- Closed
-
- is blocked by
-
MDEV-4912 Data type plugin API version 1
-
- Closed
-
-
MDEV-20890 Illegal mix of collations with UUID()
-
- Closed
-
- relates to
-
MDEV-27207 Assertion `!m_null_value' failed in int FixedBinTypeBundle<FbtImpl>::cmp_item_fbt::compare or in cmp_item_inet6::compare
-
- Closed
-
-
MDEV-31926 UUID v7 are compared incorrectly
-
- Closed
-
-
MDEV-33442 REPAIR TABLE corrupts UUIDs
-
- Closed
-
-
MDEV-8605 MariaDB not use DEFAULT value even when inserted NULL for NOT NULLABLE column.
-
- Closed
-
-
MDEV-11339 Support UUID v4 generation
-
- Closed
-
-
MDEV-23748 support not-MAC-address based UUID versions
-
- Closed
-
-
MDEV-27015 Assertion `!is_null()' failed in FixedBinTypeBundle<FbtImpl>::Fbt FixedBinTypeBundle<FbtImpl>::Field_fbt::to_fbt()
-
- Closed
-
-
MDEV-28491 Uuid. "UPDATE/DELETE" not working "WHERE id IN (SELECT id FROM ..)"
-
- Closed
-
-
MDEV-31137 UUID type is never used for user variables
-
- Closed
-
-
MDEV-33827 UUID() returns a NULL-able result
-
- Closed
-
-
MDEV-35427 Assertion `is_null() >= item->null_value' failed in Timestamp_or_zero_datetime_native_null::Timestamp_or_zero_datetime_native_null on EXECUTE
-
- Closed
-
- links to
Activity
Priority | Critical [ 2 ] | Minor [ 4 ] |
Issue Type | Bug [ 1 ] | Task [ 3 ] |
Fix Version/s | 10.1.0 [ 12200 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Priority | Major [ 3 ] | Minor [ 4 ] |
Workflow | defaullt [ 28711 ] | MariaDB v2 [ 44478 ] |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.1.0 [ 12200 ] |
Workflow | MariaDB v2 [ 44478 ] | MariaDB v3 [ 64355 ] |
Fix Version/s | 10.2 [ 14601 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Priority | Minor [ 4 ] | Major [ 3 ] |
Fix Version/s | 10.2 [ 14601 ] |
Link | This issue relates to MDEV-15854 [ MDEV-15854 ] |
Link | This issue relates to MDEV-15854 [ MDEV-15854 ] |
Link | This issue relates to MDEV-15854 [ MDEV-15854 ] |
Link | This issue blocks MDEV-15854 [ MDEV-15854 ] |
Link | This issue relates to MDEV-15854 [ MDEV-15854 ] |
Link |
This issue is blocked by |
Epic Link | MDEV-21086 [ 80548 ] |
Assignee | Alexander Barkov [ bar ] |
Remote Link | This issue links to "NEWSEQUENTIALID (SQL Server) (Web Link)" [ 29415 ] |
Fix Version/s | 10.6 [ 24028 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Alexander Barkov [ bar ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | N/A [ 14700 ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Due Date | 2021-09-14 |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Sergei Golubchik [ serg ] | Elena Stepanova [ elenst ] |
Link | This issue relates to TODO-3118 [ TODO-3118 ] |
Assignee | Elena Stepanova [ elenst ] | Alice Sherepa [ alice ] |
Link | This issue relates to TODO-3118 [ TODO-3118 ] |
Link | This issue relates to TODO-3118 [ TODO-3118 ] |
Due Date | 2021-09-14 |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue includes |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue includes |
Fix Version/s | 10.7.1 [ 26120 ] | |
Fix Version/s | 10.7 [ 24805 ] |
Component/s | N/A [ 14411 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 64355 ] | MariaDB v4 [ 132185 ] |
Link |
This issue relates to |
Link | This issue relates to MENT-412 [ MENT-412 ] |
Link | This issue blocks MENT-1459 [ MENT-1459 ] |
Link |
This issue relates to |
Labels | uuid | Preview_10.7 uuid |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue relates to |
A datatype will maybe less useful for current applications, because of BC schemas, but I would recommend it for new schema.
For current schemas some (robust) conversion between textual and binary representation of UUIDs would be very helpful, although this functions can be shimed on legacy systems.