MySQL Forums
Forum List  »  Newbie

UUID as Primary Key
Posted by: Jassim Rahma
Date: December 03, 2021 03:43PM

Hi,

I have two questions please.

1. UUID as Primary key compared to the Auto Increment int, which one is better when it comes to performance and queries?

2. Is it possible to have a UUID as a default value for the field?


Thanks,
Jassim

Options: ReplyQuote


Subject
Written By
Posted
UUID as Primary Key
December 03, 2021 03:43PM
December 03, 2021 08:42PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.