I was wondering if there are any obvious pros and cons one should be aware about, while choosing to use a Binary type as a primary key, while being RANDOMIZED.
Which means, new inserts will have random 4 bytes as their PK - versus having a sequence of type Integer?
I'm using MySQL/MyISAM.
Thanks, Doori Bar
If the primary key isn't sequential then insert performance for a clustered index will not be very good. It has to rearrange the index for almost every insert.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With