MySQL Forums
Forum List  »  Performance

Re: mysql performance tuning
Posted by: Peter Brawley
Date: January 06, 2022 09:53AM

UUID in MySQL isn't a built-in type, it relies on a function call, so the likeliest cause of your insert performance issue is the UUID column. If it's me, I test that possibility by benchmarking against the same table with an auto_inc key.

If you really need UUIDs, see https://www.percona.com/blog/2019/11/22/uuids-are-popular-but-bad-for-performance-lets-discuss/ re dealing with UUID performance issues.

Options: ReplyQuote


Subject
Views
Written By
Posted
642
January 06, 2022 09:02AM
Re: mysql performance tuning
366
January 06, 2022 09:53AM


Sorry, you can't reply to this topic. It has been closed.

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.