Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
When designing a new transaction table in Cloud Spanner for storing product sales data, which primary key strategy would you recommend for optimal performance?
A
Generate a random universally unique identifier number (version 4 UUID) as the primary key
B
Use the current epoch time as the primary key
C
Concatenate the product name and the current epoch time as the primary key
D
Use the original order identification number from the sales system, which is a monotonically increasing integer, as the primary key