Remix.run Logo
▲ nextaccountic a day ago

It makes more sense to have two columns yes, one autoincrement for the primary key, and another uuidv4. Because uuids are too large and makes indexes slower

▲spixy 12 hours ago | parent [-]

So when public APIs use uuidv4 to fetch item, those uuidv4 still need to be indexed...

▲mahboi 3 hours ago | parent [-]

Right, but that's one lookup vs the many joins you're probably doing internally