How would you choose between BIGINT, UUID, and ID generation strategies?
Previously, all orders were created in a single database. Now several independent services will create orders concurrently. Compare an auto-incrementing BIGINT, UUIDv4, and UUIDv7. How does each option affect ID uniqueness, index size, and insertion order? What changes when the system moves to a distributed architecture?
ExplainDDL, keys, and normalizationSeniorBackendData Engineer