QuestionQ63
VerifiedPerformance, Cost, and Resource OptimizationA table for IoT devices that measure water usage is created. The table rapidly grows to contain more than 2 billion rows.

The general query patterns for the table are:
DeviceId,IOT_timestamp, andCustomerIdare frequently used inSELECTfilter predicates.- The
CityandDeviceManufacturercolumns are often retrieved. UniqueIdis often counted.
Which field(s) should be used for the clustering key?
Community Discussion