32 is generated using uuid mysql

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/ethan__xu/article/details/89386442

() Function, the first three sets of numbers in the MySQL UUID generated from the time stamp, temporarily holds the fourth group of unique time stamp,
a fifth set of numbers is a punctuation IEEE 802 node values, the only secure a space. Using the UUID () function, may be generated temporally, spatially values are unique.
It is said that as long as the use UUID, can not see two duplicate UUID values.


mysql> select UUID();
+--------------------------------------+
| UUID()                               |
+--------------------------------------+
| 28743986-61cf-11e9-aad1-97f2fa0e547e |
+--------------------------------------+
1 row in set (0.00 sec)
 
mysql> select replace(UUID(),'-','');
+----------------------------------+
| replace(UUID(),'-','')           |
+----------------------------------+
| 3b0d8fd461cf11e9aad197f2fa0e547e |
+----------------------------------+
1 row in set (0.00 sec)
 
mysql> 

Guess you like

Origin blog.csdn.net/ethan__xu/article/details/89386442