3 ms·
Depends on your database. For example, Spanner it is better to use random numbers for the primary index, as monotonically increasing ints will cause hotspots on
by kyrra 9y ago
Depends on your database. For example, Spanner it is better to use random numbers for the primary index, as monotonically increasing ints will cause hotspots on the database.
https://cloud.google.com/spanner/docs/schema-design#choosing_a_primary_key https://cloud.google.com/spanner/docs/schema-design#choosing...