4 ms·
This is what I do as well. Most schema structure is on tables that are not very large, and it's nice especially when dealing with multiple environments to preve
by fdr 5y ago
This is what I do as well. Most schema structure is on tables that are not very large, and it's nice especially when dealing with multiple environments to prevent errors, or to produce schemas with some polymorphism or joins between several tables without a chain of id-resolving joins in-between.
There are UUID variants that can work well with indices, which shrinks the case for big-integers yet further, to micro-optimizing cases that are situational.