3 ms·
That's not going to be the most efficient option, as it means all your indexes need to include both the primary key, and this secondary id. I would encourage y
by zackbloom 12y ago
That's not going to be the most efficient option, as it means all your indexes need to include both the primary key, and this secondary id. I would encourage you to think about just using the random token as the primary key.